Dear stata users,
I am conduction research after risk factors for mortality in thoracic trauma. I am using logistical regression with a backward stepwise method. I have a final model with 469 observations and stata automatically deletes some observations because of estimability and missing data. I now want to label the observations that are included in the model that I am interested in order to be able to investigate the characteristics of the observations that are excluded from my model. Is there a way to generate a new variable that will label the observations that are included in the model that I am interested in?
the current code I am using for my logistical regression is
* model 29
xi : stepwise, pr(.157) : logistic died (i.gender) triss_09 (i.cci)(i.cps)
estat gof, group(10)
with variables
died(whether the patient died or not)
gender 0 1
triss_09 -> value that predicts survival risk depending on the severity of the injury and physiological parameters.
CCI: comprehensive complication index: a weighted value for the total of complications that occured.
CPS: comorbidity polypharmacy score: the total number of medications and comorbidities a patient has.
Best regards,
Anne Fokkema, the Netherlands.
Related Posts with Labelling automatically deleted observations in logistical regression with backward stepwise method.
Insufficient observations when running panel dataHello all, I have a question I am trying to run a linear probability model with the following comman…
lassologit: Stata package for logistic lasso regressionFollowing up on lassopack, Chris Hansen, Mark Schaffer and myself have developed a package for logis…
Reminder: 25th UK Stata Conference (London, 5-6 September 2019): Submissions before 31 May 2019 pleaseDates: Thursday 5 September and Friday 6 September 2019 Venue: Cass Business School Executive Educat…
do-file does not even runRecently I am working on the paper of Ehrmann et al. (2011). For replication I need to run their do-…
No observations - Portfolio SortsHello everyone, I have double-sorted my data and dropped observations to include only one observati…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling automatically deleted observations in logistical regression with backward stepwise method.
Post a Comment