Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Kindly solve in matlab. ask if you need the data set 2. (25 pts) Maximum Likelihood Estimation. Consider the data sequence { X1, $2, .

Kindly solve in matlab. ask if you need the data set

image text in transcribed
2. (25 pts) Maximum Likelihood Estimation. Consider the data sequence { X1, $2, . . . , In} of length n = 100000 provided in the file 'data. txt'. It is known that the data is normally distributed. However, the mean / and variance o of this normal dis- tribution is unknown. In this problem, you are required to estimate / and o using methods learned in the course. Assume that the data points are i.i.d. random vari- ables {X1, X2, X3, ..., Xn} where each Xi ~ N(u, ?). The data set { X1, X2, . .., In) provided in 'data. txt' are the observed value of these random variables. You will determine / and o for the data so that the data matches to its most likely Gaussian bell curve. Mathematically, you determine / and o that maximize the probability of observing the data given the choice of u and o. Let fx1,X2,..,X (1, X2, X3, . .., In | /, 6) be the joint density of the RVs {X1, X2, X3, ..., Xn} evaluated at our data points {x1, X2, . . ., In} given our choice of u and o. Note that fx1, X2,.,Xn (1, 2, 13, . .., In | H, 6) is a function of u and o. The maximum likelihood estimates UMLE and OMLE for A and o are found as follows: HMLE = argmax log (fx,,X2....,Xn (X1, X2, X3, . . . , In | H, 6)) (1) OMLE = argmax log (fX1,X2....,X. (X1, X2, X3, . . . , In | PMLE, G)) (2) where log is taken to the base e. Note that we use the AMLE from Eqn. (1) in Eqn. (2). (a) Analytically show that log (fX1,X2..,Xn (X1, X2, 23, . . ., In | H, 6)) = -5 108 2702 - ( Ii - 1) 2 202 In this part of the problem, you need to mathematically (i.e., by hand) prove that the above equation is true. Clearly show and explain all the steps that you use in your proof. (b) Find analytical expressions for AMLE and OMLE in terms of the data { x1, 12, . .., In} by using the equation derived in (a) in Eqn. (1) and (2). For the data provided in 'data. txt', find the values of UMLE and OMLE using the analytical expressions derived. The first part of the question needs to be solved by hand to find analytical expressions for AMLE and OMLE. Clearly show all your work in obtaining the analytical expressions. For the next part, write a code to find the UMLE and OMLE values for the data in 'data. txt'. and provide screenshots of the AMLE and OMLE outputs that your get when you run your code. (c) Plot the PDF of X; by plotting the histogram of the data {X1, T2, . .., In} in 'data. txt'. For the UMLE and OMLE obtained in (b), superimpose the histogram with the PDF of a Gaussian random variable with mean AMLE and variance o'MLE. 3 In this part, please provide a single plot (generated using a program- ming language) with the histogram of the data and the superimposed PDF of the Gaussian random variable. For MATLAB, you can use the function histogram (data, 'Normalization' , 'pdf' ) to plot histogram of the data to represent its PDF

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Trigonometry

Authors: Ron Larson

9th Edition

128560718X, 9781285607184

More Books

Students also viewed these Mathematics questions

Question

Define Administration and Management

Answered: 1 week ago

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

1. Avoid conflicts in the relationship

Answered: 1 week ago

Question

1. What will happen in the future

Answered: 1 week ago