LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 22 Jun 2007 19:50:26 -0000
Reply-To:   tanwan <tanwanzang@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   tanwan <tanwanzang@YAHOO.COM>
Organization:   http://groups.google.com
Subject:   Re: PROC LIFETEST
Comments:   To: sas-l@uga.edu
In-Reply-To:   <506350.78291.qm@web54205.mail.re2.yahoo.com>
Content-Type:   text/plain; charset="us-ascii"

Dear Monal,

without your code in sight, and without other contextual information, we can not tell what is going on. The following code, based on contrived data, is for "proof of concept" i.e. you can get the [ODS OUTPUT LogUniChisq] to output a dataset. You will decide if this is the output you want.

data life (keep = stratum censored timesurvived age); set sashelp.class (keep = age height weight sex); rename height = timesurvived; censored =(sex = 'F'); stratum = mod(int(weight), 2); run;

ods output LogUniChisq = LG; proc lifetest outtest=Test data = life; time timesurvived*censored(1); strata stratum; test Age ; run;

proc print data= LG; run;


Back to: Top of message | Previous page | Main SAS-L page