MulticategoryExample1_2011

# MulticategoryExample1_2011 - Statistics 665 Spring 2011...

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

1 Statistics 665, Spring 2011, Kaizar Contraceptive Example Binomial Model Including Year, grouped by Year: Call: vglm(formula = namcsgrp ~ yearcode, family = multinomial) Pearson Residuals: Min 1Q Median 3Q Max log(mu[,1]/mu[,3]) -3.7297 -0.019419 0.55177 0.904538 1.7490 log(mu[,2]/mu[,3]) -1.0767 -0.429307 -0.13550 -0.041838 1.0391 Coefficients: Value Std. Error t value (Intercept):1 -1.270538 0.136945 -9.2777 (Intercept):2 -11.502159 1.829591 -6.2867 yearcode:1 -0.081258 0.022178 -3.6640 yearcode:2 0.885344 0.177863 4.9777 Number of linear predictors: 2 Names of linear predictors: log(mu[,1]/mu[,3]), log(mu[,2]/mu[,3]) Dispersion Parameter for multinomial family: 1 Residual Deviance: 40.59137 on 20 degrees of freedom Log-likelihood: -664.0135 on 20 degrees of freedom Number of Iterations: 6 1 1 1 1 1 1 1 1 1 1 1 1 1994 1996 1998 2000 2002 2004 0.0 0.2 0.4 0.6 0.8 Contraceptive Prescriptions year Proportion 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 1 2 3 Desogestrel Drospirenone Non-Desogestrel

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

View Full Document
2 1 1 1 1 1 1 1 1 1 1 1 1 1994 1996 1998 2000 2002 2004 -5 -4 -3 -2 -1 Contraceptive Prescriptions year Baseline Log Odds 2 2 2 2 2 2 2 2 2 2 2 2
3 Changepoint model, with group=year: Call: vglm(formula = namcsgrp ~ yearcode + z + z * yearcode, family = multinomial) Pearson Residuals: Min 1Q Median 3Q Max log(mu[,1]/mu[,3]) -3.17863 -7.2542e-01 -2.1836e-01 1.2272e+00 2.05755 log(mu[,2]/mu[,3]) -0.18124 -1.1827e-05 -2.0140e-06 1.1063e-05 0.31295

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern