Vol J. Weed Sci. Tech. 275 R : * :,,,, Keywords : generalized linear model, proportion data, binomial distribution, analysis of dev

Similar documents
k3 ( :07 ) 2 (A) k = 1 (B) k = 7 y x x 1 (k2)?? x y (A) GLM (k

講義のーと : データ解析のための統計モデリング. 第5回

,, Poisson 3 3. t t y,, y n Nµ, σ 2 y i µ + ɛ i ɛ i N0, σ 2 E[y i ] µ * i y i x i y i α + βx i + ɛ i ɛ i N0, σ 2, α, β *3 y i E[y i ] α + βx i

一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM

kubostat2015e p.2 how to specify Poisson regression model, a GLM GLM how to specify model, a GLM GLM logistic probability distribution Poisson distrib

講義のーと : データ解析のための統計モデリング. 第3回

(2/24) : 1. R R R

kubostat2017e p.1 I 2017 (e) GLM logistic regression : : :02 1 N y count data or

kubostat2017c p (c) Poisson regression, a generalized linear model (GLM) : :

1 15 R Part : website:

kubostat7f p GLM! logistic regression as usual? N? GLM GLM doesn t work! GLM!! probabilit distribution binomial distribution : : β + β x i link functi

kubostat2017b p.1 agenda I 2017 (b) probability distribution and maximum likelihood estimation :

12/1 ( ) GLM, R MCMC, WinBUGS 12/2 ( ) WinBUGS WinBUGS 12/2 ( ) : 12/3 ( ) :? ( :51 ) 2/ 71

Power Transformation and Its Modifications Toshimitsu HAMASAKI, Tatsuya ISOMURA, Megu OHTAKI and Masashi GOTO Key words : identity transformation, pow

1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3.

「産業上利用することができる発明」の審査の運用指針(案)

k2 ( :35 ) ( k2) (GLM) web web 1 :

kubostat2018d p.2 :? bod size x and fertilization f change seed number? : a statistical model for this example? i response variable seed number : { i

Microsoft Word - News 18 本文.doc

1 環境統計学ぷらす 第 5 回 一般 ( 化 ) 線形混合モデル 高木俊 2013/11/21

provider_020524_2.PDF

dvi

1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press.

I II III 28 29

生活設計レジメ

44 4 I (1) ( ) (10 15 ) ( 17 ) ( 3 1 ) (2)


p.1/22

Microsoft Word - 1.抗がん剤治療を受けられるかたへ(最新版).doc

わが国企業による資金調達方法の選択問題

H22 BioS (i) I treat1 II treat2 data d1; input group patno treat1 treat2; cards; ; run; I

* n x 11,, x 1n N(µ 1, σ 2 ) x 21,, x 2n N(µ 2, σ 2 ) H 0 µ 1 = µ 2 (= µ ) H 1 µ 1 µ 2 H 0, H 1 *2 σ 2 σ 2 0, σ 2 1 *1 *2 H 0 H

untitled

Mantel-Haenszelの方法

Use R

untitled

kubostat2018a p.1 統計モデリング入門 2018 (a) The main language of this class is 生物多様性学特論 Japanese Sorry An overview: Statistical Modeling 観測されたパターンを説明する統計モデル

統計モデリング入門 2018 (a) 生物多様性学特論 An overview: Statistical Modeling 観測されたパターンを説明する統計モデル 久保拓弥 (北海道大 環境科学) 統計モデリング入門 2018a 1

H22 BioS t (i) treat1 treat2 data d1; input patno treat1 treat2; cards; ; run; 1 (i) treat = 1 treat =

ECCS. ECCS,. ( 2. Mac Do-file Editor. Mac Do-file Editor Windows Do-file Editor Top Do-file e

こんにちは由美子です

こんにちは由美子です

fiš„v8.dvi

カテゴリ変数と独立性の検定

2 (1) (2) SCI 2 SCI

最小2乗法

SAS Enterprise Guideによるデータ解析入門

NewsLetter-No2

日歯雑誌(H22・7月号)HP用/p06‐16 クリニカル① 田崎

i


Wide Scanner TWAIN Source ユーザーズガイド


y i OLS [0, 1] OLS x i = (1, x 1,i,, x k,i ) β = (β 0, β 1,, β k ) G ( x i β) 1 G i 1 π i π i P {y i = 1 x i } = G (

AP_12_15_yonezawa.indd

X X X Y R Y R Y R MCAR MAR MNAR Figure 1: MCAR, MAR, MNAR Y R X 1.2 Missing At Random (MAR) MAR MCAR MCAR Y X X Y MCAR 2 1 R X Y Table 1 3 IQ MCAR Y I

第1部 一般的コメント

R Commanderを用いたデータ解析

目次

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R

t χ 2 F Q t χ 2 F 1 2 µ, σ 2 N(µ, σ 2 ) f(x µ, σ 2 ) = 1 ( exp (x ) µ)2 2πσ 2 2σ 2 0, N(0, 1) (100 α) z(α) t χ 2 *1 2.1 t (i)x N(µ, σ 2 ) x µ σ N(0, 1

第1章 国民年金における無年金

I II III IV V

1 (1) (2)

- 2 -


PR映画-1

II III I ~ 2 ~

中堅中小企業向け秘密保持マニュアル



医系の統計入門第 2 版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 第 2 版 1 刷発行時のものです.

4.9 Hausman Test Time Fixed Effects Model vs Time Random Effects Model Two-way Fixed Effects Model

橡ミュラー列伝Ⅰ.PDF

o 2o 3o 3 1. I o 3. 1o 2o 31. I 3o PDF Adobe Reader 4o 2 1o I 2o 3o 4o 5o 6o 7o 2197/ o 1o 1 1o

10:30 12:00 P.G. vs vs vs 2

2 3

ARDJ-at-NLP24-slides.key

/ 60 : 1. GLM? 2. A: (pwer functin) x y?

untitled

表1票4.qx4

福祉行財政と福祉計画[第3版]

60 (W30)? 1. ( ) 2. ( ) web site URL ( :41 ) 1/ 77

Evaluation of a SATOYAMA Forest Using a Voluntary Labor Supply Curve Version: c 2003 Taku Terawaki, Akio Muranaka URL: http

i Armitage Q. Bonferroni 1 SAS ver9.1.3 version up 2 *1 *2 FWE *3 2.1 vs vs vs 2.2 5µg 10µg 20µg 5µg 10µg 20µg vs 5µg vs 10µg vs 20µg *1 *2 *3 FWE 1


2

Ishi


Presentation Title Goes Here

x T = (x 1,, x M ) x T x M K C 1,, C K 22 x w y 1: 2 2

Gravothermal Catastrophe & Quasi-equilibrium Structure in N-body Systems

Isogai, T., Building a dynamic correlation network for fat-tailed financial asset returns, Applied Network Science (7):-24, 206,

SAS Enterprise Guideによるデータ解析入門

seminar0220a.dvi

SFN

α β *2 α α β β α = α 1 β = 1 β 2.2 α 0 β *3 2.3 * *2 *3 *4 (µ A ) (µ P ) (µ A > µ P ) 10 (µ A = µ P + 10) 15 (µ A = µ P +

Studies of Foot Form for Footwear Design (Part 9) : Characteristics of the Foot Form of Young and Elder Women Based on their Sizes of Ball Joint Girth

.p.t.....id

03.Œk’ì

Transcription:

Vol. 55 4 275 286 2010 J. Weed Sci. Tech. 275 R : * :,,,, Keywords : generalized linear model, proportion data, binomial distribution, analysis of deviance, likelifood ratio test,,,,,,, 2,, 0 1 0 1,,, Generalized Linear Model, GLM,,GLM RR Development Core Team 2009,,, * 305 8666 3 1 1 toima@affrc.go.jp Toshiyuki Imaizumi : An introductory guide to statistical analysis generalized linear models for proportion data using R. 2010 10 19,,,,, 2010 GLM,,,,, A,GLM, A 1 A,,,, A R, 1, natsua.txt,r R a< read.delim natsua.txt read. delim,

276 Vol. 55 2010 A treatment condition germinated not rate control light 6 19 24.0 control light 9 16 36.0 control light 7 18 28.0 control light 14 9 60.9 control light 7 17 29.2 control light 18 7 72.0 stratification light 17 7 70.8 stratification light 18 6 75.0 stratification light 16 9 64.0 stratification light 18 7 72.0 stratification light 21 6 77.8 stratification light 20 5 80.0 control dark 2 23 8.0 control dark 1 23 4.2 control dark 5 20 20.0 control dark 0 24 0.0 control dark 3 22 12.0 control dark 2 23 8.0 stratification dark 12 12 50.0 stratification dark 15 10 60.0 stratification dark 10 16 38.5 stratification dark 8 16 33.3 stratification dark 6 19 24.0 stratification dark 6 20 23.1 treatment control,stratification, condition light,dark, germinated,not,rate % <,, natsua.txt a a, R,, 1, stratification,light,,glm ControlStratification, light dark 2, 3, 1,, GLM GLM,, GLM,GLM 2010,,,,,,GLM, p x,

: GLM 277, x, p, p 0 1 a+bx p=0,a+bx p=1 /, 1 p,,, p p ln p/ 1 p GLM,,, GLM, R GLM,glm result< glm(cbind(germinated, not)~treatment+ condition+treatment:condition, data=a, family=binomial(link= logit )), GLM, GLM result cbind germinated, not ~treatment+condition+treat ment : condition, germinated not,treat treat mentcondition, treatment : condition cbind germinated, not,,, data=a,, a germinated not treatment condition family=binomial link= logit, binomial link= logit GLM, complementary log log R,link= probit cloglog, complementary log log, 3 Collett 2002, Faraway 2006,,Collett 2002 Dobson 2008 GLM,,,, Snedecor and Cochran 1972,,, GLM,, 0 1,,,, GLM, deviance analysis of deviance

278 Vol. 55 2010,,,,, 2,χ 2 5%,2 2,,, χ 2, χ 2,,F F R, GLM result anova 2 anova(result, test= Chisq ) test= Chisq,χ 2, P > Chi,treatment condition p<0.05, p=0.2299 2 Resid. Dev Residual Deviance,, treatment : condition, 42.253, tretment condition condition, 43.694,condition treatment treatment, 125.837, NULL, 184.738 2, Deviance R, Resid. Dev, Deviance treatment : condition p=0.2299, 1.441 42.253 43.694 χ 2,condition 82.143,treatment 58.901,, 2 Deviance, Type I,Type II,Type III, Type IV 4,1989 anova Type I Type I Type I,,, 2 R,, 2

: GLM 279 = + 2 Type I result< glm cbind germinated, not ~treatment +condition+treatment:condition, data=a, family=binomial link= logit = + 2 Type I result< glm cbind germinated, not ~condition +treatment+treatment:condition, data=a, family=binomial link= logit,,,,, Type II 1989Type II,, 2 R Type II,car, R Anova, 3 library car Anova result, test= LR, type= 2 library car,car Type I Type II Type I = + treatment tre 1 tre 2 58.901 condition con tre tre+con 3 82.143 tre con tre+con tre+con+tre con 4 1.441 = + condition con con 5 73.472 treatment tre con tre+con 67.572 tre con tre+con tre+con+tre con 1.441 Type II = + treatment tre con tre+con 67.572 condition con tre tre+con 82.143 tre con tre+con tre+con+tre con 1.441 = + condition con tre tre+con 82.143 treatment tre con tre+con 67.572 tre con tre+con tre+con+tre con 1.441 1, 2 3 4,, 5

280 Vol. 55 2010 Type II Anova, anova, Anova, test= LR likefood ratio test,anova χ 2 test= Chisq,,χ 2,,,,,,, N y, p 10 2,, p 0.5 0.044,p 0.2 0.302 0<p<1, p p=0.2 4 p 10 N=10 2 6 2, 6,, McCullagh and Nelder 1989, 3 3,,,,McCullagh and Nelder 1989 Dobson 2008 saturated model,, 1, 1 25 6,2 25 9,3 25 7,,24,

: GLM 281,, Σ ij y ij μ i 2,,, maximal model full model,, dispertion parameter, dispertion parameter, dispertion parameter, Everitt and Hothorn 2010,,, =, =1, =1, = 1, =1, =, GLM 2Σ ij y ij log y ij /μ i + m y ij logm y ij / m i 2Σ ij y ij log y ij /μ i y i i μi i,yij i j m, μi μi=m, χ 2,, scaled deviance χ 2 GLM 1,, 3,χ 2, GLM,,,,F Faraway 2006, F, 2, F,test= Chisq test= LR test= F GLM,F, GLM,overdispersion,,,, 5 10, 3.98 7.25 0.398 0.725 2,, 4 7,2 5,2,

282 Vol. 55 2010 10, 3.98 7.25 3.98, 7.25,,summary GLM 6 summary result,glm dispersion parameter, 1 2010 dispersion parameter,, 6 Residual deviance, 42.253, 20, 42.253/20 2.1,,, X 2 X 2,R X 2 sum residuals result, type= pearson ^2 residuals result, type= pearson,result GLM, ^2 2, GLM sum, sum residuals result, type= pearson ^2 X 2 40.668,dispersion parameter X 2 / 40.668/20 2.0dispersion parameter, dispersion parameter

: GLM 283 McCullagh and Nelder 1989Crawley 2008, GLM,dispersion parameter 1.96, 1, 1.96, 0.96,dispersion parameter 1.96 1.96, GLM, GLM dispersion parameter Collett 2002, Faraway 2006 GLM,aod betabin,, McCullagh and Nelder 1989,Collett 2002,dispersion parameter quasi binomial GLM,R GLM,, result2< glm cbind germinated, not ~treatment +condition+treatment:condition, data=a, family=quasibinomial link= logit Anova result2, test= F, type= 2 GLM, family=quasibinomial,f,, quasi poisson GLM GLM, Wiliams 1982,dispmod glm.binomial.disp,,collett 2002 Collett 2002,,,,,, 2, 3,,,complementary log log,,,,,, 2,,,,,,GLM,,,

284 Vol. 55 2010,,,, Rinella and James 2010 GLM, 2010, vs 2,,,, Johnson and Omland 2004, Jasieniuk et al. 2008, 2004,,GLM, GLM,,GLM,,, 49,,,,,, Collett, D. 2002. Modelling Binary Data 2nd Edition. Chapman & Hall/CRC, Boca Raton, pp. 45 101, pp. 195 213. Crawley, M.J. 2008 : R,,,pp. 269 286. Dobson, A.J. 2008 2,,,pp. 81 101. Everitt, B.S. and Hothorn, T. 2010. R 2,,,pp. 123 145. Faraway, J.J. 2006. Extending the Linear Model with R : Generalized Linear, Mixed Effects and Nonparametric Regression Models. Chapman & Hall/CRC, Boca Raton, pp. 25 54, pp. 115 133. Jasieniuk, M., Taper, M.L., Wanger, N.C. Stougaard, R.N. Brelsford, M. and Maxwell, B.D. 2008. Selection of a barley yield model using information theoretic criteria. Weed Sci., 56, 628 636. Johnson and Omland 2004. Model selection in ecology and evolution. Trends Ecol. Evol., 19, 101 108. McCullagh, P., J.A. Nelder 1989. Generalized Linear Models, 2nd Edition. Chapman & Hall, London, pp. 21 47. 2010 GLM 55, 268 274. R Development Core Team 2009. R : A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3 900051 07 0, URL http://www.r project.org. Rinella, M.J. and James, J.J. 2010. Invasive plant researchers should calculate effect sizes, not P values. Invas. Plant Sci. and Manag. 3, 106 112. Snedecor, G.W. and Cochran, W.G. 1972.,,, pp.309 314 2010 R : 55, 287 294. 2004 3,,pp. 1 74. 1989 SAS,,pp. 289 305. Williams, D.A. 1982. Extra binomial variation in logistic linear models. Appl. Statist. 31, 144 148. R,, R,R,R,, R R, 1

: GLM 285,, 1 1, treatment control, condition light, 6, 19, 24% 1,,,, R, NA,,,Type II R,,,R &, read.delim,, read.delim clipboard clipboard " Windows, Mac, read.delim pipe pbpaste txt, xls,, R,,R, R,,, getwd C : /Users/ima/Document,,,,R Console, Mac,, R natsua.txt read.delim natsua. txt,,csv, read.csv natsua.csv R,, R,,,,, R,,,,, R Console,,R Mac,, R,

286 Vol. 55 2010,,,.RData,,R,,,,