1\name{svrVar}
2\alias{svrVar}
3%- Also NEED an `\alias' for EACH other topic documented here.
4\title{Compute variance from replicates }
5\description{
6Compute an appropriately scaled empirical variance estimate from
7replicates.  The \code{mse} argument specifies whether the sums of
8squares should be centered at the point estimate (\code{mse=TRUE}) or
9the mean of the replicates. It is usually taken from the \code{mse}
10component of the design object.
11}
12\usage{
13svrVar(thetas, scale, rscales, na.action=getOption("na.action"),
14  mse=getOption("survey.replicates.mse"),coef)
15}
16%- maybe also `usage' for other objects documented here.
17\arguments{
18  \item{thetas}{matrix whose rows are replicates (or a vector of replicates)}
19  \item{scale}{Overall scaling factor}
20  \item{rscales}{Scaling factor for each squared deviation }
21  \item{na.action}{How to handle replicates where the statistic could
22    not be estimated}
23  \item{mse}{if \code{TRUE}, center at the point estimated, if
24    \code{FALSE} center at the mean of the replicates}
25  \item{coef}{The point estimate, required only if \code{mse==TRUE}}
26}
27\value{
28covariance matrix.
29}
30\seealso{\code{\link{svrepdesign}}, \code{\link{as.svrepdesign}},
31  \code{\link{brrweights}},
32  \code{\link{jk1weights}}, \code{\link{jknweights}}}
33
34\keyword{survey}% at least one, from doc/KEYWORDS
35
36