spsurvey (version 4.1.4)

localmean.cov: Internal Function: Variance-Covariance Matrix Based on Local Mean Estimator

Description

This function calculates the variance-covariance matrix using the local mean estimator.

Usage

localmean.cov(zmat, weight.lst)

Arguments

zmat

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

weight.lst

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.

Value

The local mean estimator of the variance-covariance matrix.