Ironpants
Ironpants
  • Threads: 1
  • Posts: 2
Joined: Apr 1, 2010
April 1st, 2010 at 6:03:16 AM permalink
Please explain and keep it simple.
boymimbo
boymimbo
  • Threads: 17
  • Posts: 5994
Joined: Nov 12, 2009
April 1st, 2010 at 6:06:37 AM permalink
Variance.
----- You want the truth! You can't handle the truth!
Ironpants
Ironpants
  • Threads: 1
  • Posts: 2
Joined: Apr 1, 2010
April 1st, 2010 at 6:10:11 AM permalink
try me.
DJTeddyBear
DJTeddyBear
  • Threads: 207
  • Posts: 10992
Joined: Nov 2, 2009
April 1st, 2010 at 6:25:51 AM permalink
"Vairance" is just about the most simple was of explaining standard deviation.

Suppose you roll the dice 6 million times. The expectation is 1 million of those rolls will be a 7. In reality, it will usually be slightly more or less than 1 million. That's the deviation.

For a more detailed, complete explaination, go to http://en.wikipedia.org/wiki/Standard_deviation
When you get done with that, check out http://en.wikipedia.org/wiki/Variance
I invented a few casino games. Info: http://www.DaveMillerGaming.com/ ————————————————————————————————————— Superstitions are silly, childish, irrational rituals, born out of fear of the unknown. But how much does it cost to knock on wood? 😁
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9579
Joined: Nov 9, 2009
April 1st, 2010 at 6:58:05 AM permalink
Ironpants, wait till somebody says standard deviation is the square root of the variance, like that means something, if you really want to get ticked off!

What I don't really get is how to use the information. If the standard deviatiion is X, what does that tell me? Oh, squared it's the variance? [g] To me it's the case of the naked number. The number is 3, let's say, but 3 what Mister?
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
DJTeddyBear
DJTeddyBear
  • Threads: 207
  • Posts: 10992
Joined: Nov 2, 2009
April 1st, 2010 at 7:21:21 AM permalink
It just occured to me that IronPants' reply of "Try me" is in response to BoyMimbo's SIGNATURE!

LOL
I invented a few casino games. Info: http://www.DaveMillerGaming.com/ ————————————————————————————————————— Superstitions are silly, childish, irrational rituals, born out of fear of the unknown. But how much does it cost to knock on wood? 😁
PapaChubby
PapaChubby
  • Threads: 11
  • Posts: 495
Joined: Mar 29, 2010
April 1st, 2010 at 7:44:54 AM permalink
Standard deviation and variance are both mathematical measures of the amount of uncertainty in a result. The larger the standard deviation, the more uncertainty there is.

For example: if a fair coin is flipped 100 times, it should be fairly obvious that the average number of heads that will appear is 50. Let's say I offer you an even-money bet that the number of heads will be between 40 and 60 for a particular trial. If it's within this range, I win; outside, you win. Should you accept this bet? In order to make an informed decision, you need to know something about the uncertainty of the result, and standard deviation is the tool you would use. In this case, the standard deviation is 5. So it is likely that the number of heads will be between 45 and 55 (within one SD of the mean), extremely likely that the result will be between 40 and 60 heads (within two SD's of the mean), and almost certain that the result will be between 35 and 65 heads (within 3 SD's of the mean). For this particular game, there is about a 95% probability that the number of heads will be between 40 and 60, so it would not be smart for you to accept an even money bet. You should be looking for something like 20:1 odds for a fair game.

The particular value of standard deviation is that the units are the same as the quantity that you are measuring. What's the historical temperature distribution in Chicago on April 1? The average is 53 degrees F, with a standard deviation of 8 degrees F. How much does an adult man weigh? The average is 210 lbs, with a SD of 23 lbs. How much money does a beekeeper with 10 years of experience make? The average is $42K, with a SD of $3500. BTW, I'm making all these number up. Just providing some examples of how SD is used and what the units are.
RaleighCraps
RaleighCraps
  • Threads: 79
  • Posts: 2501
Joined: Feb 20, 2010
April 1st, 2010 at 8:05:40 AM permalink
Well done PapaChubby. Based on my other readings I thought that was how it worked, but you said it in plain English for us dummies.
Always borrow money from a pessimist; They don't expect to get paid back ! Be yourself and speak your thoughts. Those who matter won't mind, and those that mind, don't matter!
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9579
Joined: Nov 9, 2009
April 1st, 2010 at 12:14:04 PM permalink
Quote: RaleighCraps

Well done PapaChubby. Based on my other readings I thought that was how it worked, but you said it in plain English for us dummies.



Praise likewise from me. I subscribed to this thread so I can easily find this again. Thanks!
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
pacomartin
pacomartin
  • Threads: 649
  • Posts: 7895
Joined: Jan 14, 2010
April 1st, 2010 at 5:15:15 PM permalink
Quote: PapaChubby


For example: if a fair coin is flipped 100 times, it should be fairly obvious that the average number of heads that will appear is 50. In this case, the standard deviation is 5.

For this particular game, there is about a 95% probability that the number of heads will be between 40 and 60, so it would not be smart for you to accept an even money bet. You should be looking for something like 20:1 odds for a fair game.

BTW, I'm making all these number up. Just providing some examples of how SD is used and what the units are.



Actually, you did correctly calculate the Standard deviation for 100 coin tosses. It is exactly 5. The general formula is SQUARE ROOT ( 0.25*N) where N is the number of coin tosses.

The probability of being within 2 standard deviations (i.e. 40 to 60 ) is also correctly calculated as 95%.

In probability of being within 1 standard deviations (i.e. 45 to 55 ) is about 68% so there would be hefty house advantage if you take an even money bet where your position is that it will fall outside of that range.

Try this variant. Flip a coin 400 times (or use the =INT(2*RAND()) in 400 cells in a long column in Excel which is much faster. What are the odds of getting a streak of 7 or more in row? Which side of an even money bet should you take (yes or no). If you are a little bit clever you can program auxiliary columns to tell you what the longest streak is for a calculation (the F9 button on PC's recalculates the spreadsheet and gives you new random numbers). If you program it, it saves you the trouble of looking down the column and counting the length of the streaks.

When you've done that consider the similar question of a streak of 8 or more in a row.
PapaChubby
PapaChubby
  • Threads: 11
  • Posts: 495
Joined: Mar 29, 2010
April 1st, 2010 at 7:43:48 PM permalink
Quote: pacomartin

Actually, you did correctly calculate the Standard deviation for 100 coin tosses. It is exactly 5. The general formula is SQUARE ROOT ( 0.25*N) where N is the number of coin tosses.

The probability of being within 2 standard deviations (i.e. 40 to 60 ) is also correctly calculated as 95%.

In probability of being within 1 standard deviations (i.e. 45 to 55 ) is about 68% so there would be hefty house advantage if you take an even money bet where your position is that it will fall outside of that range.

Try this variant. Flip a coin 400 times (or use the =INT(2*RAND()) in 400 cells in a long column in Excel which is much faster. What are the odds of getting a streak of 7 or more in row? Which side of an even money bet should you take (yes or no). If you are a little bit clever you can program auxiliary columns to tell you what the longest streak is for a calculation (the F9 button on PC's recalculates the spreadsheet and gives you new random numbers). If you program it, it saves you the trouble of looking down the column and counting the length of the streaks.

When you've done that consider the similar question of a streak of 8 or more in a row.



OK, ya got me. I was only making up the numbers in the last paragraph about temperatures, weights and salaries.

As for your puzzle, it doesn't have anything to do with standard deviations, but I think I'd calculate this way:

The chances that a streak of 7 heads in a row starting on any particular flip is (1/2)^7 = 1/128.

The chances that this streak does not start on any particular flip is 1 - (1/128) = 127/128.

The chances that this streak does not start on any of the 393 flips where it could start is (127/128)^393 = 4.585%

So the chances of having at least one streak is 100% - 4.585% = 95.415%

You should definitely take an even money bet that at least one streak will occur.

For a streak of 8, the probability is 78.4%. Still a good bet.

For a streak of 9, the probability is 53.4%. Now a reasonably fair bet.
PapaChubby
PapaChubby
  • Threads: 11
  • Posts: 495
Joined: Mar 29, 2010
April 1st, 2010 at 7:45:57 PM permalink
Quote: RaleighCraps

Well done PapaChubby. Based on my other readings I thought that was how it worked, but you said it in plain English for us dummies.



Quote: odiousgambit

Praise likewise from me. I subscribed to this thread so I can easily find this again. Thanks!



Thanks for the kind words. I'm new here (but have been an avid follower of the Wizard for many years). I'm happy I could help!
mustangsally
mustangsally
  • Threads: 25
  • Posts: 2463
Joined: Mar 29, 2011
March 23rd, 2012 at 1:44:53 PM permalink
removed
silly
I Heart Vi Hart
  • Jump to: