Subject: XploRe: Learning Guide
See XploRe:

Quantlet: glm01
Description: Interactive GLM estimation (linear regression).
Download: glm01.xpl

Code:
  library("glm")
;
  randomize(0)
  n=100
  b=1|2
  p=rows(b)
  x=2.*uniform(n,p)
  y=x*b+normal(n)./2
;
  doglm(x,y)

Subject: XploRe: Learning Guide
See XploRe:

© MD*Tech - Method and Data Technologies, generated on 6.6.2000 .