\HeaderA{survreg.old}{Old (survival4) Regression for a parametric survival model}{survreg.old}
\keyword{survival}{survreg.old}
\begin{Description}\relax
This routine is a backwards-compatible interface to the improved \LinkA{survreg}{survreg} function, which is better.
\end{Description}
\begin{Usage}
\begin{verbatim}
survreg.old(formula, data=sys.frame(sys.parent()), ..., link=c("log",
"identity"),dist=c("extreme", "logistic", "gaussian",
"exponential","rayleigh","weibull"), fixed=list())
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{formula}] a formula expression as for other regression models.
See the documentation for \code{lm} and \code{formula} for details.

\item[\code{data}] optional data frame in which to interpret the variables occuring in the
formula.

\item[\code{...}] other arguments to \code{\LinkA{survreg}{survreg}}
\item[\code{link}] transformation to be used on the y variable.

\item[\code{dist}] assumed distribution for the transformed y variable.

\item[\code{fixed}] a list of fixed parameters, most often just the scale.

\end{ldescription}
\end{Arguments}
\begin{Value}
an object of class \code{survreg} is returned, which inherits from class \code{glm}.
\end{Value}
\begin{Examples}
\begin{ExampleCode}
survreg.old(Surv(futime, fustat) ~ ecog.ps + rx, ovarian, dist='extreme',
                link='log', fixed=list(scale=1))   #Fit an exponential
\end{ExampleCode}
\end{Examples}


