| data_Kremelburg_2011 | R Documentation |
Logistic and Poisson regression data from Kremelburg (2011).
data(data_Kremelburg_2011)
Kremelburg, D. (2011). Chapter 6: Logistic, ordered, multinomial, negative binomial, and Poisson regression. Practical statistics: A quick and easy guide to IBM SPSS Statistics, STATA, and other statistical software. Sage.
head(data_Kremelburg_2011)
# for Kremelburg, 2011, p. 244
LOGISTIC_REGRESSION(data = data_Kremelburg_2011, DV='OCCTRAIN',
forced = c('AGE','female','EDUC','REALRINC'))
# for Kremelburg, 2011, p.262 & p. 282: poisson regression
COUNT_REGRESSION(data=data_Kremelburg_2011, DV='OVRJOYED',
forced=c('AGE','EDUC','REALRINC','female'))
# for Kremelburg, 2011, p. 266-267 & p. 284: negative binomial regression
COUNT_REGRESSION(data=data_Kremelburg_2011, DV='HURTATWK',
forced=c('AGE','EDUC','REALRINC','female'),
model_type = 'negbin')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.