DAA12

Size: px
Start display at page:

Download "DAA12"

Transcription

1

2 Observed Data (Total variance) Predicted Data (prediction variance) Errors in Prediction (error variance) Shoesize male female male mean female mean overall mean Shoesize predicted male predicted female male mean female mean overall mean = + female male Shoesize female male predicted male predicted female male mean female mean overall mean male Gender Gender Gender Observed Data (Total variance) Predicted Data (prediction variance) Errors in Prediction (error variance) Shoesize male female male mean female mean overall mean female male Gender Shoesize predicted male predicted female male mean female mean overall mean female male Gender Shoesize predicted male predicted female male mean female mean overall mean female male Gender

3 ! " : $ % = $ ' ; *,,! - : $ % $ ' ; *, $ % $ ' ; *,!01 = 2 3,4, : ;< + 1 : ;> 2 a: m: df: Error MSE

4 TukeyHSD(dat.aov) Tukey multiple comparisons of means 95% family-wise confidence level Fit: aov(formula = shoesize ~ club, data = dat3) karate tennis tetsudo $club diff lwr upr p adj tennis-karate tetsudo-karate tetsudo-tennis

5 !"# = 1 1 # '

6

7 !"# = 1 1 # ' # = 1 1 # * +!"#, = 1 1 #, ' = # * ' + = 1 1 ' 1 # + + = 1 1 # = #

8 ! " : ( %&' ) % *+ % = 0!. : ( %&' ) % *+ % 0 0 = %&' ( ) % *+ % 123 % ( ) % 4 5 %

9 source(" adj.alpha(#_contarst, alpha) > adj.alpha(5,0.05) [1]

10 dat<-read.csv(" dat$method=factor(dat$method, levels(dat$method)[c(1,3,4,2)]) dat.aov<-aov(result~method, data=dat) summary(dat.aov) Factor

11 dat.means<-tapply(dat$result,dat$method,mean) new.alpha = 1-(1-0.05)^(1/5) cont=c(-3,1,1,1) bunshi=sum(cont*dat.means) bunbo=sqrt(5.29*(sum((cont^2)/8))) t.value=bunshi/bunbo 2*(1-pt(t.value,28)) [1] > 2*(1-pt(t.value,28)) > new.alpha [1] TRUE! = $%& ' ( $ )* $ +,- $ ' ( $. / $ = 3 )* )* )* 849:. + )* <'=> = = 1.243

12 cu.bonf1f(anova_object, data, contrast, new.alpha) > new.alpha<-adj.alpha(5,0.05) > cu.bonf1f(dat.aov,dat,c(-3,1,1,1),new.alpha) multiple t-test w/ bon ferroni t-value p-value adj. alpha [1,] fail to reject (i.e accept) Null Hypo.! = $%& ' ( $ )* $ +,- $ ' ( $. / $ = 3 )* )* )* 849:. + )* <'=> = = 1.243

13 ! = $%& ' ( $ )* $ +,- $ ' ( $. / $ > cu.bonf1f(dat.aov,dat,c(-1,1,0,0),new.alpha) multiple t-test w/ bon ferroni t-value p-value adj. alpha [1,] fail to reject (i.e accept) Null Hypo. = 1 )* )* )* 849:. + 0 )* <'=> = = 2.61

14 ! = $%& ' ( $ )* $ +,- $ ' ( $. / $ > cu.bonf1f(dat.aov,dat,c(-1,0,1,0),new.alpha) multiple t-test w/ bon ferroni t-value p-value adj. alpha [1,] fail to reject (i.e accept) Null Hypo. = 1 )* )* )* 849:. + 0 )* <'=> = = 2.61

15 ! = $%& ' ( $ )* $ +,- $ ' ( $. / $ > cu.bonf1f(dat.aov,dat,c(-1,0,0,1),new.alpha) multiple t-test w/ bon ferroni t-value p-value adj. alpha [1,] reject Null Hypo. = 1 )* )* )* 849:. + 1 )* <'=> = = 3.045

16 ! = $%& ' ( $ )* $ +,- $ ' ( $. / $ = 0 )* )* )* 93:;. + 1 )* ='>? = = > cu.bonf1f(dat.aov,dat,c(0,-2,1,1),new.alpha) multiple t-test w/ bon ferroni t-value p-value adj. alpha [1,] e reject Null Hypo.

17 ! = # $ = ) &'( * & +, & -./ & ) * & $ 0 & $ = &'( ) $ * & +, & -./ ) * & $ & 0 &! 1234 = 5 1! 8,):(,;<=

18 adj.f(m, m-1, dfe, alpha) > new.f<-adj.f(4,3,28,0.05) > new.f [1]

19 cu.scheffe1f(anova_object, data, contrast) > cu.scheffe1f(dat.aov,dat,c(-3,1,1,1)) multiple t-test w/ Scheffe f-value p-value critical F [1,] fail to reject (i.e accept) Null Hypo.

20 > cu.scheffe1f(dat.aov,dat,c(-1,0,1,0)) multiple t-test w/ Scheffe f-value p-value critical F [1,] fail to reject (i.e accept) Null Hypo. > cu.scheffe1f(dat.aov,dat,c(-1,0,0,1)) multiple t-test w/ Scheffe f-value p-value critical F [1,] reject Null Hypo.

21

22 !"#$% = '$()*+%() + -(".#$ + %$$#$ / 01 = !!56% = '$()*+%() + 7%)*%$ + %$$#$!! 0,9:;<:= = :;<:= + 4 0,9:;<:=!"#$% = '$()*+%() + -(".#$> + -(".#$? + %$$#$ / 01D = E D + 3 E 1D D!!56% = '$()*+%() + 7%)*%$ + (FF5G5(.5)# + %$$#$!! 0,9:;<:= = :;<:= + E HII0J + 3 E 9:;<:=,HII0J + 4 0,9:;<:=,HII0J

23 ! "#$ = & + ( # + ) $ + ( ) #$ + + "#$! "#$ =,-.. + /-.#. / /-..$ / /-.#$ /-.#. /-..$ + /-... +! "#$ /-.#$ " # "! "#$,-.. 5 = 1 " # " " # " /-.#. / " /-..$ / # " /-.#$ /-.#. /-..$ + / " 5 1 1! "#$ /-.#$ # "

24 ! " : $ %. = $ %(. *, * (!, : $ %. $ %(. *! " : $./ = $./( 0, 0 (!, : $./ $./( 0! " : $ %/ $ % 2 / $ %/ 2 + $ % 2 / 2 = 0 *, *(, 0, 0 (!, : $ %/ $ % 2 / $ %/ 2 + $ % 2 / 2 0 *, 0

25 ! " : $ %&'()&. = $ '()&.!, : $ %&'()&. $ '()&.! " : $../ = $.0/1!, : $../ $.0/1! " : $ %&'()&,./ $ '()&,./ $ %&'()&,0/1 + $ '()&,0/1 = 0!, : $ %&'()&,./ $ '()&,./ $ %&'()&,0/1 + $ '()&,0/1 0

26 ! " : $ %&'()&,+, $ '()&,+, $ %&'()&,.,/ + $ '()&,.,/ = 0! 3 : $ %&'()&,+, $ '()&,+, $ %&'()&,.,/ + $ '()&,.,/ 0 DV score CS Male Psy Male PSY CS CS Female Psy Female DV score CS Male Psy Male PSY CS CS Female Psy Female male female male female Gender Gender

27 ! " : $ %&'()&,+, $ '()&,+, $ %&'()&,.,/ + $ '()&,.,/ = 0! 3 : $ %&'()&,+, $ '()&,+, $ %&'()&,.,/ + $ '()&,.,/ 0 DV score CS Male Psy Male PSY CS Psy Female CS Female DV score CS Male Psy Male PSY CS CS Female Psy Female male female male female Gender Gender

28 interaction.plot(dat$gender, dat$affil, dat$shoesize, Y pch=c(20,20), col=c("skyblue","orange"), xlab="gender", ylab="shoesize", lwd=3,type='b',cex=2, trace.label="affiliation") Legend X shoesize Affiliation psy cs F M

29 dat.aov=aov(shoesize~gender*affil, data=dat) dat.aov.sum=summary(dat.aov)

30

31 shoesize CogSci PsySci

32 shoesize CogSci PsySci gender

33 !! " $ = & ) - ( * ( +, 0 ) ) - ( * ( +, - -!! = & 89:; <= +?;89:;<= 0 - ) 89:; <= +?;89:; <=!! = ) !! F7 = )

34 means<-tapply(dat$shoesize, list(dat$gender,dat$affil), mean) SS_gen_CS<- 5*(means[2,1]^2 + means[1,1]^2-0.5*sum(means[,1])^2) # SS_gender CS SS_gen_PS<- 5*(means[2,2]^2 + means[1,2]^2-0.5*sum(means[,2])^2) # SS_gender PS dat.aov.sum=summary(dat.aov) # ANOVA table MSe=dat.aov.sum[[1]][4,3] # MSE from ANOVA table or MSe=0.62 dfe=dat.aov.sum[[1]][4,1] # DF for error or dfe=16 dfg=1 # DF for gender F_gen_CS=(SS_gen_CS/dfG)/MSe # F-value for gender effect given CS F_gen_PS=(SS_gen_PS/dfG)/MSe # F-value for gender effect given PS P_gen_CS=1-pf(F_gen_CS,1,dfE) # p-value for gender effect given CS P_gen_PS=1-pf(F_gen_PS,1,dfE) # p-value for gender effect given PS

35 !"# = % -". &,(,)*+, /

36 !! " $ = & ) - ( * +, ( 0 ) ) - ( * +, ( - -!! = & 7! 5 + 9!5 0 - ) 7! 5 + 9! 5!! = ) !! = )

37 SS_affil_F<- 5*(means[1,1]^2+means[1,2]^2-0.5*sum(means[1,])^2) #SS_affil F SS_affil_M<- 5*(means[2,1]^2+means[2,2]^2-0.5*sum(means[2,])^2) #SS_affil M dfa=1 # DF for affil F_affil_F=SS_affil_F/dfA/MSe # F-value for affiliation effect F F_affil_M=SS_affil_M/dfA/MSe # F-value for affiliation effect M P_affil_F=1-pf(F_affil_F,1,dfE) # p-value for affiliation effect F P_affil_M=1-pf(F_affil_M,1,dfE) # p-value for affiliation effect M

38

39 CRF.tsme(anova_object, data) > tsme = CRF.tsme(dat.aov, dat) simple main effect test for BETWEEEN subject factor1 ss df ms f p cs e-03 psy e-06 residual Tukey HSD test - between subject affil = cs F M F FALSE TRUE M TRUE FALSE Tukey HSD test - between subject affil = psy F M F FALSE TRUE M TRUE FALSE

40 CRF.tsme(dat.aov, dat) > tsme = CRF.tsme(dat.aov, dat) simple main effect test for BETWEEN subject factor2 ss df ms f p F M residual

41

42 interaction.plot(dat$duration,dat$method,dat$result, pch=c(20,20), col=c("skyblue","orange"), ylab="score", xlab="duration",lwd=3,type='b',cex=2,trace.label="method") score Method method.x method.y 1hour 2hours 3hours 4hours

43 mod1=aov(result~method+duration,data=dat) mod1.sum=print(summary(mod1)) score Method method.x method.y 1hour 2hours 3hours 4hours Duration

44 mod2=aov(result~method*duration,data=dat) mod2.sum=print(summary(mod2)) score Method method.x method.y 1hour 2hours 3hours 4hours Duration

45 !! " $ = & ) - ( * ( +, 0 ) ) - ( * ( +, - -!! = & :7 0 - ) : 7!! ; 0< = = 2.5!! ; -< = = 0.4!! ; D< = = 12.10!! ; G< = = 32.4

46 score Method method.x method.y 1hour 2hours 3hours 4hours Duration

47 !! " $ = & ) - ( * ( +, 0 ) ) - ( * ( +, !! = & 1; 9 + 2;9 + 3;9 + 4;9 0 - ) 1; 9 + 2; 9 + 3; 9 + 4; A = = G = = 1

48 score Method method.x method.y 1hour 2hours 3hours 4hours Duration

49 !"# = % -". &,(,)*+, /

50 !"# = % -". &,(,)*+, / = % ,3,45, 5 = 2.65 qv=qtukey(0.95,dfd+1,dfe) hsd=qv*(sqrt(mse/5)) hsd [1]

51 > CRF.tsme(mod2, dat) simple main effect test for BETWEEEN subject factor1 ss df ms f p 1hour hours hours hours residual Tukey HSD test - between subject duration = 3hours method.x method.y method.x FALSE TRUE method.y TRUE FALSE Tukey HSD test - between subject duration = 4hours method.x method.y method.x FALSE TRUE method.y TRUE FALSE

52 simple main effect test for BETWEEN subject factor2 ss df ms f p method.x method.y residual Tukey HSD test - within subject method = method.x 1hour 2hours 3hours 4hours 1hour FALSE FALSE TRUE TRUE 2hours FALSE FALSE FALSE FALSE 3hours TRUE FALSE FALSE FALSE 4hours TRUE FALSE FALSE FALSE

53 dat<-read.table(" means<-tapply(dat$shoesize,list(dat$gender, dat$affil),mean) Ns<-tapply(dat$shoesize,list(dat$gender, dat$affil),length) sds<-tapply(dat$shoesize,list(dat$gender, dat$affil),sd) sems<-sds/sqrt(ns) plot(c(0,1),means[,1],type='o',col='skyblue', xlim=c(-0.1,1.1), lwd=2, cex=2, pch=20, ylim=c(min(means)*0.975, max(means)*1.025), xlab="gender", ylab="shoesize", xaxt="n") axis(1,c(0,1),c("female","male")) lines(c(0,1),means[,2],type='o',col='orange',lwd=2,cex=2,pch=20) lines(c(0,0),c(means[1,1]-sems[1,1],means[1,1]+sems[1,1]),col="skyblue",lwd=2) lines(c(0,0),c(means[1,2]-sems[1,2],means[1,2]+sems[1,2]),col="orange",lwd=2) lines(c(1,1),c(means[2,1]-sems[2,1],means[2,1]+sems[2,1]),col="skyblue",lwd=2) lines(c(1,1),c(means[2,2]-sems[2,2],means[2,2]+sems[2,2]),col="orange",lwd=2) legend("topleft",c("cogsci","psysci"),col=c("skyblue","orange"),lwd=2)

DAA04

DAA04 # plot(x,y, ) plot(dat$shoesize, dat$h, main="relationship b/w shoesize and height, xlab = 'shoesize, ylab='height, pch=19, col='red ) Relationship b/w shoesize and height height 150 160 170 180 21 22

More information

DAA03

DAA03 par(mfrow=c(1,2)) # figure Dist. of Height for Female Participants Dist. of Height for Male Participants Density 0.00 0.02 0.04 0.06 0.08 Density 0.00 0.02 0.04 0.06 0.08 140 150 160 170 180 190 Height

More information

R分散分析06.indd

R分散分析06.indd http://cse.niaes.affrc.go.jp/minaka/r/r-top.html > mm mm TRT DATA 1 DM1 2537 2 DM1 2069 3 DM1 2104 4 DM1 1797 5 DM2 3366 6 DM2 2591 7 DM2 2211 8 DM2

More information

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

k3 ( :07 ) 2 (A) k = 1 (B) k = 7 y x x 1 (k2)?? x y (A) GLM (k 2012 11 01 k3 (2012-10-24 14:07 ) 1 6 3 (2012 11 01 k3) kubo@ees.hokudai.ac.jp web http://goo.gl/wijx2 web http://goo.gl/ufq2 1 3 2 : 4 3 AIC 6 4 7 5 8 6 : 9 7 11 8 12 8.1 (1)........ 13 8.2 (2) χ 2....................

More information

こんにちは由美子です

こんにちは由美子です Analysis of Variance 2 two sample t test analysis of variance (ANOVA) CO 3 3 1 EFV1 µ 1 µ 2 µ 3 H 0 H 0 : µ 1 = µ 2 = µ 3 H A : Group 1 Group 2.. Group k population mean µ 1 µ µ κ SD σ 1 σ σ κ sample mean

More information

DAA02

DAA02 c(var1,var2,...,varn) > x x [1] 1 2 3 4 > x2 x2 [1] 1 2 3 4 5 6 7 8 c(var1,var2,...,varn) > y=c('a0','a1','b0','b1') > y [1] "a0" "a1" "b0" "b1 > z=c(x,y) > z [1] "1" "2"

More information

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

k2 ( :35 ) ( k2) (GLM) web   web   1 : 2012 11 01 k2 (2012-10-26 16:35 ) 1 6 2 (2012 11 01 k2) (GLM) kubo@ees.hokudai.ac.jp web http://goo.gl/wijx2 web http://goo.gl/ufq2 1 : 2 2 4 3 7 4 9 5 : 11 5.1................... 13 6 14 6.1......................

More information

3 M=8.4 M=3 M=.8 M=4.7 M=5.6 M=3 M=5. M=4.6 M=7 M=3 M= (interaction) 4 - A - B (main effect) - A B (interaction)

3 M=8.4 M=3 M=.8 M=4.7 M=5.6 M=3 M=5. M=4.6 M=7 M=3 M= (interaction) 4 - A - B (main effect) - A B (interaction) 1 (two-way ANOVA) - - A B 1 3 M=8.4 M=3 M=.8 M=4.7 M=5.6 M=3 M=5. M=4.6 M=7 M=3 M=4 - - 1 (interaction) 4 - A - B (main effect) - A B (interaction) two-way ANOVA 5 1 A - H0: µ A 0 = µ A 1 = = µ A n - H1:

More information

卒業論文

卒業論文 Y = ax 1 b1 X 2 b2...x k bk e u InY = Ina + b 1 InX 1 + b 2 InX 2 +...+ b k InX k + u X 1 Y b = ab 1 X 1 1 b 1 X 2 2...X bk k e u = b 1 (ax b1 1 X b2 2...X bk k e u ) / X 1 = b 1 Y / X 1 X 1 X 1 q YX1

More information

80 X 1, X 2,, X n ( λ ) λ P(X = x) = f (x; λ) = λx e λ, x = 0, 1, 2, x! l(λ) = n f (x i ; λ) = i=1 i=1 n λ x i e λ i=1 x i! = λ n i=1 x i e nλ n i=1 x

80 X 1, X 2,, X n ( λ ) λ P(X = x) = f (x; λ) = λx e λ, x = 0, 1, 2, x! l(λ) = n f (x i ; λ) = i=1 i=1 n λ x i e λ i=1 x i! = λ n i=1 x i e nλ n i=1 x 80 X 1, X 2,, X n ( λ ) λ P(X = x) = f (x; λ) = λx e λ, x = 0, 1, 2, x! l(λ) = n f (x i ; λ) = n λ x i e λ x i! = λ n x i e nλ n x i! n n log l(λ) = log(λ) x i nλ log( x i!) log l(λ) λ = 1 λ n x i n =

More information

AR(1) y t = φy t 1 + ɛ t, ɛ t N(0, σ 2 ) 1. Mean of y t given y t 1, y t 2, E(y t y t 1, y t 2, ) = φy t 1 2. Variance of y t given y t 1, y t

AR(1) y t = φy t 1 + ɛ t, ɛ t N(0, σ 2 ) 1. Mean of y t given y t 1, y t 2, E(y t y t 1, y t 2, ) = φy t 1 2. Variance of y t given y t 1, y t 87 6.1 AR(1) y t = φy t 1 + ɛ t, ɛ t N(0, σ 2 ) 1. Mean of y t given y t 1, y t 2, E(y t y t 1, y t 2, ) = φy t 1 2. Variance of y t given y t 1, y t 2, V(y t y t 1, y t 2, ) = σ 2 3. Thus, y t y t 1,

More information

Stata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 s

Stata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 s BR003 Stata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 sampsi 47 mwp-044 sdtest 54 mwp-043 signrank/signtest

More information

A B C A B C X Y Z

A B C A B C X Y Z Argonauta 8: 27-37 (2003) 1 ANOVA, analysis of variance t 1980 90 ANOVA ANOVA Underwood, 1997 ANOVA ANOVA ANOVA 1975 Sokal & Rohlf 1981 1990 Underwood 1997 1997 Zar 1999 1-way ANOVA 2-way, 3-way, ANOVA,

More information

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

kubostat2017c p (c) Poisson regression, a generalized linear model (GLM) : : kubostat2017c p.1 2017 (c), a generalized linear model (GLM) : kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2017 11 14 : 2017 11 07 15:43 kubostat2017c (http://goo.gl/76c4i) 2017 (c) 2017 11 14 1 / 47 agenda

More information

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

1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press. 1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, 2013. Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press. 2 3 2 Conservative Depress. 3.1 2. SEM. 1. x SEM. Depress.

More information

Stata11 whitepapers mwp-037 regress - regress regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F(

Stata11 whitepapers mwp-037 regress - regress regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F( mwp-037 regress - regress 1. 1.1 1.2 1.3 2. 3. 4. 5. 1. regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F( 2, 71) = 69.75 Model 1619.2877 2 809.643849 Prob > F = 0.0000 Residual

More information

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

講義のーと :  データ解析のための統計モデリング. 第3回 Title 講義のーと : データ解析のための統計モデリング Author(s) 久保, 拓弥 Issue Date 2008 Doc URL http://hdl.handle.net/2115/49477 Type learningobject Note この講義資料は, 著者のホームページ http://hosho.ees.hokudai.ac.jp/~kub ードできます Note(URL)http://hosho.ees.hokudai.ac.jp/~kubo/ce/EesLecture20

More information

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

1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3. 1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, 2013. Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3. 2 4, 2. 1 2 2 Depress Conservative. 3., 3,. SES66 Alien67 Alien71,

More information

DAA09

DAA09 > summary(dat.lm1) Call: lm(formula = sales ~ price, data = dat) Residuals: Min 1Q Median 3Q Max -55.719-19.270 4.212 16.143 73.454 Coefficients: Estimate Std. Error t value Pr(> t ) (Intercept) 237.1326

More information

1 R Windows R 1.1 R The R project web R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9

1 R Windows R 1.1 R The R project web   R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9 1 R 2007 8 19 1 Windows R 1.1 R The R project web http://www.r-project.org/ R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 95 and later ] [base] 2.5.1 R - 2.5.1 for Windows R

More information

28

28 y i = Z i δ i +ε i ε i δ X y i = X Z i δ i + X ε i [ ] 1 δ ˆ i = Z i X( X X) 1 X Z i [ ] 1 σ ˆ 2 Z i X( X X) 1 X Z i Z i X( X X) 1 X y i σ ˆ 2 ˆ σ 2 = [ ] y i Z ˆ [ i δ i ] 1 y N p i Z i δ ˆ i i RSTAT

More information

% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti One-sample test of pr

% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti One-sample test of pr 1 1. 2014 6 2014 6 10 10% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti 1029 0.35 0.40 One-sample test of proportion x: Number of obs = 1029 Variable Mean Std.

More information

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0)

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0) E-mail: takio-kurita@aist.go.jp 1 ( ) CPU ( ) 2 1. a f(a) =(a 1.0) 2 (1) a ( ) 1(a) f(a) a (1) a f(a) a =2(a 1.0) (2) 2 0 a f(a) a =2(a 1.0) = 0 (3) 1 9 8 7 (x-1.0)*(x-1.0) 6 4 2.0*(x-1.0) 6 2 5 4 0 3-2

More information

こんにちは由美子です

こんにちは由美子です Sample size power calculation Sample Size Estimation AZTPIAIDS AIDSAZT AIDSPI AIDSRNA AZTPr (S A ) = π A, PIPr (S B ) = π B AIDS (sampling)(inference) π A, π B π A - π B = 0.20 PI 20 20AZT, PI 10 6 8 HIV-RNA

More information

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

講義のーと :  データ解析のための統計モデリング. 第5回 Title 講義のーと : データ解析のための統計モデリング Author(s) 久保, 拓弥 Issue Date 2008 Doc URL http://hdl.handle.net/2115/49477 Type learningobject Note この講義資料は, 著者のホームページ http://hosho.ees.hokudai.ac.jp/~kub ードできます Note(URL)http://hosho.ees.hokudai.ac.jp/~kubo/ce/EesLecture20

More information

(lm) lm AIC 2 / 1

(lm) lm AIC 2 / 1 W707 s-taiji@is.titech.ac.jp 1 / 1 (lm) lm AIC 2 / 1 : y = β 1 x 1 + β 2 x 2 + + β d x d + β d+1 + ϵ (ϵ N(0, σ 2 )) y R: x R d : β i (i = 1,..., d):, β d+1 : ( ) (d = 1) y = β 1 x 1 + β 2 + ϵ (d > 1) y

More information

GLM PROC GLM y = Xβ + ε y X β ε ε σ 2 E[ε] = 0 var[ε] = σ 2 I σ 2 0 σ 2 =... 0 σ 2 σ 2 I ε σ 2 y E[y] =Xβ var[y] =σ 2 I PROC GLM

GLM PROC GLM y = Xβ + ε y X β ε ε σ 2 E[ε] = 0 var[ε] = σ 2 I σ 2 0 σ 2 =... 0 σ 2 σ 2 I ε σ 2 y E[y] =Xβ var[y] =σ 2 I PROC GLM PROC MIXED ( ) An Introdunction to PROC MIXED Junji Kishimoto SAS Institute Japan / Keio Univ. SFC / Univ. of Tokyo e-mail address: jpnjak@jpn.sas.com PROC MIXED PROC GLM PROC MIXED,,,, 1 1.1 PROC MIXED

More information

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

kubostat2015e p.2 how to specify Poisson regression model, a GLM GLM how to specify model, a GLM GLM logistic probability distribution Poisson distrib kubostat2015e p.1 I 2015 (e) GLM kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2015 07 22 2015 07 21 16:26 kubostat2015e (http://goo.gl/76c4i) 2015 (e) 2015 07 22 1 / 42 1 N k 2 binomial distribution logit

More information

EVALUATION OF NOCTURNAL PENILE TUMESCENCE (NPT) IN THE DIFFERENTIAL DIAGNOSIS OF IMPOTENCE Masaharu Aoki, Yoshiaki Kumamoto, Kazutomi Mohri and Kazunori Ohno Department of Urology, Sapporo Medical College

More information

untitled

untitled WinLD R (16) WinLD https://www.biostat.wisc.edu/content/lan-demets-method-statistical-programs-clinical-trials WinLD.zip 2 2 1 α = 5% Type I error rate 1 5.0 % 2 9.8 % 3 14.3 % 5 22.6 % 10 40.1 % 3 Type

More information

P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22

P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22 1 14 28 16 00 17 30 P-1 P-2 P-3 P-4 P-5 2 24 29 17 00 18 30 P-6 P-7 P-8 P-9 P-10 P-11 P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22 5 24 28 16 00 17 30 P-23

More information

こんにちは由美子です

こんにちは由美子です 1 2 λ 3 λ λ. correlate father mother first second (obs=20) father mother first second ---------+------------------------------------ father 1.0000 mother 0.2254 1.0000 first 0.7919 0.5841 1.0000 second

More information

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

kubostat2018d p.2 :? bod size x and fertilization f change seed number? : a statistical model for this example? i response variable seed number : { i kubostat2018d p.1 I 2018 (d) model selection and kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2018 06 25 : 2018 06 21 17:45 1 2 3 4 :? AIC : deviance model selection misunderstanding kubostat2018d (http://goo.gl/76c4i)

More information

1 2 3 4 5 6 0.4% 58.4% 41.2% 10 65 69 12.0% 9 60 64 13.4% 11 70 12.6% 8 55 59 8.6% 0.1% 1 20 24 3.1% 7 50 54 9.3% 2 25 29 6.0% 3 30 34 7.6% 6 45 49 9.7% 4 35 39 8.5% 5 40 44 9.1% 11 70 11.2% 10 65 69 11.0%

More information

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 1 1 1.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 1.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 1.2.1 t :

More information

分布

分布 (normal distribution) 30 2 Skewed graph 1 2 (variance) s 2 = 1/(n-1) (xi x) 2 x = mean, s = variance (variance) (standard deviation) SD = SQR (var) or 8 8 0.3 0.2 0.1 0.0 0 1 2 3 4 5 6 7 8 8 0 1 8 (probability

More information

最小2乗法

最小2乗法 2 2012 4 ( ) 2 2012 4 1 / 42 X Y Y = f (X ; Z) linear regression model X Y slope X 1 Y (X, Y ) 1 (X, Y ) ( ) 2 2012 4 2 / 42 1 β = β = β (4.2) = β 0 + β (4.3) ( ) 2 2012 4 3 / 42 = β 0 + β + (4.4) ( )

More information

Microsoft Word - ランチョンプレゼンテーション詳細.doc

Microsoft Word - ランチョンプレゼンテーション詳細.doc PS1-1-1 PS1-1-2 PS1-1-3 PS1-1-4 PS1-1-5 PS1-1-6 PS1-1-7 PS1-1-8 PS1-1-9 1 25 12:4514:18 25 12:4513:15 B PS1-1-10 PS1-2-1 PS1-2-2 PS1-2-3 PS1-2-4 PS1-2-5 PS1-2-6 25 13:1513:36 B PS1-2-7 PS1-3-1 PS1-3-2

More information

日本化学療法学会雑誌第59巻第5号

日本化学療法学会雑誌第59巻第5号 Streptococcus pneumoniae Haemophilus influenzae Moraxella catarrhalis S. pneumoniae H. influenzae M. catarrhalis S. pneumoniae H. influenzae M. catarrhalis S. pneumoniae H. influenzae M. catarrhalis S.

More information

第11回:線形回帰モデルのOLS推定

第11回:線形回帰モデルのOLS推定 11 OLS 2018 7 13 1 / 45 1. 2. 3. 2 / 45 n 2 ((y 1, x 1 ), (y 2, x 2 ),, (y n, x n )) linear regression model y i = β 0 + β 1 x i + u i, E(u i x i ) = 0, E(u i u j x i ) = 0 (i j), V(u i x i ) = σ 2, i

More information

23回会社説明会資料(HP用)

23回会社説明会資料(HP用) FFG Part FFG 09 09 1 20074 Core Core Bank Bank 170 50 32 12 68 IT 4050 4050 Core Core Value Value Part Part 2006 3 06/3 06/12 06/3 30.0% 4.5% 25.5% 26.2% 0.7% 47,500 6,300 41,200 42,200

More information

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

kubostat2017e p.1 I 2017 (e) GLM logistic regression : : :02 1 N y count data or kubostat207e p. I 207 (e) GLM kubo@ees.hokudai.ac.jp https://goo.gl/z9ycjy 207 4 207 6:02 N y 2 binomial distribution logit link function 3 4! offset kubostat207e (https://goo.gl/z9ycjy) 207 (e) 207 4

More information

Microsoft Word - 修士論文(完成) docx

Microsoft Word - 修士論文(完成) docx Motivation of Sport Spectator Focus on Ice Hockey Spectators Maru Tomoko 4 4 7 8 8 8 12 13 13 14 15 KJ 17 18 21 Cronbach s 35 35 2 45 46 48 50 54 54 56 57 59 61 64 70 3 ,,. 2007,2008 2010 4 2008 Wann 2008

More information

yamadaiR(cEFA).pdf

yamadaiR(cEFA).pdf R 2012/10/05 Kosugi,E.Koji (Yamadai.R) Categorical Factor Analysis by using R 2012/10/05 1 / 9 Why we use... 3 5 Kosugi,E.Koji (Yamadai.R) Categorical Factor Analysis by using R 2012/10/05 2 / 9 FA vs

More information

層化

層化 (confounding) Confounding Exposure? Outcome Confounders adjustment (confounders) Not Confounding? 2 exposure 3rd factor 3rd factor NEJM 2000; 342: 1930-6. (adjustment) univariate or crude relative risk

More information

現代日本論演習/比較現代日本論研究演習I「統計分析の基礎」

現代日本論演習/比較現代日本論研究演習I「統計分析の基礎」 URL: http://tsigeto.info/statg/ I ( ) 3 2017 2 ( 7F) 1 : (1) ; (2) 1998 (70 20% 6 8 ) (30%) ( 2) ( 2) 2 1. (4/13) 2. SPSS (4/20) 3. (4/27) [ ] 4. (5/11 6/1) [1, 4 ] 5. (6/8) 6. (6/15 6/29) [2, 5 ] 7. (7/6

More information

統計研修R分散分析(追加).indd

統計研修R分散分析(追加).indd http://cse.niaes.affrc.go.jp/minaka/r/r-top.html > mm mm TRT DATA 1 DM1 2537 2 DM1 2069 3 DM1 2104 4 DM1 1797 5 DM2 3366 6 DM2 2591 7 DM2 2211 8

More information

現代日本論演習/比較現代日本論研究演習I「統計分析の基礎」

現代日本論演習/比較現代日本論研究演習I「統計分析の基礎」 URL: http://tsigeto.info/statg/ I () 3 2016 2 ( 7F) 1 : (1); (2) 1998 (70 20% 6 9 ) (30%) ( 2) ( 2) 2 1. (4/14) 2. SPSS (4/21) 3. (4/28) [] 4. (5/126/2) [1, 4] 5. (6/9) 6. (6/166/30) [2, 5] 7. (7/78/4)

More information

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

カテゴリ変数と独立性の検定 II L04(2015-05-01 Fri) : Time-stamp: 2015-05-01 Fri 22:28 JST hig 2, Excel 2, χ 2,. http://hig3.net () L04 II(2015) 1 / 20 : L03-S1 Quiz : 1 2 7 3 12 (x = 2) 12 (y = 3) P (X = x) = 5 12 (x = 3), P (Y =

More information

日本統計学会誌, 第44巻, 第2号, 251頁-270頁

日本統計学会誌, 第44巻, 第2号, 251頁-270頁 44, 2, 205 3 25 270 Multiple Comparison Procedures for Checking Differences among Sequence of Normal Means with Ordered Restriction Tsunehisa Imada Lee and Spurrier (995) Lee and Spurrier (995) (204) (2006)

More information

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

一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM .. ( ) (2) GLMM kubo@ees.hokudai.ac.jp I http://goo.gl/rrhzey 2013 08 27 : 2013 08 27 08:29 kubostat2013ou2 (http://goo.gl/rrhzey) ( ) (2) 2013 08 27 1 / 74 I.1 N k.2 binomial distribution logit link function.3.4!

More information

Influences of mortality from main causes of death on life expectancy. \ An observation for the past 25 years, 1950-1975, in Japan \ Takao SHIGEMATSU* and Zenji NANJO** With the Keyfitz-Nanjo method an

More information

VOL.32 S-9 CHEMOTHERAPY Table 1 Minimum inhibitory concentrations of AC-1370, CPZ and CAZ Table 2 Efficacy of AC-1370 and CPZ against systemic infections in mice *Inoculum size: 106 cells/ml * 95% confidence

More information

untitled

untitled 186 17 100160250 1 10.1 55 2 18.5 6.9 100 38 17 3.2 17 8.4 45 3.9 53 1.6 22 7.3 100 2.3 31 3.4 47 OR OR 3 1.20.76 63.4 2.16 4 38,937101,118 17 17 17 5 1,765 1,424 854 794 108 839 628 173 389 339 57 6 18613

More information

untitled

untitled 1. 3 14 2. 1 12 9 7.1 3. 5 10 17 8 5500 4. 6 11 5. 1 12 101977 1 21 45.31982.9.4 79.71996 / 1997 89.21983 41.01902 6. 7 5 10 2004 30 16.8 37.5 3.3 2004 10.0 7.5 37.0 2004 8. 2 7 9. 6 11 46 37 25 55 10.

More information

untitled

untitled R kiyo@affrc.go.jp 1 Excel 1, 2.6, 2/3, 105.2, 0.0043 1, 3, 0, 245 A, B, C... ; 0 1 0.2, 3/4, 0.99 MS Excel»» R Macintosh MS Excel Excel Excel MS Excel MS Access Excel R R R R.Data win Mac ctrl + R Win,

More information

!!! 2!

!!! 2! 2016/5/17 (Tue) SPSS (mugiyama@l.u-tokyo.ac.jp)! !!! 2! 3! 4! !!! 5! (Population)! (Sample) 6! case, observation, individual! variable!!! 1 1 4 2 5 2 1 5 3 4 3 2 3 3 1 4 2 1 4 8 7! (1) (2) (3) (4) categorical

More information

Visual Evaluation of Polka-dot Patterns Yoojin LEE and Nobuko NARUSE * Granduate School of Bunka Women's University, and * Faculty of Fashion Science,

Visual Evaluation of Polka-dot Patterns Yoojin LEE and Nobuko NARUSE * Granduate School of Bunka Women's University, and * Faculty of Fashion Science, Visual Evaluation of Polka-dot Patterns Yoojin LEE and Nobuko NARUSE * Granduate School of Bunka Women's University, and * Faculty of Fashion Science, Bunka Women's University, Shibuya-ku, Tokyo 151-8523

More information

untitled

untitled 005 n X i i 1 5 i 1 5 i 1 X i 3 X i 40 n i1 i i n X i 40 1 005 95 005 testing statistical hypothesis - A B A B 5 ()()() ()()() 3 005 ( ) null hypothesis 5 pp0.01p1 4 005 (1) 1 4 6 () N i 1 ( X i X ) N

More information

CHEMOTHERAPY Fig. 1 Chemical structure of CXM-AX

CHEMOTHERAPY Fig. 1 Chemical structure of CXM-AX Fig. 1 Chemical structure of CXM-AX NOV. 1986 Fig. 2 Sensitivity distribution of clinical isolates organisms (106 cells/ml) a Smurcus 27 strains d) P.m irabilis 15 strains b Ecol i 27 strains 111.morganii

More information

VOL.39 S-3

VOL.39 S-3 VOL.39 S-3 CHEMOTHERAPY SEPT.1991 Table 1. Background of characteristics and allocation of 5 healthy male volunteers in a multiple-dose study on panipenem/betamipron Day 1 Fig. 1. Schedule of multiple-dose

More information

TDM研究 Vol.26 No.2

TDM研究 Vol.26 No.2 測定した また Scrは酵素法にて測定し その参考基 r =0.575 p

More information

201711grade2.pdf

201711grade2.pdf 2017 11 26 1 2 28 3 90 4 5 A 1 2 3 4 Web Web 6 B 10 3 10 3 7 34 8 23 9 10 1 2 3 1 (A) 3 32.14 0.65 2.82 0.93 7.48 (B) 4 6 61.30 54.68 34.86 5.25 19.07 (C) 7 13 5.89 42.18 56.51 35.80 50.28 (D) 14 20 0.35

More information

N 847 1085 1932 2966 3336 6302 % 43.8 56.2 100 47.1 52.9 100 28 72 41.34 28 77 51.52 N 84 750 580 478 28 12 1932 % 4.3 38.8 30.0 24.7 1.4 0.6 100 N 1079 2710 1318 1083 60 52 6302 % 17.1 43.0 20.9 17.2

More information

日本化学療法学会雑誌第54巻第S-1号

日本化学療法学会雑誌第54巻第S-1号 β β Key words β Candida krusei Candida glabrata β I β Drugadministration Baselinecharacteristics Clinicalsymptom Mycologicaltests Plasmadrugconcn Adverseevents Laboratorytests ) -leadecg Clinicalphotograph

More information

<915391CC348D5A F F815B312E706466>

<915391CC348D5A F F815B312E706466> 47 I 2016 10 603 27,288 1 2-4 6 5 2, 3, 6-9 10 11 93.5 77.0 71.7 54.9 12 13 14 15 48 8 16 15 1 2 3 1 2 17 5 18, 19 20 35 3 5 18 62 17 17 2 17 8 6 3 3 4 0 3 17 8 5 4 3 4 0 3 1 62 3 2 49 3 2 2 II 1. 1 17

More information

R-introduction.R

R-introduction.R による統計解析 三中信宏 minaka@affrc.go.jp http://leeswijzer.org 305-8604 茨城県つくば市観音台 3-1-3 国立研究開発法人農業 食品産業技術総合研究機構農業環境変動研究センター統計モデル解析ユニット専門員 租界 R の門前にて : 統計言語 R との極私的格闘記録 http://leeswijzer.org/r/r-top.html 教科書と参考書

More information

1911 F0 5) SingBySpeaking F0 F0 F0 4 F0 2. F0 4) 5) rate extent 6) rate 5.6 [Hz] extent 87 [cent] F0 5.2 [%] F0 SingBySpeaking 7) F0 Fig. 1 1 F0 F0 co

1911 F0 5) SingBySpeaking F0 F0 F0 4 F0 2. F0 4) 5) rate extent 6) rate 5.6 [Hz] extent 87 [cent] F0 5.2 [%] F0 SingBySpeaking 7) F0 Fig. 1 1 F0 F0 co Vol. 52 No. 5 1910 1922 (May 2011) This paper describes the details of singing database for analyzing the differences of musical expressions ( and portamento) among professional singers and the effective

More information

untitled

untitled 2011/6/22 M2 1*1+2*2 79 2F Y YY 0.0 0.2 0.4 0.6 0.8 0.000 0.002 0.004 0.006 0.008 0.010 0.012 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Y 0 50 100 150 200 250 YY A (Y = X + e A ) B (YY = X + e B ) X 0.00 0.05 0.10

More information

Microsoft Word - 計量研修テキスト_第5版).doc

Microsoft Word - 計量研修テキスト_第5版).doc Q9-1 テキスト P166 2)VAR の推定 注 ) 各変数について ADF 検定を行った結果 和文の次数はすべて 1 である 作業手順 4 情報量基準 (AIC) によるラグ次数の選択 VAR Lag Order Selection Criteria Endogenous variables: D(IG9S) D(IP9S) D(CP9S) Exogenous variables: C Date:

More information