\HeaderA{profile-methods}{Methods for Function profile in Package `stats4'}{profile.Rdash.methods}
\aliasA{profile,ANY-method}{profile-methods}{profile,ANY.Rdash.method}
\aliasA{profile,mle-method}{profile-methods}{profile,mle.Rdash.method}
\keyword{methods}{profile-methods}
\begin{Description}\relax
Profile likelihood for \code{"mle"} objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'mle':
profile(fitted, which = 1:p, maxsteps = 100, alpha = 0.01,
        zmax = sqrt(qchisq(1 - alpha, 1L)), del = zmax/5,
        trace = FALSE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{fitted}] Object to be profiled
\item[\code{which}] Optionally select subset of parameters to profile.
\item[\code{maxsteps}] Maximum number of steps to bracket \code{zmax}.
\item[\code{alpha}] Significance level corresponding to \code{zmax}, based on
a Scheffe-style multiple testing interval.  Ignored
if \code{zmax} is specified.
\item[\code{zmax}] Cutoff for the profiled value of the signed root-likelihood.
\item[\code{del}] Initial stepsize on root-likelihood scale.
\item[\code{trace}] Logical. Print intermediate results.
\item[\code{...}] Currently unused.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The profiling algoritm tries to find an approximately evenly spaced
set of at least five parameter values (in each direction from the
optimum) to cover  
the root-likelihood function. Some care is taken to try and get sensible
results in cases of high parameter curvature. Notice that it may not
always be possible to obtain the cutoff value, since the likelihood
might level off.
\end{Details}
\begin{Value}
An object of class \code{"profile.mle"}, see  \code{"profile.mle-class"}.
\end{Value}
\begin{Section}{Methods}
\describe{
\item[fitted = "ANY"] Generic function: see \code{\LinkA{profile}{profile}}.
\item[fitted = "mle"] Profile the likelihood in the vicinity of the
optimum of an \code{"mle"} object.
}
\end{Section}

