Rev 15465 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: profile.nls.Rd,v 1.5 2001/08/13 21:41:48 ripley Exp $\name{profile.nls}\alias{profile.nls}\title{ Method for Profiling nls Objects}\usage{\method{profile}{nls}(fitted, which, maxpts=100, alphamax=0.01, delta.t=cutoff/5, ...)}\arguments{\item{fitted}{ the original fitted model object.}\item{which}{ the original model parameters which should beprofiled. By default, all parameters are profiled.}\item{maxpts}{ maximum number of points to be used for profiling eachparameter.}\item{alphamax}{ maximum significance level allowed for the profilet-statistics.}\item{delta.t}{ suggested change on the scale of the profilet-statistics. Default value chosen to allow profiling at about10 parameter values.}\item{\dots}{further arguments passed to or from other methods.}}\description{Investigates behavior of the log-likelihood function near the solutionrepresented by \code{fitted}.}\value{A list with an element for each parameter being profiled. The elementsare data-frames with two variables\item{par.vals}{ a matrix of parameter values for each fitted model.}\item{tau}{ The profile t-statistics.}}\details{The profile t-statistics is defined as the square root of change insum-of-squares divided by residual standard error with anappropriate sign.}\references{Bates, D.M. and Watts, D.G. (1988), \emph{Nonlinear Regression Analysisand Its Applications}, Wiley (chapter 6)}\author{Douglas M. Bates and Saikat DebRoy}\seealso{\code{\link{nls}}, \code{\link{profile}},\code{\link{profiler.nls}}, \code{\link{plot.profile.nls}}}\examples{data( BOD )# obtain the fitted objectfm1 <- nls(demand ~ SSasympOrig( Time, A, lrc ), data = BOD)# get the profile for the fitted modelpr1 <- profile( fm1 )# profiled values for the two parameterspr1$Apr1$lrc}\keyword{nonlinear}\keyword{regression}\keyword{models}