Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to use google co - lab for this question, and use the R compiler, not Python. Given data: horse _ data = c (

Need to use google co-lab for this question, and use the R compiler, not Python. Given data: horse_data=c(0,2,2,1,0,0,1,1,0,3,0,2,1,0,0,1,0,1,0,1,
0,0,0,2,0,3,0,2,0,0,0,1,1,1,0,2,0,3,1,0,0,
0,0,2,0,2,0,0,1,1,0,0,2,1,1,0,0,2,0,0,0,0,
0,1,1,1,2,0,2,0,0,0,1,0,1,2,1,0,0,0,0,1,0,
1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,
2,1,0,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0,1,0,2,
0,0,1,2,0,1,1,3,1,1,1,0,3,0,0,1,0,1,0,0,0,
1,0,1,1,0,0,2,0,0,2,1,0,2,0,1,0,0,0,1,0,0,
1,0,0,0,0,1,0,0,0,1,1,0,1,0,0,0,0,0,2,1,1,
1,0,2,1,1,0,1,2,0,1,0,0,0,0,1,1,0,1,0,2,0,
2,0,0,0,0,2,1,3,0,1,1,0,0,0,0,2,4,0,1,3,0,
1,1,1,1,2,1,3,1,3,1,1,1,2,1,1,3,0,4,0,1,0,
3,2,1,0,2,1,1,0,0,0,1,0,0,0,0,0,1,0,1,1,0,
0,0,2,2,0,0,0,0) a) Plot the frequencies of the counts present in the data.
b) Calculate \lambda 1 and \lambda 2(from problem 2, given in imagehat()1=1ni=1nxi,hat()2=1ni=1n(xi-(x))2) for the data.
c) Plot the p.m.f. of the Poisson distribution with respect to \lambda 1 and \lambda 2 on top of the frequency plot (give the two p.m.f.s different colors in order to tell which one is which) Which estimate fits the data better?
image text in transcribed

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Graph inequality. y -2

Answered: 1 week ago

Question

List the four steps in the model for giving praise.

Answered: 1 week ago

Question

List the criteria for setting objectives.

Answered: 1 week ago

Question

Describe four content motivation theories.

Answered: 1 week ago