Dear STATA team,
I hope all is well.
I was trying to do lasso inference for survival ,model.
The variables of interest are : AMIS, BMIS DRMIS
All of them are categorical variables
I want to assess the relationship between survival and AMIS with having BMIS and DRMIS in the model in all cases
Also , to assess the relationship between survival and BMIS with having DRMIS and AMIS in the model in all cases
Also , I want to assess the relationship between survival and DRMIS with having BMIS and AMIS in the model in all cases
So I did the following:
stset GTIME_KI, failure(GSTATUS_DTHCNS_KI)
stpsurv, at(10)
dsregress pseudo i.AMIS i.BMIS i.DRMIS, controls( i.sex BMI_TCR COLD_ISCH_KI SERUM_CREAT END_CPRA AGE i.STEROIDS_MAINT i.induction AGE_DON i.DIAB i.dgf timeondialysis )
I wonder if the syntax above is correct and would answer my question?
Is it right to use the stpsurv for doing survival model using lasso inference?
Is the syntax for the lasso inference is correct?
or should I do the syntax for each variable of interest separately?
So I do :
dsregress pseudo i.AMIS, controls((i.BMIS i.DRMIS) i.sex BMI_TCR COLD_ISCH_KI SERUM_CREAT END_CPRA AGE i.STEROIDS_MAINT i.induction AGE_DON i.DIAB i.dgf timeondialysis )
then: dsregress pseudo i.BMIS, controls((i.AMIS i.DRMIS) i.sex BMI_TCR COLD_ISCH_KI SERUM_CREAT END_CPRA AGE i.STEROIDS_MAINT i.induction AGE_DON i.DIAB i.dgf timeondialysis )
then:
dsregress pseudo i.DRMIS, controls((i.BMIS i.AMIS) i.sex BMI_TCR COLD_ISCH_KI SERUM_CREAT END_CPRA AGE i.STEROIDS_MAINT i.induction AGE_DON i.DIAB i.dgf timeondialysis )
Final question:
What are the post-estimation tests I can do for this models?
Thank you very much
Looking forward to hearing back from you
Kind regards
Related Posts with Lasso inference for cox regression
Standard error of the residuals with vce(robust)Hi All, I am interested in getting the standard error of the residuals after using regress with vce…
Tabulating the number of observations of differences between level of education within couplesHi Statalist. I want to obtain the number of observations for a couple where the level of education…
Question about xtitle of graphDear all,@Nick Cox I want to move the xtitle to the right and the above of the xaxis.This is my data…
Missing Values GeneratedHello, I have panel data for 820 companies for 19 years i.e. 15580 observations (820*). I ran the fo…
Testing for strong factoral invariance in longitudinal confirmatory factor analysisI have built a panel dataset out of a yearly government survey that measures the quality of an insti…
Subscribe to:
Post Comments (Atom)
0 Response to Lasso inference for cox regression
Post a Comment