Question: Use R studio Here is an artificially constructed dataset. Pretend that you do not know the underlying distribution of these data. set.seed(10) rawdata

Use R studio

Here is an artificially constructed dataset. Pretend that you do not know the underlying distribution of these data.

set.seed(10) rawdata<-rnbinom(100, size = 10, prob = 0.2)

Suppose you think the negative binomial distribution is a good candidate. Please use the maximum likelihood estimation to get the estimated parameters for this distribution.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock