Solving Variance Problem: Computing E(\hat{\theta}) and E(\hat{\theta}^2)

  • Context: Graduate 
  • Thread starter Thread starter mnb96
  • Start date Start date
  • Tags Tags
    Variance
Click For Summary

Discussion Overview

The discussion revolves around the computation of the variance of an estimator \(\hat{\theta}\) derived from independent random variables \(z_i\) defined as \(z_i = \theta + v_i\), where \(v_i\) are zero-mean normal distributions. Participants are exploring the calculations of \(E(\hat{\theta})\) and \(E(\hat{\theta}^2)\) and identifying errors in the variance computation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the formula for the estimator \(\hat{\theta}\) and attempts to compute its variance, initially concluding that it equals zero.
  • Another participant points out an error in the computation, specifically noting that the term \(v_i^2\) was omitted from the calculations.
  • A later reply acknowledges the mistake and confirms that \(E(v_i^2)\) is indeed greater than zero, leading to the conclusion that \(E(v_i^2) = \sigma^2\).

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct computation of the variance, as there is an identified error that needs to be addressed. The discussion remains unresolved regarding the final calculation of the variance.

Contextual Notes

The discussion highlights the importance of including all relevant terms in variance calculations, particularly when dealing with random variables and their distributions. The participants are navigating through the implications of omitted terms in their mathematical reasoning.

mnb96
Messages
711
Reaction score
5
Hello,
we are given N independent random variables [itex]z_i[/itex] defined as follows:

[tex]z_i = \theta + v_i[/tex]

where the r.v. [itex]v_i[/itex] are zero-mean normal distributions [itex]v_i \sim N(0,\sigma^2)[/itex].

I want to compute the variance of the estimator

[tex]\hat{\theta}=\frac{1}{n}\sum_{i=1}^n z_i[/tex]

However I can't seem to get the right result (I get always zero).

I computed first [itex]E(\hat{\theta})^2=\theta^2[/itex].

Then I try to compute [itex]E(\hat{\theta^2})[/itex] as follows:

[tex]\frac{1}{n^2}E\left[\left(\sum_{i=1}^n z_i \right)^2\right] = \frac{1}{n^2}E\left[\left(\sum_{i=1}^n (z_i)^2 \right) + \left(\sum_{i=1}^n z_i \right) \left( \sum_{j\neq i} z_j \right) \right][/tex]

[tex]= \frac{1}{n^2}E\left[\sum_{i=1}^n z_i^2 \right] + \frac{n-1}{n}\theta^2[/tex]

[tex]= \frac{1}{n^2}E\left[\sum_{i=1}^n (\theta^2 +2\theta v_i + v_i^2) \right] + \frac{n-1}{n}\theta^2[/tex]

[tex]= \frac{1}{n}\theta^2 + \frac{n-1}{n}\theta^2[/tex]

From this we get [tex]Var(\hat{\theta})=E(\hat{\theta}^2)-E(\hat{\theta})^2 = 0[/tex].
Where is the mistake?
 
Physics news on Phys.org
mnb96 said:
[tex]\frac{1}{n^2}E\left[\sum_{i=1}^n (\theta^2 +2\theta v_i + v_i^2) \right] + \frac{n-1}{n}\theta^2[/tex]

[tex]= \frac{1}{n}\theta^2 + \frac{n-1}{n}\theta^2[/tex]

This is wrong. You dropped the [itex]v_i^2[/itex] term.
 
uh...that's true! Thanks.

[tex]E(v_i^2) = \frac{1}{\sqrt{2\pi \sigma^2}}\int_\mathbb{R} x^2 e^\frac{-x^2}{2\sigma^2} dx[/tex]

This integral is indeed [tex]> \\ 0[/tex]
 
Last edited:
mnb96 said:
uh...that's true! Thanks.

[tex]E(v_i^2) = \frac{1}{\sqrt{2\pi \sigma^2}}\int_\mathbb{R} x^2 e^\frac{-x^2}{2\sigma^2} dx[/tex]

This integral is indeed [tex]> \\ 0[/tex]

In fact, [itex]E(v_i^2) = \sigma^2[/itex].
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
4K
  • · Replies 42 ·
2
Replies
42
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K