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.
-tabout- -show(all)- and -mi- not workingHello all, First and foremost, thank you in advance to anybody that is able to help out. I tried se…
Renaming graphsHi, I would like to plot a graph titled "Crude Oil Production". As I type in the code, Code: two…
Creating a Regression Table from 2SLS RegressionsHi everyone! I would like to create two regression tables from nine 2SLS regressions. I have run m…
Embedded quotes questionHello, I'm trying to auto-generate do-files by copy/pasting from datasets created by the do-file th…
Why has Stata dropped observations from my fixed effects model?Hi, I have a dataset of 318 local authorities and am running a fixed effects regression. However wh…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling automatically deleted observations in logistical regression with backward stepwise method.
Post a Comment