{smcl}
{* 14Mar2008}
{hline}
help for {hi:pseudosurv}
{hline}

{title:The pseudo value approach for the survival function}.

{p 8 14 2}{cmd:pseudosurv}{space 2}{it:tmax} {cmd:,} {cmdab:g:enerate(}{it:varname}{cmd:)}
          {cmdab:f:ailure}   

{title:Description}

{pstd}
{cmd:pseudosurv} generate a pseudo variable to be used in a generalised linear model. 
The program presumes that the data has been declared to be survival-time data.


{title:Options}

{phang}{opt generate(varname)}
specifies a variable name. The default variable name is {it:pseudo}.

{phang}{opt failure}
specified to generate pseudo values for the cumulative incidence proportion (one minus 
the survival function).


{title:Examples}

{p 8 14 2}{cmd:. pseudosurv} {cmd:50 ,} {cmd:failure}

{title:Author}

{p 4 4 2} Erik Parner, Department of Biostatistics, University of Aarhus. {break}
Email: parner@biostat.au.dk

