Saturday, January 13, 2024

Ex 1.8 - Show that the mean value of Gaussian distribution is µ. (Pattern Recognition and ML by Christopher Bishop)

Pre-read (1):
Pre-read (2):
Question:
Solution: Part 1:
Part 2:
Part 3:
Part 4:

Using ChatGPT by the formula for E[x,y] when x and y are discrete

If xn and xm are values from a gaussian distribution, can you derive the expression for E[xn.xm]

If XnX_n and XmX_m are values from independent Gaussian distributions, each with its own mean (μn\mu_n and μm\mu_m) and variance (σn2\sigma_n^2 and σm2\sigma_m^2), and you want to find the expected value of their product E[XnXm]E[X_n \cdot X_m], it is important to note that the product of independent Gaussian variables does not follow a Gaussian distribution.

However, if you are interested in the covariance of XnX_n and XmX_m, you can use the fact that the covariance of independent variables is zero:

Cov[Xn,Xm]=E[XnXm]E[Xn]E[Xm]Cov[X_n, X_m] = E[X_n \cdot X_m] - E[X_n] \cdot E[X_m]

Since XnX_n and XmX_m are independent, Cov[Xn,Xm]=0Cov[X_n, X_m] = 0, and you get:

E[XnXm]=E[Xn]E[Xm]E[X_n \cdot X_m] = E[X_n] \cdot E[X_m]

So, the expected value of the product of independent Gaussian variables is the product of their means:

E[XnXm]=μnμmE[X_n \cdot X_m] = \mu_n \cdot \mu_m

No, no. xn and xm are from the same distribution

I apologize for the confusion. If XnX_n and XmX_m are from the same Gaussian distribution, let's denote their mean as μ\mu and their variance as σ2\sigma^2. In this case, you're asking for the expected value E[XnXm]E[X_n \cdot X_m].

Since XnX_n and XmX_m are from the same distribution, we can simplify it as follows:

E[XnXm]=E[Xn]2+Cov[Xn,Xm]E[X_n \cdot X_m] = E[X_n]^2 + Cov[X_n, X_m]

Now, since XnX_n and XmX_m are from the same distribution, their covariance simplifies to the variance:

E[XnXm]=μ2+σ2E[X_n \cdot X_m] = \mu^2 + \sigma^2

So, the expression for E[XnXm]E[X_n \cdot X_m] for two variables from the same Gaussian distribution is the square of the mean plus the variance of that distribution.

No comments:

Post a Comment