zvalues: Sample Variance

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

View source: R/zvalues.R View source: R/rzvalues.R

Description

Compute Sample variance for dependent variable. For repeated response the sample variance of predictor compute over a cross section of predictor, for non repeated data sample variance of response computed by difference of residuals of consequetive values.

Usage

1
zvalues(res, ni, xo)

Arguments

res

The data to compute variance for. In most of application it is residuals of fitt.

ni

vector of bumber of repeated data. It can be output from nonrepl function.

xo

Position of the repeated data in original vector.

Details

Typically it is used to compute the variance of residuals output from nonrepl function.

Value

vector of classic variance.

Note

The robustified form of this function is rzvalues. This function call by nlr, it might not be called directly by user.

Author(s)

Bunke, O., Droge, B., Polzehl.

References

Bunke, O., Droge, B., Polzehl, J. Splus tools for model selection in nonlinear regression (1998) Computational Statistics, 13 (2), pp. 257-281.

See Also

rzvalues

Examples

1
2
## The function is currently defined as
"zvalues"

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to zvalues in nlr...