Hello,
I am new to survival analysis using Stata and I am trying to save the estimates from the simple stcox regression with dummies (var* in the simple code below), but for some reason it won't save it properly.
forvalues group=1/5{
...
stset time_d, failure(fail) enter(time date0)
stcox var*, nohr
}
I am not sure how to append the results for all groups saving the estimated coefficients for all dummies - I would very appreciate if someone could help me with this.
Related Posts with Stcox question
Creating a variable containing number of decimal points of another variable's valuesHi, I have a variable measuring speed. The values are double and vary in the number of decimal point…
Dropping individuals when missing observations and change in variableHi, I am running panel data analysis in Stata and work with Survey data from Germany. The period co…
Instrumental Variable HelpHi, I'm having trouble with a new instrumental variable. So I'm trying to find some causality, betw…
Code that picks up sudden spikes in prices Code: * Example generated by -dataex-. To install: ssc install dataex clear input double op …
Multiple Regression analysis: Explanatory Variable as percentageIn STATA when I do a regression analysis and the y variable is expressed in a percentage, I normally…
Subscribe to:
Post Comments (Atom)
0 Response to Stcox question
Post a Comment