Learn R Programming

spsurvey (version 5.5.1)

localmean_var: Internal Function: Local Mean Variance Estimator

Description

This function calculates the local mean variance estimator.

Usage

localmean_var(z, weight_1st)

Value

The local mean estimator of the variance.

Arguments

z

Vector of weighted response values or weighted residual values for the sample points.

weight_1st

List from the local mean weight function containing two elements: a matrix named ij composed of the index values of neighboring points and a vector named gwt composed of weights.

Author

Tom Kincaid Kincaid.Tom@epa.gov