|
|
| Subject: | XploRe Application Guide |
| See XploRe: | gamfit |
| Quantlet: | gam10 | |
| Description: | calls the interactive quantlet gamfit for simulated data | |
| Download: | gam10.xpl |
library("gam")
randomize(1234)
t = uniform(50,2)*2-1
g1 = 2*t[,1]
g2 = t[,2]^2
g2 = g2 - mean(g2)
y = g1 + g2 + normal(50,1) * sqrt(0.25)
gamfit(t,y)
| Subject: | XploRe Application Guide |
| See XploRe: | gamfit |