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
Question on How to Write Add in Conditions for a RegressionHello, I need to run some regressions in Stata with a few conditions. I am examining data on incenti…
Wildcard with exceptionI have a variable location, which I am splitting, e.g. Code: split location, p(", ") This generates…
How can I calculate the average value of the 5 largest daily returns in the past 1 month? I can use "rangestat(mean) daily_ret, interval(yearmonth -1 0) by(stock_code)" to calculate the ave…
4 Treatments, 3 Visits. Comparing change across visits between treatmentsGood Morning I was hoping that you would be able to offer some advice and guidance for a problem I…
Graph with two concentration indices using CONINDEXHi Everyone, I am trying to create a graph with two concentration indices using the CONINDEX comman…
Subscribe to:
Post Comments (Atom)
0 Response to Spell-type data for Cox regression
Post a Comment