|
Subject: | XploRe Application Guide |
See XploRe: | normal |
Quantlet: | gam01 | |
Description: | simulates data with additive structure | |
Download: | gam01.xpl |
n = 100 t = normal(n,2) ; explanatory variable f1 = - sin(2*t[,1]) ; estimated functions f2 = t[,2]^2 eps = normal(n,1) * sqrt(0.75) ; error y = f1 + f2 +eps ; response variable
Subject: | XploRe Application Guide |
See XploRe: | normal |