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
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
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].