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
Stata Graph for Panel Data in quartersGreetings to the forum! I have a panel dataset with 5 retailing companies for 15 years in quarters:…
Panel Var + IVHi, Im totally new to Stata. Please help me. I would like to find the impact of government spending…
Adding confidence intervalls with 'estimates table' or 'putdocx' commandI would like to have a table of different OLS (LPM) regression models that shows confidence interval…
Diferenc in differenceDear all, how can I check my data sets fulfill assumptions of DID on stat? …
Reset variables to missing after last non zero variable in a rowHi I'm working on a input dataset from a questionnaire. Some variables in the questionnaire is req…
Subscribe to:
Post Comments (Atom)
0 Response to Survival Analysis
Post a Comment