一般化線形モデル eneralized inear odels.pptVIP

  • 5
  • 0
  • 约6.14千字
  • 约 12页
  • 2016-11-22 发布于天津
  • 举报
一般化線形モデル eneralized inear odels

一般化線形モデル(GLM) generalized linear Models データ解析のための統計モデリング入門 久保拓也(2012) 岩波書店 Generalized Linear Models Linear Model    response variable ~ intercept + slope * explanatory variable  lm(y~ x + f ???),lm(y~x + f -1) (no intercept) require(graphics) ## Annette Dobson (1990) An Introduction to Generalized Linear Models. ## Page 9: Plant Weight Data. ctl - c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt - c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69) group - gl(2,10,20, labels=c(Ctl,Trt)) weight - c(ctl, trt) lm.D9 - lm(weight ~ group) lm.D90 - lm(weight ~ group - 1)  # omittin

文档评论(0)

1亿VIP精品文档

相关文档