Subject: | XploRe: Learning Guide |
See XploRe: |
Quantlet: | glm03 | |
Description: | Non-interactive GLM estimation (logit model). | |
Download: | glm03.xpl |
library("glm") ; x = read("lizard") x = paf(x,(x[,6]!=0)) y = x[,5] m = x[,6] x = matrix(rows(x))~x[,1:3]~(x[,4]==1)~(x[,4]==2) ; opt=glmopt("wx",m) g=glmest("bilo",x,y,opt) ; glmout("bilo",x,y,g.b,g.bv,g.stat,opt)
Subject: | XploRe: Learning Guide |
See XploRe: |