pose that Y1,Y2 are independent identically distributed (iid) random variables form a random sample from a probability distribution given by   f(y)=θe^(−θy), y≥0   Suppose we observed a sample of size two (n=2): 0.04304550, 0.50263474. Read the data int

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter1: Functions
Section1.2: The Least Square Line
Problem 1E
icon
Related questions
Question

Suppose that Y1,Y2 are independent identically distributed (iid) random variables form a random sample from a probability distribution given by

 

f(y)=θe^(−θy), y≥0

 

Suppose we observed a sample of size two (n=2): 0.04304550, 0.50263474.

  1. Read the data into R.
  2. Create a function in R to compute the log‐likelihood.
  3. Plot the likelihood function on a fine grid of θ values in R.
  4. Estimate the MLE of θ using Bisection, Secant, and Newton-Raphson methods in R. 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,