Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2006, 03:19 AM
Lyric Lyric is offline
Senior Member
 
Join Date: Feb 2006
Location: Iowa
Posts: 783
Default Standard Deviation

What is the Std Dev of a series of random coin flips?

http://www.agribiz.com/merchdiz/cointoss/cointoss.html
Reply With Quote
  #2  
Old 11-02-2006, 03:49 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: Standard Deviation

[ QUOTE ]
What is the Std Dev of a series of random coin flips?

http://www.agribiz.com/merchdiz/cointoss/cointoss.html

[/ QUOTE ]

The standard deviation of the number of heads in N flips of a fair coin is sqrt(N)/2.

Proof: Let X be a random variable that takes the value +1 on a head, and 0 on a tail.

E(X) = (1/2)*1 + (1/2)*0 = 1/2

Var(X) = E(X^2) - [E(X)]^2

= (1/2)*1^2 + (1/2)*0^2 - (1/2)^2

= 1/4

The variance of X for N flips is N*Var(X) = N/4.

The standard deviation for N flips is sqrt(N/4) = sqrt(N)/2.

This is the standard deviation of a binomial distribution with p = 1/2. The standard deviation of a general binomial distribution is sqrt[N*p*(1-p)], which we can derive the same way as above. For p = 1/2, this is sqrt[N*(1/2)*(1/2)] = sqrt(N/4) = sqrt(N)/2.
Reply With Quote
  #3  
Old 11-02-2006, 05:03 AM
Lyric Lyric is offline
Senior Member
 
Join Date: Feb 2006
Location: Iowa
Posts: 783
Default Re: Standard Deviation

[ QUOTE ]
[ QUOTE ]
What is the Std Dev of a series of random coin flips?

http://www.agribiz.com/merchdiz/cointoss/cointoss.html

[/ QUOTE ]

The standard deviation of the number of heads in N flips of a fair coin is sqrt(N)/2.

Proof: Let X be a random variable that takes the value +1 on a head, and 0 on a tail.

E(X) = (1/2)*1 + (1/2)*0 = 1/2

Var(X) = E(X^2) - [E(X)]^2

= (1/2)*1^2 + (1/2)*0^2 - (1/2)^2

= 1/4

The variance of X for N flips is N*Var(X) = N/4.

The standard deviation for N flips is sqrt(N/4) = sqrt(N)/2.

This is the standard deviation of a binomial distribution with p = 1/2. The standard deviation of a general binomial distribution is sqrt[N*p*(1-p)], which we can derive the same way as above. For p = 1/2, this is sqrt[N*(1/2)*(1/2)] = sqrt(N/4) = sqrt(N)/2.

[/ QUOTE ]

I'm probably using the formula incorrectly, but if I flip a coin 100k times I get Std Dev = 158.

If I flip it 1mm times I get Std Dev = 500

This doesn't make sense.
Reply With Quote
  #4  
Old 11-02-2006, 05:22 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: Standard Deviation

[ QUOTE ]
I'm probably using the formula incorrectly, but if I flip a coin 100k times I get Std Dev = 158.

If I flip it 1mm times I get Std Dev = 500

This doesn't make sense.

[/ QUOTE ]

That's correct. A million is 10 times greater than 100K, so the standard deviation will be sqrt(10) times greater. Why do you think it doesn't make sense?
Reply With Quote
  #5  
Old 11-02-2006, 05:28 AM
Lyric Lyric is offline
Senior Member
 
Join Date: Feb 2006
Location: Iowa
Posts: 783
Default Re: Standard Deviation

[ QUOTE ]
[ QUOTE ]
I'm probably using the formula incorrectly, but if I flip a coin 100k times I get Std Dev = 158.

If I flip it 1mm times I get Std Dev = 500

This doesn't make sense.

[/ QUOTE ]

That's correct. A million is 10 times greater than 100K, so the standard deviation will be sqrt(10) times greater. Why do you think it doesn't make sense?

[/ QUOTE ]

Ah. I understand. When I look at the STD DEV in my pokertracker stats, it is per hour or per 100 hands. That's the problem

What would the STD DEV be per 100 flips?
Reply With Quote
  #6  
Old 11-02-2006, 05:45 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: Standard Deviation

[ QUOTE ]
What would the STD DEV be per 100 flips?

[/ QUOTE ]

You tell me. Use the same formula.
Reply With Quote
  #7  
Old 11-03-2006, 10:29 AM
Lyric Lyric is offline
Senior Member
 
Join Date: Feb 2006
Location: Iowa
Posts: 783
Default Re: Standard Deviation

[ QUOTE ]
[ QUOTE ]
What would the STD DEV be per 100 flips?

[/ QUOTE ]

You tell me. Use the same formula.

[/ QUOTE ]

Thanks. Duh.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.