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
Converting long to wide, values go missingHi all, I am experiencing trouble converting my data from long to wide. Specifically, some distance…
CollinearityHi, Please see the attached. Stata has omitted two of my variables because of "collinearity". What …
Taking table out of stataHi, Rather than copy or copy table or copy as a picture, is there a better way to take a table out …
Coefficient for gender - male or femaleHi all, I want to run a regression with gender. For e.g. reg depvar indepvar gender Once I get t…
Intention to treat? HelpHi all, I have 10 years of data. In five out of ten years, the variable I need is missing. I have …
Subscribe to:
Post Comments (Atom)
0 Response to Lasso inference for cox regression
Post a Comment