Hello,
I am analyzing the delay, measured by number of days, it took an entity to implement one of three policies, after they detected a problem. Therefore, in my dataset I observe entities after they have detected a problem. Many would not have implemented a policy in the time period observed. I have multiple observations per entity, one per each policy. I am wondering if I should declare my data using the ID function on stset, where I would use the company ID to distinguish between entities. I also wanted to keep the type of policy as a predictor variable, so I am wondering if this would be redundant. Also when I run model using the stcox command, should i be using the strata option, with company ID as the variable?
I am still familiarizing myself with this so any information regarding the above or any relevant information regarding model implementation would be appreciated.
Thanks!
Amit
Related Posts with Time to event (survival analysis) - setting up data
Optimal cutoff pointHello, I'm trying to figure out how to calculate a change in cut-off score for a screening test whe…
match age and genderHello, I would like to know how to match 2:1 for age and gender using same sample of individuals. I …
data management, creating new variables in one data set based on information in another data baseHello All, I hope this email finds you well! I have two databases one includes my raw data, and th…
Graph bar - Set different colors within an -over()- optionHi there, Suppose we're working with these data, Code: use http://www.stata-press.com/data/r13/g…
GLS for non-linear equationln (Pit) = a*ln(Rit + b*Vit) + uit I want to estimate a, b for wide panel data (i = 1~16, t = 2007~…
Subscribe to:
Post Comments (Atom)
0 Response to Time to event (survival analysis) - setting up data
Post a Comment