Let T1, . . . , Tn ∼ Exp(rate = θ). Suppose we observe Y1, . . . , Yn, where Yi
the the integer part of Ti
. For example, if Ti = 1.3, then Yi = 1. Consider using the EM
algorithm to estimate the MLE of θ.
Copyright By PowCoder代写 加微信 powcoder
Write down the details of the E-step and M-step and write a function to implement the EM algorithm for this model.
Input is the vector Y .
Output is a number that approximates the MLE of θ.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com