Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use R language for partc Thank you 1. The dataset prussian in the pscl package lists the number of deaths by horsekick in the

please use R language for partc
Thank you image text in transcribed
image text in transcribed
1. The dataset prussian in the pscl package lists the number of deaths by horsekick in the Prussian army by corp and year. Fit 2 models, model1=glm (y corp, family-poisson, data=prussian) model2=glm(y corp+year, family=poisson, data-prussian) b. Now assume that death rates are poisson but depend on neither corp or year. If this were a sample of 280 independent and identicially distributed random poisson variables, what would be the maximum likelihood estimate of the poisson rate X? c. Using modell, what is the estimated probability of 3 deaths by horsekick in a year in corp IIT

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

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions