Question: ( Gaussian Mixture Model ( GMM ) ) This question is about ( a simplified version of ) the Gaussian Mix - ture Model (
Gaussian Mixture Model GMM This question is about a simplified version of the Gaussian Mix ture Model GMM which is a popular model in statistics, data science and machine learning. For example, it is used in image processing and various clustering algorithms. Suppose that K is a discrete random variable that can either be or with probability pi and pi respectively, that is
with probability pi P K
withprobabilitypi PKpi
K
Conditional on K k with k in the distribution of X is Nmu ksigma k a normal distribution with
mean mu k and variance sigma k That is
a Derive the joint density of XK State clearly the support of XK in the joint density. Hint:
consider conditional distribution and the law of total probability.
b Denote the distribution of X K GMMpi mu sigma mu sigma Note that pi can be omitted as a parameter since pi pi Suppose that we have an iid random sample of size n of these n pairs X KX KXn Kn Each Xi belongs to either group or group depending on Ki Using part a derive the maximum likelihood estimator for all the five parameters pi mu sigma mu sigma Hint: Let n PniKi and n PniKi be the number of Xi that belongs to group and group respectively. You may find expressing the likelihood function in terms of n and n useful.
c On Canvas, there is a dataset called GMMcsv which is a comma separated file. This dataset contains n rows and columns. The first column is the realizations of K and the second column is the realizations of X Using any computing language of your choice, eg PythonRJuliaMATLABExcel compute the maximum likelihood estimators derived in part b using this dataset. Attach your code at the end of your assignment.
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
