adapteg: Generated Adaptive Regression Data Set

Description Usage Format References Examples

Description

This is a generated data set which is discussed in Example 7.6.1 on page 199 of Kloke and McKean (2014). It illustrates the Hogg-type adaptive scheme for regression discussed in Section 7.6 of this book. The two predictors are generated standard normal variates while the errors are generated exponential variates. All true regression parameters were set to 0.

Usage

1
data("adapteg")

Format

Forty observations on three variables.

x1

first predictor

x2

second predictor

y

response vector

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistical methods using R, Boca Raton, FL: Chapman-Hall.

Examples

1
2
3
4
5
6
data(adapteg)
xmat <- cbind(adapteg[,1],adapteg[,2])
y<-adapteg[,3]
adapt <- adaptor(xmat,y)
summary(adapt$fitsc)
adapt$iscore

kloke/npsmReg2 documentation built on May 20, 2019, 12:34 p.m.