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
Coefplot how to change bar colors?My question is how can I change the bar colors when using HTML Code: coefplot I tried this: HTML …
Creating a sum variable of the prior 12 monthsDear Users, For a current project I need to create a new variable (call it X), which exist of the su…
Mediation Analysis in Difference-in-Differences (DiD)Hello, I am trying to test mediation using difference-in-differences. My outcome variable is compan…
Create beeswarm and beanplotHi all, I would like to create a beeswarm plot and a beanplot. My dataset contains a numeric variab…
Mata implementation of a fast (k) nearest neighbours lookup algorithmHello everyone I have implemented a kd-tree search algorithm in Mata, that can find the k nearest n…
Subscribe to:
Post Comments (Atom)
0 Response to Stcox question
Post a Comment