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
Generate difference variable between 2 digits sectors and relevant 3 digits sub-sectors of NACE Rev.2Dear all, I have a data set consisting of Inflation rates relating to 2-,and 3- digit sectors of Na…
Screeplot of eigenvalues from the reduced correlation matrixI assume that STATA's screeplot command prints the eigenvalues from the sample correlation matrix. H…
counting days between date and another dateDear all, I have 5 subjects who had 5 visits at different dates, I want to create a new variable tha…
Create a Variable in stata that is a value minus it's last month valueHi all, I put some data below, but I have a question about making a varialbe that is it's value min…
Response surface analysis (RSA)Hi! Does STATA support RSA analysis and the surface plotting? …
Subscribe to:
Post Comments (Atom)
0 Response to Spell-type data for Cox regression
Post a Comment