Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Math and Science (http://www.chiefdelphi.com/forums/forumdisplay.php?f=70)
-   -   Statistics Quiz#1 (http://www.chiefdelphi.com/forums/showthread.php?t=123814)

Ether 30-12-2013 01:17

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?



DonRotolo 30-12-2013 13:24

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

bduddy 30-12-2013 14:03

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?

Ether 30-12-2013 17:36

Re: Statistics Quiz#1
 
Quote:

Originally Posted by bduddy (Post 1318347)
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?



bduddy 30-12-2013 18:35

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Ether (Post 1318560)
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?

Ether 30-12-2013 19:05

Re: Statistics Quiz#1
 
Quote:

Originally Posted by bduddy (Post 1318603)
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)



Ether 30-12-2013 19:07

Re: Statistics Quiz#1
 
Quote:

Originally Posted by DonRotolo (Post 1318326)
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. :rolleyes:
I never took a stats course. Got interested in it later in life.



Richard Wallace 30-12-2013 19:21

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Ether (Post 1318626)
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.

Michael Hill 30-12-2013 21:15

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Richard Wallace (Post 1318643)
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

s_forbes 30-12-2013 21:40

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Richard Wallace (Post 1318643)
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%".

Tristan Lall 31-12-2013 09:14

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Richard Wallace (Post 1318643)
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.)

Michael Hill 31-12-2013 09:49

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Tristan Lall (Post 1318853)
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.

Richard Wallace 31-12-2013 09:50

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Tristan Lall (Post 1318853)
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.

RyanCahoon 31-12-2013 18:05

Re: Statistics Quiz#1
 
Quote:

Originally Posted by Ether (Post 1318624)
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


Ether 01-01-2014 09:49

Re: Statistics Quiz#1
 
Quote:

Originally Posted by RyanCahoon (Post 1318982)

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.




All times are GMT -5. The time now is 12:16.

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