Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this question you will need to download the data cloth.rda and read it into R. Recall this is done using the read.table function. Description

For this question you will need to download the data cloth.rda and read it into R. Recall this is done using the read.table function.

Description

 The data comprise lengths of cloth samples and the numbers of flaws found in them. 35 observations on 2 variables: x The length of the roll of cloth. y The number of flaws found in the roll. 

(a) Explore the data: produce appropriate graphical summaries to describe the relationship between x and y. (You need to submit (readable) plot(s) to get full marks)

(b) Suppose that we decide to model the Yis as independent, but not identical, Poisson distributed random variables, i.e.

Yi | xi, Pois(xi ) i = 1,...32

Explain why this is a reasonable model.

(c) Derive an expression for the log-likelihood for .

(d) Write a function that finds the log likelihood and plot this function. (Submit a plot to get full marks)

(e) Find the MLE of .

(f) Find a deviance based 95 % CI for (you could do this numerically using

uniroot, or use R to plot the deviance and do by eye).

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

Students also viewed these Accounting questions