The R Project SVN R-packages

Rev

Rev 1165 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

% $Id: pooledSD.Rd,v 1.2 2003/11/01 04:13:19 deepayan Exp $
\name{pooledSD}
\title{Extract pooled standard deviation}
\usage{
pooledSD(object)
}
\alias{pooledSD}
\arguments{
 \item{object}{an object inheriting from class \code{lmList}.}
}
\description{
  The pooled estimated standard deviation is obtained by adding together
  the residual sum of squares for each non-null element of
  \code{object}, dividing by the sum of the corresponding residual
  degrees-of-freedom, and taking the square-root.
}
\value{
  the pooled standard deviation for the non-null elements of
  \code{object}, with an attribute \code{df} with the number of
  degrees-of-freedom used in the estimation.
}
\seealso{\code{\link{lmList}}, \code{\link{lm}}}
\examples{
pooledSD(lmList(weight ~ Time | Chick, do.call("data.frame", ChickWeight)))
}
\keyword{models}