Help with finding the expectation

  • Thread starter cse63146
  • Start date
  • Tags
    Expectation
So what does that tell you aboutE[X_i^2]andE[\bar X^2]?In summary, a random sample X1,...,Xn from a N(\mu , \sigma) distribution is used to find the random variable Y = \Sigma \frac{(X_i - \overline{X})^2}{n}. The goal is to find the expected value of Y. Using the properties of the chi-square distribution and the sample mean, the solution involves finding the expectations of X^2_i and \bar X^2 and combining them to get the expected value of Y.
  • #1
cse63146
452
0

Homework Statement



Let X1,...,Xn denote a random sample from a [tex]N(\mu , \sigma)[/tex] distribution. Let [tex]Y = \Sigma \frac{(X_i - \overline{X})^2}{n}[/tex]

Homework Equations





The Attempt at a Solution



How would I find E(Y)?

Any help would be greately appreciated.
 
Physics news on Phys.org
  • #2
You need to be sure you can justify steps and perform the omitted work

[tex]
(X_i - \bar X)^2 = X_1^2 - 2X_1 \bar X + {\bar X}^2
[/tex]

When you compute [tex] E[(X_i - \bar X)^2][/tex]

[tex]
E[X_i^2]
[/tex]

should be easily found, and doesn't depend on i.

[tex]
2E[X_i \bar X] = \frac 2 n E[X_i (X_1 + X_2 + \dots + X_n)]
[/tex]

should be easily determined (and will not depend on i). Also,

[tex]
E[{\bar X}^2]
[/tex]

should be easy to find (since you know the distribution of the sample mean).

Work these out individually, then combine them.
 
  • #3
[tex]X^2_i[/tex] is a chi-square distribution with n degrees of freedom (since there are n Xi) and it's expectation would be n

[tex]\overline{X} -> N(\mu, \frac{\sigma^2}{n})[/tex] is a noncentral chisquare distribution [tex]\frac{X^2_i}{\sigma^2 /n}[/tex] and it's expectation is n*sigma^2

Kinda stuck on this one: [tex]2E[X_i \bar X] = \frac 2 n E[X_i (X_1 + X_2 + \dots + X_n)][/tex]

I was just wondering, would I be able to use the following property of the chi square distribution:

2b87c537781cd265449ee4541fabf8ae.png
 
  • #4
cse63146 said:
[tex]X^2_i[/tex] is a chi-square distribution with n degrees of freedom (since there are n Xi) and it's expectation would be n

It would be a non-central Chi-square - but you don't need that. For any random variable what do you know about an expression for [tex] E[X^2] [/tex] in terms of the first two moments?
[tex]\overline{X} -> N(\mu, \frac{\sigma^2}{n})[/tex] is a noncentral chisquare distribution [tex]\frac{X^2_i}{\sigma^2 /n}[/tex] and it's expectation is n*sigma^2
I would make a comment similar to the first one here: you know the distribution of the sample mean, what do you know about the expectation of its square in terms of the first two moments?
Kinda stuck on this one: [tex]2E[X_i \bar X] = \frac 2 n E[X_i (X_1 + X_2 + \dots + X_n)][/tex]
Write it as
[tex]
\frac 2 n \left( E[X_i^2] + \sum_{j \ne i} E[X_i X_j]\right)
[/tex]
and remember that for [tex] i \ne j [/tex] the Xs are independent.
I was just wondering, would I be able to use the following property of the chi square distribution:

2b87c537781cd265449ee4541fabf8ae.png

You could - IF you have already obtained that result elsewhere in your class.
 
  • #5
Is this what you wre talking about:

[tex]E((X_i - \overline{X})^2)= \sigma^2 = E(X)^2 - E(X^2)[/tex]

not sure how that helps
 
  • #6
Actually, just the second part:
If
[tex]
\sigma^2=E[X^2] - \left(E[X]\right)^2
[/tex]

what does [tex] E[X^2] [/tex] itself equal?
 
  • #7
[tex]E(X^2_i) = \sigma^2 + E(X_i)^2 = \sigma^2 + (n \mu)^2[/tex]

Would the expectation for Xbar2 be equal to the expectation of of Xi?
 
  • #8
Why do you have

[tex]
E(X_i)^2 = (n\mu)^2
[/tex]

Should the [tex] n [/tex] really be there?

For [tex] E[\bar X^2] [/tex], remember that the sample mean is normally distributed with mean [tex] \mu [/tex] and variance [tex] \frac{\sigma^2} n [/tex].
 
  • #9
Isn't it because [tex]\Sigma E[X_i] = E[X_1] + ... + E[X_n] = n \mu[/tex] and each E[X] = mu, so there are n of them?
 
Last edited:
  • #10
I asked because you didn't have the sum. My point is that for any random variable that has a variance,

[tex]
E[X^2] = \sigma^2_X + \mu^2_x
[/tex]

that is - the expectation of the square equals the variance plus the square of the mean.
 

FAQ: Help with finding the expectation

What is the definition of expectation in science?

In science, expectation refers to the predicted or anticipated outcome of an experiment or study. It is often based on previous research or theoretical models.

How is expectation calculated in science?

In science, expectation is typically calculated by multiplying the probability of each possible outcome by the value of that outcome, and then summing these products. It is represented mathematically as E[X] = ΣxP(x), where E[X] is the expectation, x is the possible outcomes, and P(x) is the probability of each outcome.

Why is understanding expectation important in science?

Understanding expectation is important in science because it allows researchers to make predictions and evaluate the results of experiments. It also helps to determine the significance of findings and make informed decisions based on the expected outcomes.

How does expectation relate to hypothesis testing in science?

In hypothesis testing, the expectation is used as the null hypothesis, which is the expected outcome if there is no significant difference between groups or variables. The observed results are then compared to the expected outcome to determine if there is a significant difference and reject or fail to reject the null hypothesis.

Can expectation be used in all areas of science?

Yes, expectation can be used in all areas of science, from biology and chemistry to physics and psychology. It is a fundamental concept in statistics and is essential for making predictions and drawing conclusions from scientific research.

Similar threads

Back
Top