Learn R Programming

MonoPoly (version 0.2-8)

w0: Simulated w0 data used in Murray et al. (2013)

Description

This data set gives simulated data from the function $$y = 0.1x^3 + e$$ for $e \sim N(0,0.01^2)$ and $x$ evenly spaced between -1 and 1.

Arguments

source

Murray, K., Mueller, S. and Turlach, B.A. (2013). Revisiting fitting monotone polynomials to data, Computational Statistics 28(5): 1989--2005. Doi:10.1007/s00180-012-0390-5.

Examples

Run this code
str(w0)
plot(y~x, w0)
monpol(y~x, w0)

Run the code above in your browser using DataLab