Go to Post I know nothing. - Erin Rapacki [more]
Home
Go Back   Chief Delphi > Other > Math and Science
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-06-2016, 18:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Statistics/Probability Quiz




If a fair die is thrown 420 times, what's the probability of getting exactly 70 of each number (1 thru 6)?



Reply With Quote
  #2   Spotlight this post!  
Unread 18-06-2016, 19:10
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 501
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Re: Statistics/Probability Quiz

I'm gonna try this one:
Here goes my logic:

Let's say we order the 420 rolls and first require that they be in the exact order of 70 1's first, 70 2's second, etc.

Then, the probability of getting this exact order is (1/6)^420

Now, let's say we start flip-flopping these around, with a specific rule: you can only switch with a number later in the sequence that isn't the same as the one you already have. This takes care of duplicate scenarios. So, for the 1's, you can flip each one with 420-70 = 350 different positions.

The way to calculate that would be:
(1/6)^70 *(420-1*70) +
(1/6)^70 *(420-2*70) +
...
(1/6)^70 *(420-6*70) = 3.55*10^(-52)

The 70 exponents are because each group of 70 has that chance of being picked that way.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #3   Spotlight this post!  
Unread 18-06-2016, 19:28
smitikshah's Avatar
smitikshah smitikshah is offline
Drive Coach
AKA: Smiti
FRC #2869 (Regal Eagles)
Team Role: Coach
 
Join Date: Dec 2015
Rookie Year: 2015
Location: New York
Posts: 153
smitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond repute
Re: Statistics/Probability Quiz

Man I looked at it thinking it was so easy but boy was I wrong.

Alright this is my input (likely wrong but still something):

1.398*10^-8

This is just a generalization of Bernoulli, no?
6*((420c70)(1/6)^70(5/6)^350)

and then that's just the ways you can get them in one order. Raise that to the sixth? (just adjusting by a huge factor to take into consideration that order does't matter - still trying to think this part through).

And finally I got: (1.398*10^-8)^6! (basically 0)

This is like 99% wrong though, I'm still working on it. Will report back soon with new discoveries.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 18-06-2016, 19:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by Hitchhiker 42 View Post
= 3.55*10^(-52)
Try your computation method for the greatly simplified case of an imaginary fair 4-sided die* being rolled 8 times, and getting exactly 2 of each (1,2,3,4).

Then compare your answer to the actual answer which can easily be brute-force computed with a simple C program to be 2520/65536.



* for a 4-sided die, the value for each roll would be the side facing downward

Last edited by Ether : 18-06-2016 at 19:53.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-06-2016, 19:49
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,614
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Statistics/Probability Quiz

How about this:

Throwing the die 420 times, there are 6[sup]420[/sub] possibilities (no sorting or counting, just a list of 420 digits).

To get exactly 70 ones, this is the number of combinations of 70 items taken from the 420:
Code:
 420! / (70! * (420-70)!) = 420! / (70! * 350!)
This tells you which of each roll was a one.

To get exactly 70 twos, this is the number of combinations of 70 items taken from the remaining 350: 350! / (70! * 280!). This tells you which of each roll that was not a one was a two.

Threes: 280! / (70! * 210!)
Fours: 210! / (70! * 140!)
Fives: 140! / (70! * 70!)
Sixes: 70! / (70! * 0!) [yes there is only one way]

So, the probability of getting exactly 70 of each is the product of the combinations of getting exactly 70 of each number, divided by all the combinations. Noting that the two 350!'s cancel, as do the 280!s, etc., this leaves:

Code:
420! / (70!6 * 6420)
Plugging all this into MS Calculator, I get 5.99 x 10-7, or one in a bit under 1,668,000.

I expected it to be long, but not quite that long. Let's try that for smaller numbers of throws (multiplied by a milllion for simplicity):
6: 15,432
12: 3,438
18: 1,351
60: 74.6
120: 13.5

The numbers make sense and seem to follow a reasonable progression.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-06-2016, 19:52
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,929
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Statistics/Probability Quiz

It's relatively straightforward to determine the probability that exactly 70 of the 420 rolls are ones (a simple binomial distribution problem). Next, it's relatively straightforward to determine the probability that exactly 70 of the remaining 350 are twos, etc. Using this method, I calculated the probability to be 5.9960458e-7.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #7   Spotlight this post!  
Unread 18-06-2016, 20:05
smitikshah's Avatar
smitikshah smitikshah is offline
Drive Coach
AKA: Smiti
FRC #2869 (Regal Eagles)
Team Role: Coach
 
Join Date: Dec 2015
Rookie Year: 2015
Location: New York
Posts: 153
smitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by Basel A View Post
It's relatively straightforward to determine the probability that exactly 70 of the 420 rolls are ones (a simple binomial distribution problem). Next, it's relatively straightforward to determine the probability that exactly 70 of the remaining 350 are twos, etc. Using this method, I calculated the probability to be 5.9960458e-7.
Ahh whoops I see my error. I just did binomial for all of them without subtracting 70 each time like a fool.

Now I got 5.99*10^-7 as well. Weird - I thought it would need to be much closer to 0.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 18-06-2016, 20:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by GeeTwo View Post
...I get 5.99 x 10-7...
Quote:
Originally Posted by Basel A View Post
...5.9960458e-7...
Nice work guys.


Reply With Quote
  #9   Spotlight this post!  
Unread 18-06-2016, 20:20
smitikshah's Avatar
smitikshah smitikshah is offline
Drive Coach
AKA: Smiti
FRC #2869 (Regal Eagles)
Team Role: Coach
 
Join Date: Dec 2015
Rookie Year: 2015
Location: New York
Posts: 153
smitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond reputesmitikshah has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by Ether View Post
Nice work guys.


Was there a certain reason for this question? Just wondering - seems a bit random.
__________________
Reply With Quote
  #10   Spotlight this post!  
Unread 18-06-2016, 20:24
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by smitikshah View Post
Was there a certain reason for this question? Just wondering - seems a bit random.
Just a summer diversion.

Hopefully there's a student or two out there in CD land who was inspired by this discussion to do a bit of summer reading about statistics and/or probability.


Reply With Quote
  #11   Spotlight this post!  
Unread 18-06-2016, 20:32
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 501
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Re: Statistics/Probability Quiz

Quote:
Originally Posted by Ether View Post
Just a summer diversion.

Hopefully there's a student or two out there in CD land who was inspired by this discussion to do a bit of summer reading about statistics and/or probability.


Probably me now. I've got a Cartoon Guide to Stats that I should pick up this summer.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #12   Spotlight this post!  
Unread 18-06-2016, 21:48
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,614
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Statistics/Probability Quiz

If you're interested in looking for other quizzes, just search for threads with Quiz in the title (on advanced search). Ether has a bunch of them, ranging over Math, Physics, and even Geekdom, and there are a bunch of others out there as well.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #13   Spotlight this post!  
Unread 18-06-2016, 23:09
euhlmann's Avatar
euhlmann euhlmann is online now
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 350
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Statistics/Probability Quiz

Quote:
Originally Posted by Ether View Post



If a fair die is thrown 420 times, what's the probability of getting exactly 70 of each number (1 thru 6)?



Alright, not looking at any of the posts yet, this question looks like it's essentially "how many ways can you arrange 70 each of 6 options"

The formula for permutations with repetition is
Code:
n!/(n1! * n2! * ... * ni!)
So we have
Code:
n!/(n1! * n2! * ... * n6!) = (420!)/(70!)^6
So that's the total number of ways to get 70 exactly of 1 to 6.
To find the probability, divide by total number of ways to throw the dice, which is 6^420 since there are 6 options on each of 420 steps.

I get 5.99605*10^-7
In conclusion, not likely to happen

Edit: looks like I came a bit late to this thread
But it also looks like other people got the same thing. I guess this is correct then.
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org

Last edited by euhlmann : 18-06-2016 at 23:11.
Reply With Quote
  #14   Spotlight this post!  
Unread 19-06-2016, 00:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by euhlmann View Post
...
Nicely done!

So we have identified 3 different solutions.


Attached Thumbnails
Click image for larger version

Name:	Statistics_Probability_Quiz.png
Views:	39
Size:	6.9 KB
ID:	20854  
Reply With Quote
  #15   Spotlight this post!  
Unread 20-06-2016, 14:07
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,054
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: Statistics/Probability Quiz

Quote:
Originally Posted by smitikshah View Post
Was there a certain reason for this question? Just wondering - seems a bit random.
It had to be random or it wouldn't have been a probability question.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi