Rev 2136 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: lmeControl.Rd,v 1.8 2002/03/05 14:59:39 bates Exp $\name{lmeControl}\title{Control Values for lme Fit}\usage{lmeControl(maxIter, msMaxIter, tolerance, niterEM, msTol,msScale, msVerbose, returnObject, gradHess, apVar,.relStep, minAbsParApVar, nlmStepMax, natural)}\alias{lmeControl}\arguments{\item{maxIter}{maximum number of iterations for the \code{lme}optimization algorithm. Default is 50.}\item{msMaxIter}{maximum number of iterationsfor the \code{nlm} optimization step inside the \code{lme}optimization. Default is 50.}\item{tolerance}{tolerance for the convergence criterion in the\code{lme} algorithm. Default is 1e-6.}\item{niterEM}{number of iterations for the EM algorithm used to refinethe initial estimates of the random effects variance-covariancecoefficients. Default is 25.}\item{msTol}{tolerance for the convergence criterion in \code{nlm},passed as the \code{rel.tolerance} argument to the function (seedocumentation on \code{nlm}). Default is 1e-7. }\item{msScale}{scale function passed as the \code{scale} argument tothe \code{nlm} function (see documentation on that function). Defaultis \code{lmeScale}.}\item{msVerbose}{a logical value passed as the \code{trace} argument to\code{nlm} (see documentation on that function). Default is\code{FALSE}.}\item{returnObject}{a logical value indicating whether the fittedobject should be returned when the maximum number of iterations isreached without convergence of the algorithm. Default is\code{FALSE}.}\item{gradHess}{a logical value indicating whether numerical gradientvectors and Hessian matrices of the log-likelihood function shouldbe used in the \code{nlm} optimization. This option is only availablewhen the correlation structure (\code{corStruct}) and the variancefunction structure (\code{varFunc}) have no "varying" parameters andthe \code{pdMat} classes used in the random effects structure are\code{pdSymm} (general positive-definite), \code{pdDiag} (diagonal),\code{pdIdent} (multiple of the identity), or\code{pdCompSymm} (compound symmetry). Default is \code{TRUE}.}\item{apVar}{a logical value indicating whether the approximatecovariance matrix of the variance-covariance parameters should becalculated. Default is \code{TRUE}.}\item{.relStep}{relative step for numerical derivativescalculations. Default is \code{.Machine$double.eps^(1/3)}.}\item{minAbsParApVar}{numeric value - minimum absolute parameter valuein the approximate variance calculation. The default is \code{0.05}.}\item{nlmStepMax}{stepmax value to be passed to nlm. See\code{\link{nlm}} for details. Default is 100.0}\item{natural}{a logical value indicating whether the \code{pdNatural}parametrization should be used for general positive-definite matrices(\code{pdSymm}) in \code{reStruct}, when the approximate covariancematrix of the estimators is calculated. Default is \code{TRUE}.}}\description{The values supplied in the function call replace the defaults and alist with all possible arguments is returned. The returned list isused as the \code{control} argument to the \code{lme} function.}\value{a list with components for each of the possible arguments.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{lme}}, \code{\link{nlm}}, \code{\link{optim}},\code{\link{lmeScale}}}\examples{# decrease the maximum number iterations in the ms call and# request that information on the evolution of the ms iterations be printedlmeControl(msMaxIter = 20, msVerbose = TRUE)}\keyword{models}