LoglinearExamples_2011

LoglinearExamples_2011 - Stat 665, Spring 2011, Kaizar...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Stat 665, Spring 2011, Kaizar Log-Linear Piano Example Pianos Piano Type Orchestra Steinway Other Boston 36 18 Chicago 156 12 Cleveland 121 20 Minnesota 22 22 New York 99 22 Pianos 20 40 60 80 100 120 140 NewYork Minnesota Cleveland Chicago Boston Steinway Other
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Call: glm(formula = Freq ~ piano * orchestra, family = poisson, data = pianos.df, contrasts = list(orchestra = "contr.sum", piano = "contr.sum")) Deviance Residuals: [1] 0 0 0 0 0 0 0 0 0 0 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 3.56684 0.06147 58.030 < 2e-16 *** piano1 0.65622 0.06147 10.676 < 2e-16 *** orchestra1 -0.32990 0.12759 -2.586 0.009718 ** orchestra2 0.20054 0.13130 1.527 0.126677 orchestra3 0.32892 0.11188 2.940 0.003284 ** orchestra4 -0.47580 0.13196 -3.606 0.000312 *** piano1:orchestra1 -0.30965 0.12759 -2.427 0.015224 * piano1:orchestra2 0.62625 0.13130 4.770 1.85e-06 *** piano1:orchestra3 0.24381 0.11188 2.179 0.029323 * piano1:orchestra4 -0.65622 0.13196 -4.973 6.60e-07 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 (Dispersion parameter for poisson family taken to be 1) Null deviance: 4.0689e+02 on 9 degrees of freedom Residual deviance: 5.5511e-15 on 0 degrees of freedom AIC: 74.11 Number of Fisher Scoring iterations: 3
Background image of page 2
Call: glm(formula = Freq ~ piano + orchestra, family = poisson, data = pianos.df, contrasts = list(orchestra = "contr.sum", piano = "contr.sum")) Deviance Residuals: 1 2 3 4 5 6 7 8 9 10 -1.30191 1.49274 0.47053 -2.54188 -0.04599 2.40958 -3.72828 -1.05617 4.13563 0.09840 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 3.56741 0.06200 57.540 < 2e-16 *** piano1 0.76487 0.05688 13.447 < 2e-16 *** orchestra1 -0.53935 0.11668 -4.623 3.79e-06 *** orchestra2 0.59563 0.07793 7.643 2.13e-14 *** orchestra3 0.42042 0.08220 5.114 3.15e-07 *** orchestra4 -0.74415 0.12704 -5.858 4.69e-09 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

LoglinearExamples_2011 - Stat 665, Spring 2011, Kaizar...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online