Does anyone know how to calculate odds ratio in its original scale from the coefficient and/or odds ratio from a logistic regression model which includes a natural log transformed independent variable? For example, logit (p/(1-p)) = b0+ b1 In (x) If b1=0.1, (b1 is the coefficient of natural log transformed independent variable) What is the OR for one unit increase in the natural log of x? What is the OR for one unit increase in original scale of X? What is the OR for 5-unit increase in natural log of x? What is the OR for 5-unit increase in X?
... View more
Hello all, I am very new to SAS. I can interpret a few things in SAS but when it comes to writing a code I am completely lost. data dormant_pca_cc; set dev.fcs_jun19_dorm_pca_cc_build; Above is my dataset info. Attached is the file containing the final variables(along with variable description) which should be considered for calculating obligator level score/ PD. The dependent variable is: FCS_bad_9m_Jun19 Can anyone help me writing a code to calculate obligator level PD in SAS? Many thanks, A
... View more
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