Hello, dear users of the Stata program. Now I'm conducting a reserach on duration of unemployment. I want to use Cox regression to determine the probability of exiting unemployment.
I prepared the file with unemployment spells in accordance with Stata journal article https://www.stata-journal.com/sjpdf....iclenum=dm0029.
I obtained 180 spells the defined the beginning and ending months for them, duration and censoring flag.
Do I need to reduce observations within 1 spell just to get number of observations as number of spells?
Because now I have data for each observation from each spell and I can't merge other data set with individual characteristics (gender, age, etc). I think this would be sensible.
if yes, how should I do this? I could not find such instructions and I can't continue the work.
Related Posts with Spell-type data for Cox regression
Marginal structural models and Multivariate regressionIf we get similar estimates of multivariate regression compared with marginal structural models (MSM…
Number of ticks and format of labels on bar chartI am making a bar chart and am using the "over" option so that I can plot multiple bars for a series…
Checking cointegration among all possible pairs in a datasetDear All., I have the following dataset referring to daily observations for a bunch of US stocks: …
r(mean) , panel subgroupDear Statalisters, I saw this old forum discussion , my question is about understanding the code : …
Create a variable that has only one value per categoryI have data on automobile collisions in a particular region and, among other things, have data on th…
Subscribe to:
Post Comments (Atom)
0 Response to Spell-type data for Cox regression
Post a Comment