Simul.conf.plot(haerdle) | R Documentation |
plot simultaneous confidence intervals for WARPing regres sion via the golden section bootstrap
Simul.conf.plot(x, y, h, alpha=0.2, N=200)
x |
predictor |
y |
response |
h |
bandwidth |
alpha |
1 - confidence coefficient |
N |
number of bootstrap samples |
None
`Smoothing Techniques with Implementation in S', Wolfgang Haerdle, Springer, 1991
data(faithful) # Figures 7.3-7.5 Simul.conf.plot(faithful$eruptions, faithful$waiting, h=0.65) Simul.conf.plot(faithful$eruptions, faithful$waiting, h=0.4) data(dat.reg) # Figures 7.6-7.8 Simul.conf.plot(dat.reg$x, dat.reg$y, h=0.065) lines(dat.reg$x, dat.reg$m) Simul.conf.plot(dat.reg$x, dat.reg$y, h=0.0225) lines(dat.reg$x, dat.reg$m) Simul.conf.plot(dat.reg$x, dat.reg$y, h=0.1) lines(dat.reg$x, dat.reg$m)