Learn R Programming

nlr (version 0.1-3)

nonrepl: Sample variance of response.

Description

Compute the sample standard deviation of response data$y at repeated predictor data$x.

Usage

nonrepl(data)

Arguments

data

list of response data$y and predictor data$x.

Value

list of result include standard deviations and information about repeated data as:

x

ordered data predictor.

y

ordered data response by predictor.

xk

nonrepeated data of x's.

ni

number of repeated of each xk's.

xm

position of each xk's in ordered x.

k

length of non repeated data, xk.

xo

yq

ys

Details

If predictor \(x(i)\) repeated \(n_i\) times, the sample variance of response is compute for \(y(i,j), j=1,...,n_i\).

References

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

See Also

zvalues, rzvalues

Examples

Run this code
# NOT RUN {
## The function is currently defined as
"nonrepl"
# }

Run the code above in your browser using DataLab