Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use: install.packages(MASS) library(MASS) data(ships) to get access data in r studio. Three problems can be seen as one. 1. The ships dataset in the

Please use:

install.packages("MASS")

library(MASS)

data(ships)

to get access data in r studio.

Three problems can be seen as one.

image text in transcribed
1. The ships dataset in the MASS package gives the number of wave damage incidents and aggregate months of service for different types of ships broken down by year of construction and period of operation. a. Fit a Poisson regression model for the number of incidents with predictors: log of service, type, year and period. Treat year and period as categorical predictors. Find the p-value for the Wald test that the coefficient for log of service years is 1. What is the interpretaion when this parameter is 1? b. Fit a Poisson rate model with an appropriate offset with predictors type, year and period. Find a 95 percent confidence interval for the parameter e where B is the coefficient for the dummy variable for being ship type B. c. Check the standardized Pearson residuals. Are there any outliers? 2. a. Estimate the overdispersion parameter for the model in (1b). b. Fit a quasi-Poisson model with the same offset and predictors as (1b) allowing for overdispersion. Once again compute the confidence interval for es of (1b). How has it changed? 3. Interpret the coefficients of the quasi-Poisson model. What factors are associated with higher and lower rates of damage incidents

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linear Algebra With Applications

Authors: Jeffrey Holt

2nd Edition

1319057691, 9781319057695

More Books

Students also viewed these Mathematics questions

Question

1. Information that is currently accessible (recognition).

Answered: 1 week ago