Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Survival/Duration


From   "Fatma El-Hamidi" <fatma@pitt.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Survival/Duration
Date   Wed, 17 Aug 2005 17:32:51 -0400

Hello,

 

I'm trying to run a competing risk, proportional hazard methodology to
estimate the hazard function and the effects of the covariates on outflow
from unemployment to public sector employment, private formal sector,
private informal sector, and out of the labor force.

 

I have a continuous "time of unemployment variable" which I recoded it into
intervals. I have also created a status variable that runs from 0-4 =
(0=3Dunem; 1=3Dpub; 2=3Dprv; 3=3Dinf; 4=3Dolf)

 

my question is how do I st the data. I know I should expand the data as in:
"expand 4", but don't know exactly how I should "st" the failure variable.

 

any suggestion is highly appreciated.

 

thank you

 

 

 

 

 

Fatma

 

Fatma El-Hamidi

 <mailto:fatma@pitt.edu> fatma@pitt.edu

  _____  

From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Roys, Nicolas A.
Sent: Wednesday, August 17, 2005 5:25 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: bootstrap with stata (once again)

 

Hi everybody,

 

I want to bootstrap the variance of the standard deviation of "ice", and the
standard deviation of "ich"

so I think the stata command is simply :bs "summarize ice, detail" "r(sd)",
rep(1000)

 

<<attachment: winmail.dat>>




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index