Variance of binomial distribution - 1 trial

Click For Summary

Homework Help Overview

The discussion revolves around understanding the variance of a binomial distribution, specifically focusing on the variance of a single trial, denoted as Var[X_i]. Participants are examining the relationship between the expected value and variance in the context of independent trials.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the variance using the definition and expresses confusion over the calculation leading to a contradiction with lecture notes. Other participants question the assumptions made in the calculations, particularly regarding independence and the nature of the expected value.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the variance calculation. Some guidance has been offered regarding the correct approach to calculating expected values, but no consensus has been reached yet.

Contextual Notes

Participants are grappling with the definitions and properties of variance in the context of binomial trials, with specific attention to the implications of independence and the nature of the random variable involved.

operationsres
Messages
99
Reaction score
0

Homework Statement



For n trials, [itex]S_n[/itex] can be seen as the sum of n independent single trials [itex]X_i[/itex], i = 1,2,...,n, with [itex]\mathbb{E}[X_i][/itex]=p and Var[itex][X_i]=p(1-p)[/itex].2. What I don't understand

I don't understand why Var[itex][X_i]=p(1-p)[/itex].

We know that: Var[itex][X_i]=\mathbb{E}[(X_i - \mathbb{E}[X_i])^2] = \mathbb{E}[X_i^2 - 2X_i\mathbb{E}[X_i] + \mathbb{E}[X_i]^2] = \mathbb{E}[X_i^2] - \mathbb{E}[X_i]^2[/itex].

Taking [itex]\mathbb{E}[X_i]^2[/itex], we have [itex]\mathbb{E}[X_i]^2=p^2[/itex].

Taking [itex]\mathbb{E}[X_i^2][/itex], we have [itex]\mathbb{E}[X_i^2]=\mathbb{E}[\prod_{i=1}^2X_i] = \prod_{i=1}^2 \mathbb{E}[X_i] = \mathbb{E}[X_i]^2 = p^2[/itex].

So Var[itex][X_i]= p^2 - p^2 = 0 \not= p(1-p)[/itex], which contradicts what my lecture notes say.
 
Physics news on Phys.org
operationsres said:

Homework Statement



For n trials, [itex]S_n[/itex] can be seen as the sum of n independent single trials [itex]X_i[/itex], i = 1,2,...,n, with [itex]\mathbb{E}[X_i][/itex]=p and Var[itex][X_i]=p(1-p)[/itex].


2. What I don't understand

I don't understand why Var[itex][X_i]=p(1-p)[/itex].

We know that: Var[itex][X_i]=\mathbb{E}[(X_i - \mathbb{E}[X_i])^2] = \mathbb{E}[X_i^2 - 2X_i\mathbb{E}[X_i] + \mathbb{E}[X_i]^2] = \mathbb{E}[X_i^2] - \mathbb{E}[X_i]^2[/itex].

Taking [itex]\mathbb{E}[X_i]^2[/itex], we have [itex]\mathbb{E}[X_i]^2=p^2[/itex].

Taking [itex]\mathbb{E}[X_i^2][/itex], we have [itex]\mathbb{E}[X_i^2]=\mathbb{E}[\prod_{i=1}^2X_i] = \prod_{i=1}^2 \mathbb{E}[X_i] = \mathbb{E}[X_i]^2 = p^2[/itex].

So Var[itex][X_i]= p^2 - p^2 = 0 \not= p(1-p)[/itex], which contradicts what my lecture notes say.

No, [itex]E X_i^2 \neq p^2.[/itex] In fact, [itex]E f(X_i) = \sum_{k} P\{X_i = k\} f(k)[/itex] for any function f, so we get [itex]E X_i^2 = p.[/itex]

RGV
 
Enlightening post, thank you.

I guess my error was assuming that X_i was independent in:
[itex]\mathbb{E}[X_i^2]=\mathbb{E}[\prod_{i=1}^2X_i] = \prod_{i=1}^2 \mathbb{E}[X_i] = \mathbb{E}[X_i]^2 = p^2[/itex].?But they're the same event so that would be non-sensical...
 
Use the definition of variance of a discrete variable.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
Replies
0
Views
1K
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K