poly {npsm} | R Documentation |
A Simulated Polynomial Data Set.
Description
A simulated polynomial (3rd degree) model discussed in Section 4.7.1 of Kloke and McKean (2014)/4.6.1 of Kloke and McKean (2024).
Usage
data(poly)
Format
One-hundred observations on two variables.
y
response variable
x
predictor
References
Kloke, J. and McKean, J.W. (2014), Nonparametric statistical methods using R, Boca Raton, FL: Chapman-Hall. Kloke, J. and McKean, J.W. (2024), Nonparametric statistical methods using R, Second Edition, Boca Raton, FL: Chapman-Hall.
Examples
plot(y ~ x,data=poly)
[Package npsm version 2.0.0 Index]