$30
Your assignment should be wellorganized, typed (or neatly written and scanned) and saved as a .pdf for submission on Canvas. You must show all of your work to receive full credit. For problems requiring the use of MATLAB code, remember to also submit your .m-files on Canvas as a part of your completed assignment. Your code should be appropriately commented to receive full credit.
Problems
1 This problem is a prelude to statistical estimators, which we will discuss from the Bayesian perspective as we move forward in class. Consider the Rayleigh distribution
X ∼ Rayleigh(σ2)
with pdf given by
as derived in Homework 8.
Unlike the normal distribution, the maximizer of π(x) for the Rayleigh distribution does not coincide with its expected value. Verify this by computing the maximizer of π(x) and the expected value of the Rayleigh distribution, and generate a plot to show your results graphically. In computing the maximizer, it may help to note that
argmax π(x) = argmin V (x), V (x) = −log(π(x)).
x x
Assume we have N independent and identically distributed (i.i.d.) random variables X1,...,XN, such that
Xj ∼ π(x | θ), j = 1,...,N,
where the pdf of Xj depends on the value of a parameter θ.
In frequentist statistics, the Maximum Likelihood Estimator (MLE) of the parameter θ is the value of θ that maximizes the probability of the outcomes xj, j = 1,...,N; i.e.,
N
θML = argmax π(x1,...,xN | θ) = argmax Yπ(xj | θ) θ θ j=1
provided such a maximizer exists.
If X1,...,XN are i.i.d. with
Xj ∼ Rayleigh(σ2), j = 1,...,N,
compute the MLE of θ = σ2.
2 ) Provide a brief update on your final project, describing the progress you’ve made over the past few weeks. What have you done thus far? Have you thought about some of the considerations mentioned in the comments on your Final Project Proposals in Canvas? (If you haven’t already replied, please outline your replies to my comments here!)
Note: For any of the above problems for which you use MATLAB to help you solve, you must submit your code/.m-files as part of your work. Your code must run in order to receive full credit. If you include any plots, make sure that each has a title, axis labels, and readable font size, and include the final version of your plots as well as the code used to generate them.