Register | Sign In


Understanding through Discussion


EvC Forum active members: 64 (9164 total)
6 online now:
Newest Member: ChatGPT
Post Volume: Total: 916,811 Year: 4,068/9,624 Month: 939/974 Week: 266/286 Day: 27/46 Hour: 2/2


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Statistics 101
Chiroptera
Inactive Member


Message 15 of 199 (386539)
02-22-2007 10:29 AM
Reply to: Message 1 by nator
02-21-2007 10:31 PM


Hi, scraf.
First, I have to point out that your situation is about probability, not statistics, which are different, although they are related and even overlap a bit.
I'm teaching the Introduction to Probability course this term. I've never taken nor taught a probability course before myself (although I have taken and taught statistics courses) so it's been jolly fun.
Taking a cue from the text, the first day I told the class that if I toss a fair coin, the probability that it will land heads is 1/2. Then I asked what did that sentence mean? Some (including myself) would say that it means that if I toss the coin a whole bunch of times, then about half the time the coin should land heads. But what does "about half the time" mean? In fact, it is entirely possible that if I toss a coin 100 times in a row, even if it is fair, I can get heads every time.
I also asked what it would mean if I only intended to toss the coin once. Or what does it mean that the probability of rain tomorrow will be 20%, given that tomorrow will only come once.
So I told them (being an honest sort) that we will develop the mathematical formalism for probability and then learn how to take real situatlions like coin tosses and dealing cards and translate them into the mathematics to calculate the probabilities, and I hoped they wouldn't notice that I never actually answer the original question.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 1 by nator, posted 02-21-2007 10:31 PM nator has replied

Replies to this message:
 Message 24 by nator, posted 02-22-2007 12:24 PM Chiroptera has replied

  
Chiroptera
Inactive Member


Message 31 of 199 (386599)
02-22-2007 3:27 PM
Reply to: Message 28 by PaulK
02-22-2007 2:45 PM


Re: Sorry, Crash
Ha! You are right. It took me a half hour playing with equations and drawing pictures of doors before I finally figured this out.
We are calculating the probability P(A|B) = P(A \cap B) / P(B), where A = door #1 is the winner and B = door #2 is a loser. In this case, P(A|B) = 1/2. But this isn't the Monty Hall problem. In the Monte Hall problem, B = the door shown is a loser, in which case (A \cap B) = A and P(B) = 1, and so P(A|B) = 1/3 still. (\cap is LaTeX for the set intersection symbol, the upside down U).
Gah. You really do have to be careful how you set these things up! (As the students in my class are finding out on the homework).
Man, this sounds like a good problem to bring up in class.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 28 by PaulK, posted 02-22-2007 2:45 PM PaulK has replied

Replies to this message:
 Message 46 by PaulK, posted 02-22-2007 6:14 PM Chiroptera has not replied

  
Chiroptera
Inactive Member


Message 53 of 199 (386666)
02-22-2007 8:26 PM
Reply to: Message 24 by nator
02-22-2007 12:24 PM


quote:
So, what do YOU think are the consequences of people not understanding probability?
A message board thread that redlines.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 24 by nator, posted 02-22-2007 12:24 PM nator has not replied

  
Chiroptera
Inactive Member


Message 96 of 199 (386759)
02-23-2007 1:26 PM
Reply to: Message 72 by cavediver
02-23-2007 4:11 AM


A little bit about conditional probabilities.
Oh,all right, cavediver, here goes.
Let's make up an example. Suppose that a lottery is run by choosing three one digit numbers with replacement. That is, there are 10 marbles with the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 written on them; on marble is randomly drawn from the cup; it is replaced, the cup is shaken, and the second is drawn; it is replaced, and a third is drawn. How many possible outcomes are there? Well, the first digit can be any of 10, the second can be any of 10, and the third can be any of 10. So the total number of outcomes is 103=1000. The possible outcomes are the set U={000, 001, 002, ..., 999}.
Now suppose that the lottery game that Alice chooses is to choose three digits, and she wins $100 if those three digits are drawn in any order. Suppose that Alice chooses the digits 123. Then she will win if the marbles that are drawn are A={123, 132, 213, 231, 312, 321}. That is, there are 6 possible ways she can win; the probability that the ticket is a winning ticket is 6/1000=0.006. Mathematically we express this as P(A)=0.006.
If Alice tries to sell you her ticket for $1, should you buy it? Well, 6 times out of 1000 you will win $100, and 994 times out of a thousand you will win $0, so on average you should win $0.60 (and so far my class has forgotten that I haven't really explained what this means, heh). So you will lose $0.40, on average, if you buy this $1 ticket.
Now suppose that, in order to ratchet up the excitement, the first marble is drawn at 10 a.m., the second at 12 noon, and the third at 2 pm. At 11 a.m., the first marble has been drawn, and it is 2. So we now know that the only going to be 100 possible outcomes: the first digit has been determined, there are still 10 possibilities for the second digit at noon, and 10 possible digits for the third in the afternoon. Furthermore, possible outcomes are B={200, 201, 202, ..., 299}.
Now, knowing that the first digit is 2, what is the probability that 123 will be the winning number? Well, the only possibilities of winning are (A and B) = {213, 231}; two possibilities, but there are now only 100 possible outcomes. Thus, knowing now that B has occurred, that is, that the first digit is 2, the probability of winning is P(A|B)=2/100 = 0.02.
This is not a nonsense situation, because now if Alice tries to sell you her ticket for $1, since your winnings now have an expected value of $2 this is a good buy; you will, "on average" earn a $1 profit.
This is how good poker players make money; they apply conditional probabilities, determining the likelihood of completing a good hand based on the information (the cards that are showing) that they have.
Now it is 3 p.m., and we are now told that Alice had the winning ticket all along. Thus, we know that the drawing was either 213 or 231: C={213, 231}. Now we know for sure that Alice's ticket won: P(A|C)=1. It is left as an exercise for the reader to determine whether one should now buy the ticket if Alice still offers it for $1.
-
So that is what is going on in the discussion. This is exactly the sorts of things that Pascal and Fermat discussed in their correspondance that invented probability theory; from the very beginning they were discussing various probabilities given various information that would already be known. They were discussing gambling problems, and, as Modulous the poker player knows, when trying to determine whether one stays in the hand or drops out one has to make decisions based on information that one has at that moment. In fact, even the original probability of 6/1000 can be written as a conditional probability: P(A|U)=0.006, the probability that 123 is a winning ticket number given that any outcome is possible.
So the question is, what are the odds that my ticket will win Powerball? Well, without any other information, it is 1 in 146 million (assuming that is the correct figure). But the question, what is the probability that my ticket is the winning ticket given that I already know that it is the winning ticket? Well, that is a completely trivial question, silly really, but nontheless one that is mathematically reasonable and, in fact, we can even denote it mathematically: P(A|A)=1.
Of course, I think crashfrog is right: if someone says, "Alice won the Powerball yesterday! What are the odds of that happening?" I would interpret that to mean what were the odds before any information was known, or, in more precise mathematical terms, what are the odds of winning given that all outcomes are possible? I would not interpret that sentence as asking, "What is the probability that Alice wins given that we already know that Alice wins?" Mathematically reasonable (as Modulous et al. have been pointing out), but, as a real-life question that someone might ask, pretty silly.
-
From schraf's OP:
The odds of winning the lotto can be a million to one, but if I win it on my first try, then those weren't my odds were they?
Well, the only way those aren't that person's odds are if the assumption all outcomes are equally likely is incorrect, that is, if the game is actually rigged in some way.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 72 by cavediver, posted 02-23-2007 4:11 AM cavediver has not replied

  
Chiroptera
Inactive Member


Message 106 of 199 (386797)
02-23-2007 5:25 PM
Reply to: Message 98 by crashfrog
02-23-2007 1:52 PM


time dependence and probabilities
quote:
Your whole point hinges on a time-dependency - two different sets of odds, one for the event before it's happened, and one set for afterwards.
There is actually a time dependence, but what is changing with time is the question that is being asked.
In the Monte Hall problem, the original question is what is the probability that the prize is behind door #3?. Implied is the additional phrase given no other information. In that case, the probability is 1/3. It will always be 1/3 throughout the game.
But then the contestant chooses door #1 and Monte Hall opens door #2. Now the question has just changed to what is the probability that the prize is behind door #3 given that the contestant has chosen door #1 and Monte has opened door #2. In this case the answer is 2/3. You are correct in that the probability function has not changed; what has changed is the question being asked.
Now, no matter when during the game we ask, even after the game is over and the prize has been revealed, the answer to the question what is the probability that the prize is behind door #3 (given no other information) was and always will be 1/3.
Also, no matter when during the game we ask, even before the game has even begun, the answer to the question what is the probability that the prize is behind door #3 given that the contestant has chosen door #1 and Monte has opened door #2 is and always has been 2/3.
In mathematical terms, if A is the event the prize is behind door #3 and B is the event the contestant chooses door #1 and Monte opens door #2, then the difference is between P(A)=1/3 and P(A|B)=2/3.
However, which question is relevant may depend on when you ask it.
I don't know if this clears anything up, or just muddies things further.
Added by edit:
Just to emphasize the point,
P(A)=1/3 before the game starts, P(A)=1/3 after the contestant has chosen her door (no matter which), P(A)=1/3 after Monte Hall has opened one of the other doors (no matter which), and P(A)=1/3 after the prize has been revealed.
P(A|B)=2/3 before the game starts, P(A|B)=2/3 after the contestant has chosen her door (no matter which), P(A|B)=2/3 after Monte Hall has opened one of the other doors (no matter which), and P(A|B)=2/3 after the prize has been revealed.
I will note that it still makes sense mathematically to ask what is the probability that the prize is behind door #3 given that the contestant has chosen door #1 and Monte has opened door #2 even if the contestant has chosen door #2 which ended up containing the prize and Monte opened door #1, although I don't think that in this case anyone would have been interested in asking this question. However, it sharpens the point that the probability function does not change.
Additional edit:
Hee hee hee. What a great take-home exam this problem is going to make for my class.
Edited by Chiroptera, : No reason given.
Edited by Chiroptera, : No reason given.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 98 by crashfrog, posted 02-23-2007 1:52 PM crashfrog has not replied

  
Chiroptera
Inactive Member


Message 118 of 199 (387010)
02-25-2007 10:32 AM
Reply to: Message 117 by sidelined
02-25-2007 10:28 AM


Re: Probabilities - not that hard, people
That's not entirely correct (unless I am not reading your post correctly).
If your buddy just came up to you and said, "Wow! I just won the lottery! What were the odds of that happening?" In that case, 1 in 146 million would be the correct answer.
Again, the mathematics are very straight forward (at least to a mathematician, heh). What is goofy is the ambiguity of so-called "plain English".

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 117 by sidelined, posted 02-25-2007 10:28 AM sidelined has replied

Replies to this message:
 Message 147 by sidelined, posted 02-27-2007 5:48 PM Chiroptera has not replied

  
Chiroptera
Inactive Member


Message 130 of 199 (387143)
02-26-2007 1:49 PM
Reply to: Message 129 by crashfrog
02-26-2007 1:27 PM


quote:
Because the die generates conceivably any number, I'm not quite sure how to figure out the probabilities. What are the odds of rolling higher than 5? 10? 15?
This part is fairly easy. To roll 1 through 9, you cannot roll a 10; hence, you roll only once. The probability of 1 through 9 is 1/10.
To roll 10 is impossible: if you get a 10, you roll again; if your roll less than a 10 you don't get to roll again.
11-19, you have to roll a 10 and then 1-9, so the probability for each of these is 1/10 * 1/10 = 1/100.
20, or any multiple of 10, is impossible if you think about it.
To roll 10*n+k (where k is 1 through 9) will be (1/10)^(n+1).
I'll have to think about the other question; class is coming up in a couple of minutes (Intro to Probability, ironically).

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 129 by crashfrog, posted 02-26-2007 1:27 PM crashfrog has not replied

  
Chiroptera
Inactive Member


Message 133 of 199 (387150)
02-26-2007 3:14 PM
Reply to: Message 129 by crashfrog
02-26-2007 1:27 PM


quote:
Further, in this game you can roll multiple dice and keep the highest result. What are the odds of beating 10 and 15 if you roll 2 dice and keep 1? 4 dice and keep 1?
Oops. I just noticed that PaulK already answered this one.
Damn, these are good test questions! I gave this problem to my colleague who is teaching the statistics course, and he might make use of it, too.

Actually, if their god makes better pancakes, I'm totally switching sides. -- Charley the Australopithecine

This message is a reply to:
 Message 129 by crashfrog, posted 02-26-2007 1:27 PM crashfrog has not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024