\HeaderA{var.linear}{Linear Variance Estimate}{var.linear}
\keyword{nonparametric}{var.linear}
\begin{Description}\relax
Estimates the variance of a statistic from its empirical influence values.
\end{Description}
\begin{Usage}
\begin{verbatim}
var.linear(L, strata=NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{L}] Vector of the empirical influence values of a statistic.  These will usually
be calculated by a call to \code{empinf}.

\item[\code{strata}] A numeric vector or factor specifying which  observations (and hence empirical
influence values) come from which strata.

\end{ldescription}
\end{Arguments}
\begin{Value}
The variance estimate calculated from \code{L}.
\end{Value}
\begin{References}\relax
Davison, A. C. and Hinkley, D. V. (1997) \emph{Bootstrap Methods and Their Application}. Cambridge University Press.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{empinf}{empinf}}, \code{\LinkA{linear.approx}{linear.approx}}, \code{\LinkA{k3.linear}{k3.linear}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
#  To estimate the variance of the ratio of means for the city data.
ratio <- function(d,w)
     sum(d$x * w)/sum(d$u * w)
var.linear(empinf(data=city,statistic=ratio))
\end{ExampleCode}
\end{Examples}

