Question: 3.11 Construct a Matlab m-file to evaluate the beta-geometric negative loglikelihood. You can base this on the code in Figure 3.2(b), but note that as
3.11 Construct a Matlab m-file to evaluate the beta-geometric negative loglikelihood. You can base this on the code in Figure 3.2(b), but note that as the function is to provide a single value of the negative log-likelihood for a given pair of scalar quantities, (m, t), you do not need the elementwise operations. Use the Matlab fminsearch routine to obtain the maximumlikelihood parameter estimates.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
