Rev 8047 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/glsObject.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{glsObject}\title{Fitted gls Object}\alias{glsObject}\description{An object returned by the \code{\link{gls}} function, inheriting from class\code{"gls"} and representing a generalized least squares fitted linearmodel. Objects of this class have methods for the generic functions\code{anova}, \code{coef}, \code{fitted}, \code{formula},\code{getGroups}, \code{getResponse}, \code{intervals}, \code{logLik},\code{plot}, \code{predict}, \code{print}, \code{residuals},\code{summary}, and \code{update}.}\value{The following components must be included in a legitimate \code{"gls"}object.\item{apVar}{an approximate covariance matrix for thevariance-covariance coefficients. If \code{apVar = FALSE} in the listof control values used in the call to \code{gls}, thiscomponent is equal to \code{NULL}.}\item{call}{a list containing an image of the \code{gls} call thatproduced the object.}\item{coefficients}{a vector with the estimated linear modelcoefficients.}\item{contrasts}{a list of the contrast matrices used to represent factorsin the model formula. This information is important for makingpredictions from a new data frame in which not all levels of theoriginal factors are observed. If no factors are used in the model,this component will be an empty list.}\item{dims}{a list with basic dimensions used in the model fit,including the components \code{N} - the number of observations inthe data and \code{p} - the number of coefficients in the linearmodel.}\item{fitted}{a vector with the fitted values.}\item{modelStruct}{an object inheriting from class \code{glsStruct},representing a list of linear model components, such as\code{corStruct} and \code{varFunc} objects.}\item{groups}{the correlation structure grouping factor,if any is present.}\item{logLik}{the log-likelihood at convergence.}\item{method}{the estimation method: either \code{"ML"} for maximumlikelihood, or \code{"REML"} for restricted maximum likelihood.}\item{numIter}{the number of iterations used in the iterativealgorithm.}\item{residuals}{a vector with the residuals.}\item{sigma}{the estimated residual standard error.}\item{varBeta}{an approximate covariance matrix of thecoefficients estimates.}}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{gls}}, \code{\link{glsStruct}}}\keyword{models}