last year i took STATA's introduction to survival analysis course, but they did not spend much time on putting data together for the analysis prior to setting the data. I need help with understanding when to set an observation as a failure. It is obvious that a failure occurs when a subject leaves the program (or dies), but what if they are still in the program when the program ends. When i took the course, i thought we were told that those observations should be left in (assigned a 0 for failure), then STATA would use the rest of the data to kind of project how long those ID's would have stayed in. But when looking at a colleague's SAS program, it looked like she censored this data. ie assigned a 1 to those observations so the were considered failures. Which is correct? or is the answer, it depends. ?
Related Posts with Survival Analysis
Co-occurence matrix for patent technological classessDear, I have a list of patents defined by an application id, each patent has number of technologica…
areg vs reghdfe vs xtreg with a group of controlling variables and fixed effectsHi Statalist, I want to run OLS regression on my dataset and I need advice on if I should choose ar…
Testin overdispersion in Negative BinomialHi all, is there a way to test the presence of overdispersion in a panel negative binomial model? I…
Tobit in Difference in Differencewhen i run the tobit regression tobit lexp_care year stats g_stats_yr,ll(0) margins,dydx (*)atmeans …
Converting data information into variable labelI got a spreadsheet with its first row contains the variable names and second row contains the corre…
Subscribe to:
Post Comments (Atom)
0 Response to Survival Analysis
Post a Comment