Go to Post You just have to care enough to give it a try. Your mentors will appreciate the effort. - Koko Ed [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 30-12-2013, 01:17
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 Quiz#1


OK, here's an off-season challenge for the stats gurus here on CD:

A computer equipped with a quantum noise random number generator is programmed to perform the following experiment: It flips a biased coin 2000 times and records the number of heads for that experiment. The coin is biased so that it is twice as likely to come up tails than heads for any given flip.

If the computer were to perform 100 of these experiments, what is the probability that more than 59 of those 100 experiments would each have fewer than 672 heads?



Last edited by Ether : 30-12-2013 at 01:38.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-12-2013, 13:24
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Statistics Quiz#1

You're retired, right? Otherwise you'd never have the time to come up with such devious (and interesting) problems.

Anyway, you can also look at the problem as having a 3 sided coin, and we're only interested in side B, not sides A or C.

I got a C in Statistics. 34 years ago.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 30-12-2013, 14:03
bduddy bduddy is offline
Registered User
FRC #0840 (ART)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2005
Location: San Bruno, CA
Posts: 869
bduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond repute
Re: Statistics Quiz#1

P(B(2000,1/3)<672) = .5929
P(B(100,.5929)>59) = .4855

Is this a rounding error of 1/2?
__________________

Does anyone else remember when TBA signatures actually worked?
Reply With Quote
  #4   Spotlight this post!  
Unread 30-12-2013, 17:36
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 Quiz#1

Quote:
Originally Posted by bduddy View Post
P(B(2000,1/3)<672) = .5929
P(B(100,.5929)>59) = .4855
Your approach looks correct, but your result for P(B(2000,1/3)<672) looks a bit off. What app did you use to compute the value .5929?


Reply With Quote
  #5   Spotlight this post!  
Unread 30-12-2013, 18:35
bduddy bduddy is offline
Registered User
FRC #0840 (ART)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2005
Location: San Bruno, CA
Posts: 869
bduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond reputebduddy has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Ether View Post
Your approach looks correct, but your result for P(B(2000,1/3)<672) looks a bit off. What app did you use to compute the value .5929?


Some web site, I can't remember. Trying another one gets me:

P(B(2000,1/3)<672) = .589957
P(B(100,.589957)>59) = .4616

No?
__________________

Does anyone else remember when TBA signatures actually worked?
Reply With Quote
  #6   Spotlight this post!  
Unread 30-12-2013, 19:05
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 Quiz#1

Quote:
Originally Posted by bduddy View Post
Some web site, I can't remember. Trying another one gets me:

P(B(2000,1/3)<672) = .589957
P(B(100,.589957)>59) = .4616

No?
Still no joy.

As in your first post, the second computation is correct, but the first is off a bit.

I suspect the web sites you are using implement algorithms which are not accurate for larger numbers.

But hey, you understood how to solve the problem. Reps to you!


PS:

I ran the numbers in Python, Octave, Scilab, and Maxima and they all agreed with each other out to ~12 sigfigs.

If anyone reading has access to Matlab and/or R, could you please post the result for:

p1 = binocdf(671,2000,1/3)


Reply With Quote
  #7   Spotlight this post!  
Unread 30-12-2013, 19:07
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 Quiz#1

Quote:
Originally Posted by DonRotolo View Post
You're retired, right?
Yeah, retired. I highly recommend it

Quote:
Otherwise you'd never have the time to come up with such devious (and interesting) problems.
I recently helped a friend through a tough stats course for his EdD. It got me interested in reading a couple of the neglected stats books in my library :-)

Quote:
Anyway, you can also look at the problem as having a 3 sided coin, and we're only interested in side B, not sides A or C.
Sure.

Quote:
I got a C in Statistics. 34 years ago.
I never took a stats course. Got interested in it later in life.



Last edited by Ether : 30-12-2013 at 19:12.
Reply With Quote
  #8   Spotlight this post!  
Unread 30-12-2013, 19:21
Richard Wallace's Avatar
Richard Wallace Richard Wallace is online now
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,650
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Ether View Post
Yeah, retired. I highly recommend it
...
I never took a stats course. Got interested in it later in life.
I hope all you young whippersnappers are paying attention out there.

Follow Ether's lead on this: concentrate on the physics while you are young, and save the statistics for your later career (or retirement). Too many engineers today rely on statistical inference to make decisions, when a relatively small dose of physics would have provided the required insight much more directly.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
Reply With Quote
  #9   Spotlight this post!  
Unread 30-12-2013, 21:15
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,573
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Richard Wallace View Post
I hope all you young whippersnappers are paying attention out there.

Follow Ether's lead on this: concentrate on the physics while you are young, and save the statistics for your later career (or retirement). Too many engineers today rely on statistical inference to make decisions, when a relatively small dose of physics would have provided the required insight much more directly.
Taking this approach served me well until I got to quantum mechanics, then it went really downhill that semester
Reply With Quote
  #10   Spotlight this post!  
Unread 30-12-2013, 21:40
s_forbes's Avatar
s_forbes s_forbes is offline
anonymous internet person
FRC #0842 (Falcon Robotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Phoenix, AZ
Posts: 1,134
s_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Richard Wallace View Post
Too many engineers today rely on statistical inference to make decisions, when a relatively small dose of physics would have provided the required insight much more directly.
Speaking as a process engineer, this is absurdly accurate.

Also, I feel bad that I ignored the mathematical analysis and my answer to the original question is "a tad less than 50%".

Last edited by s_forbes : 30-12-2013 at 21:48.
Reply With Quote
  #11   Spotlight this post!  
Unread 31-12-2013, 09:14
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Richard Wallace View Post
Follow Ether's lead on this: concentrate on the physics while you are young, and save the statistics for your later career (or retirement). Too many engineers today rely on statistical inference to make decisions, when a relatively small dose of physics would have provided the required insight much more directly.
I have a feeling there's a story behind this. Anything you can share?

(I'd say statistics are extremely useful in quality management for high-volume production, in processes that have already been well-characterized and refined. But that's probably not the scenario being criticized.)
Reply With Quote
  #12   Spotlight this post!  
Unread 31-12-2013, 09:49
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,573
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Tristan Lall View Post
I have a feeling there's a story behind this. Anything you can share?

(I'd say statistics are extremely useful in quality management for high-volume production, in processes that have already been well-characterized and refined. But that's probably not the scenario being criticized.)
For that, I'd just let your company pay for all the six-sigma (lol) training, which would cover everything you need to know.
Reply With Quote
  #13   Spotlight this post!  
Unread 31-12-2013, 09:50
Richard Wallace's Avatar
Richard Wallace Richard Wallace is online now
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,650
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Tristan Lall View Post
I have a feeling there's a story behind this. Anything you can share?

(I'd say statistics are extremely useful in quality management for high-volume production, in processes that have already been well-characterized and refined. But that's probably not the scenario being criticized.)
You're right, Tristan -- there are many engineering situations that call for statistical inference; e.g.,

-- quantum models for very small scale material properties - as Michael Hill pointed out above, this is a special case for which statistics is an indispensible part of physics,

-- developing strategies for playing games of chance,

-- detection and ranging methods to extract useful signals in the presence of background noise, and

-- optimizing large scale serial manufacturing processes by isolating defect causes that arise due to variation of many potentially interacting factors.

In each of these situations, the challenging aspect is random variation in the observed data.

However, there are many more engineering situations in which statistical inference is not the best tool. The scenario I was criticizing above arises when an engineer tries to use statistical inference to understand patterns in observed data that are not random at all, but instead are based on physical principles the the engineer has failed to recognize -- in such situations the challenge is not random variation, it is ignorance.

Ignorance cannot be overcome by statistical inference.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
Reply With Quote
  #14   Spotlight this post!  
Unread 31-12-2013, 18:05
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Statistics Quiz#1

Quote:
Originally Posted by Ether View Post
If anyone reading has access to Matlab and/or R, could you please post the result for:

p1 = binocdf(671,2000,1/3)
Matlab gives
Code:
p1 =

    0.5916
or with format long
Code:
p1 =

   0.591634715653171
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #15   Spotlight this post!  
Unread 01-01-2014, 09:49
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 Quiz#1

Quote:
Originally Posted by RyanCahoon View Post

Matlab gives
p1 = 0.591634715653171
Thanks Ryan.

If anybody has access to R, Mathematica, MathCAD, or Maple, would you please post the value computed for p1?

I'm investigating which numerical package gives the most accurate answer.


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:57.

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