Page 1 of 1

(R QUESTION) 1) Generate a sample using Bernoulli distribution 2) Define a function to calculate the negative maximum li

Posted: Mon Apr 11, 2022 6:25 am
by answerhappygod
R Question 1 Generate A Sample Using Bernoulli Distribution 2 Define A Function To Calculate The Negative Maximum Li 1
R Question 1 Generate A Sample Using Bernoulli Distribution 2 Define A Function To Calculate The Negative Maximum Li 1 (40.08 KiB) Viewed 30 times
(R QUESTION) 1) Generate a sample using Bernoulli distribution 2) Define a function to calculate the negative maximum likelihood estimate for parameter p. 3) Apply either the nlm or mle function to find the estimate for the parameter of the distribution. 4) Repeat steps 1-4 for a sample of different size and for different initial parameter of p (you can create new chuck for this question) Compare the results to the MLE for p derived analytically.