Question: 4. (20 points) Programming Assignment. Generate N = 100 points from Gaussian distribution with mean 2 and standard deviation 2. Plot a histogram of D.

4. (20 points) Programming Assignment. Generate N = 100 points from Gaussian distribution with mean 2 and standard deviation 2. Plot a histogram of D. a. Write a program to calculate the log-likelihood P[D| u,o] given (i) u = 1, o=2, (ii) u = 1.5, 0=2, (iii) u = 2, 0=2. b. Find the maximum likelihood estimation of u.G. How this compares to the true parameters (mean 2 and standard deviation 2)? c. Repeat the following procedure 50 times: generate D with N=100, find the maximum likelihood estimates of u, G. Plot a histogram of u, obtained with the 50 repetitions. What is the average of the estimates over 50 experiments? d. Repeat part c, but use N = 10. Then, repeat part c, but use N=1,000. What can you conclude
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
