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.
Help with using expand>2 while replacing values in duplicates generatedHi, I am trying to use the expand command to create duplicates and replacing one of the variables i…
A question on macro expression.If we want to write i = i + 1, we could use ++i. I wonder if there is also a short expression for i…
Individual Caliper for Variables Nearest-Neighbour Matching (psmatch2)Dear Community, I aim to apply nearest neighbour matching using the mahalanobis option in the the p…
Problems when running optimal k-means cluster solution programDear Team, After reading the excellent "Stata tip 110: How to get the optimal k-means cluster solut…
Panel data - dropping cross section based on missing valuesIn a panel dataset, there are companies with revenues for multiple years. I would like to drop all …
Subscribe to:
Post Comments (Atom)
0 Response to Labelling automatically deleted observations in logistical regression with backward stepwise method.
Post a Comment