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.
variable labels sex age response freq 0 0 0 26 0 0 1 12 0 0 2 7 0 1 0 9 0 1 1 21 0 1 2 15…
Predict using multilevel versus logitHello! I'd like to know why when I use multilevel models the estimates in of sample are differents …
teffects and covariates for matching.Hi. I am trying to use the teffects to implement matching using Nearest Neighbor Matching. The stata…
Multiple Response and Chi-SquaresHello, I am following up on my previous post on multiple response variables (available here: ) with…
sum of dummy coefficients?Dear All, Suppose that I run the regression Code: webuse grunfeld, clear reg invest mvalue kstock …
Subscribe to:
Post Comments (Atom)
0 Response to Labelling automatically deleted observations in logistical regression with backward stepwise method.
Post a Comment