Question: Obtain the workdays data from the smdata package or from https://dl .dropbox.com/u/1857674/SmiMerBook/SmiMerDoc.html, which contains extra variables not described in this chapters examples. In particular, service
Obtain the workdays data from the smdata package or from https://dl
.dropbox.com/u/1857674/SmiMerBook/SmiMerDoc.html, which contains extra variables not described in this chapter’s examples. In particular, service provides information about whether each individual has been in the U.S. Armed Forces (1=yes, 0=no), while coutyp2 provides information about the county in which the individual resides (large metropolitan, small metropolitan, nonmetropolitan).
(a) Conduct an analysis of variance with impydays as the response and coutyp2 as the predictor. Provide verbal conclusions, and supply statistics to reinforce these conclusions.
(b) Conduct a t-test with impydays as the response and service as the predictor. Provide verbal conclusions, and supply statistics to reinforce these conclusions.
(c) Fit a zero-inflated negative binomial model, with impydays as the response and coutyp2 and service as predictors. Provide verbal conclusions, and supply statistics to reinforce these conclusions.
(d) Compare the conclusions obtains in parts (a)–
(c) above. H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
