Thoughts of a Crime Show Junkie: Inadmissible Evidence
Recent Library Articles
Recently in the SAS Community Library: SAS' @RhondaWilliams reveals how SAS Law Enforcement Intelligence helps law enforcement agencies expedite detailed data entry using the Evidence Creation feature.
Hi all,
I'm new in conducting LASSO selection. After reading through several online resources, I used PROC HPGENSELECT with selection method=LASSO to select covariates. But it somehow generated two sets of output. I fed in 188 covariates. The first set of output kept 155 covariates, while the second set of output that was generated at the end kept only 5 covariates. The first output has lower AIC/BIC. I wondered why the second output was generated and how I should use the two sets of output to interpret the selection results.
The code looks like below:
PROC HPGENSELECT DATA= analytic_file;
class Female(ref='0') var3(ref='0') ... var188(ref='0') ;
model success(event='1') =age Female var3 ... var188/dist=binary;
selection method=LASSO (choose=SBC stop=none) details=all;
run;
Thank you!
... View more
I am unable to register the model as the register model tab is greyed out as shown. Would be great if I can get some help on this. I am currently using SAS Viya for Learners and am using the COMMSDATA dataset.
... View more
Hi, How can I obtain the p-value of the ADF test, which uses AIC or BIC to determine the lag for residuals, in order to test the stationarity of the residuals of a linear regression model? The input data and model that I have: data df;
input dep ind1 ind2 ind3;
cards;
-4.66344 0.5337595 1.533904 -0.1824561
-4.27203 0.5371667 1.638746 -0.2840759
-4.31303 0.5187737 1.708084 -0.208212
-3.46126 0.501581 1.773411 0.7434088
-3.10906 0.5024615 -0.7010086 0.4447428
-2.83321 0.50575 0.7289928 0.2619768
-2.74544 0.4943883 0.7419567 0.7679318
-3.30505 0.4825768 0.7544792 0.273685
-3.28185 0.468799 0.9924411 -0.1544852
-3.54578 0.4705212 1.133435 0.6179188
;
run;
proc reg
data=df;
model dep = ind1 ind2 ind3 ;
run; Thank you!
... View more
How to create a tabulated report based on data:
Column CATEGORY in H means a horizontal report. TITLE_LEVELS indicate how many levels of title there are. TITLE_LEVEL1 is the main header, TITLE_LEVEL2 is the sub-header of TITLE_LEVEL1, and TITLE_LEVEL3 is the sub-header of TITLE_LEVEL2.
All columns are Character data type
proc tabulate data=datset;
class TITLE_LEVEL1 TITLE_LEVEL2 TITLE_LEVEL3 Column1 ;
table TITLE_LEVEL1*
TITLE_LEVEL2*TITLE_LEVEL3;
run;
i have data
i want
PFA
... View more