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
Wrong observation number and cluster numberHi, I am currently puzzled by having a different observation and cluster count in the regression mo…
Significant interaction term but no increase in r2Hey everyone, I was just wondering how to interpret my interaction terms in my regression analysis. …
syndicated loan proxyHello everyone, I am trying to create a proxy that captures whether a loan is considered syndicated…
I am trying to make something like -levelsof- saving the levels of a variable, but not in a local, rather in a another variable.Good morning, I often use -levelsof- to loop through the levels of an unequally spaced variable. It…
Matching to a control group based on multiple characteristicsI am looking for some help on my matching procedure. I am writing a paper in which I compare sustain…
Subscribe to:
Post Comments (Atom)
0 Response to Spell-type data for Cox regression
Post a Comment