LinearizationVar: Calculate linearization variance of trend for the PWIGLS...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Calculate the linearization variance of the trend coefficient with a Taylor series approximation. This is an internal function called from PWIGLS_ALL.

Usage

1
LinearizationVar(Site, wij, xij, eij, varYij)

Arguments

Site

vector of Site names.

wij

vector of inclusion weights = Site-level design weight * Year-level panel weight.

xij

vector of shifted year variables (WYear) for trend estimation.

eij

vector of residuals from PWIGLS trend model.

varYij

vector of total variance estimates for yij, estimated from PWIGLS variance components estimates.

Details

The linearization variance is based on a Taylor series approximation. See Skinner (1989, p. 82-83) for more information.

Value

Scalar variance estimate of the trend regression coefficient.

Author(s)

Leigh Ann Starcevich of Western EcoSystems Technology, Inc.

References

Skinner, C. J., D. Holt, and T. M. F. Smith. 1989. Analysis of Complex Surveys. New York: Wiley.

See Also

TrendNPS_Cont, LinearizationVar_StRS

Examples

1
2
3
4
5
## Not run: 
#  ---- Read example data set.
TrendVar = LinearizationVar(Site,wij,xij,eij,varYij)

## End(Not run)

LAStarcevich/TrendNPS documentation built on May 21, 2019, 9:19 a.m.