rs {npsm} | R Documentation |
Simulated Regression Model
Description
A simulated regression model with one response and one predictor. It is discussed in Exercise 6.5.6 of Kloke and McKean (2014)/Exercise 8.11.23 of Kloke and McKean (2024).
Usage
data(rs)
Format
Fifty observations on two variables.
y
simulated response
x
simulated 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
rfit(y ~ x,data=rs)
[Package npsm version 2.0.0 Index]