| Subject: | XploRe: Learning Guide |
| See XploRe: |
| Quantlet: | smoo08 | |
| Description: | Kernel regression estimation (by WARPing). | |
| Download: | smoo08.xpl |
library("smoother")
library("plot")
setsize(640,480)
;
nicfoo=read("nicfoo")
h=0.2*(max(nicfoo[,1])-min(nicfoo[,1]))
mh=regest(nicfoo,h)
mh=setmask(mh,"line","blue")
xy=setmask(nicfoo,"cross","small")
plot(xy,mh)
setgopt(plotdisplay,1,1,"title","Regression Estimate")
| Subject: | XploRe: Learning Guide |
| See XploRe: |