01.05.2013 Views

Introduction to Stata 8

Introduction to Stata 8

Introduction to Stata 8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DGE +(r.i.a1 ana18e 'ata e 'ata in memor8 <strong>to</strong> ?e e timeUo5UeQit .aria?1eW<br />

. // c:\dokumenter\proj1\gen.st.cancer1.do<br />

. use c:\dokumenter\proj1\cancer1.dta , clear<br />

.<br />

stset risktime , failure(died==1) id(lbnr)<br />

id: lbnr<br />

failure event: died == 1<br />

obs. time interval: (risktime[_n-1], risktime]<br />

exit on or before: failure<br />

-------------------------------------------------------------------------<br />

48 <strong>to</strong>tal obs.<br />

0 exclusions<br />

-------------------------------------------------------------------------<br />

48 obs. remaining, representing<br />

48 subjects<br />

31 failures in single failure-per-subject data<br />

62 <strong>to</strong>tal analysis time at risk, at risk from t = 0<br />

earliest observed entry t = 0<br />

last observed exit t = 3.25<br />

GB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!