Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Quick probability question
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Quick probability question (Read 3586 times)
0 Members and 1 Guest are viewing this topic.
JustCause
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 810
Rating: +115/-5
Quick probability question
«
on:
March 26, 2011, 05:20:48 am »
OK, I've been going at this for a while with no luck. Say you have some number N between 0 and 100 inclusive. Given two numbers A and B picked at random from 0 to 99 inclusive, what are the odds their average is less than N?
Also, can anyone guess
why
someone would need to know this?
Logged
See you, space cowboy...
ZippyDee
LV8
Addict (Next: 1000)
Posts: 729
Rating: +83/-8
Why not zoidberg?
Re: Quick probability question
«
Reply #1 on:
March 26, 2011, 05:42:00 am »
Well let's break it down.
Basic probability states that...
P(A<N) = N/100
P(B<N) = N/100
P(A<N and B<N) = P(A<N)*P(B<N) = (N/100)^2
That's all easy. But that's not what we want to know.
In order for the average of A and B to be less than N, A+B must less than 2N. (again, simple)
So we can safely say P(A+B<2N) is the probability that the average of the two is less than 2N.
In order for A+B<2N to be true, A must be less than 2N and B must be less than 2N-A
In that case, basic probabiliy also states that...
P(A<2N) = 2N/100
P(B<2N-A) = (2N-A)/100
P(A<2N and B<2N-A) = (2N/100)*((2N-A)/100) = (4N^2-2NA)/1000
And there's your answer. Unless there's an error in my math, the probability that the average of A and B is less than N is (4N^2-2NA)/1000.
Edit: Just to clarify, A is the larger of the two numbers.
«
Last Edit: March 26, 2011, 05:52:18 am by ZippyDee
»
Logged
There's something about Tuesday...
Pushpins 'n' stuff...
JustCause
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 810
Rating: +115/-5
Re: Quick probability question
«
Reply #2 on:
March 26, 2011, 06:46:00 am »
Wow, thanks!
Logged
See you, space cowboy...
ZippyDee
LV8
Addict (Next: 1000)
Posts: 729
Rating: +83/-8
Why not zoidberg?
Re: Quick probability question
«
Reply #3 on:
March 26, 2011, 06:46:25 am »
Nooooooooooo problem!
Glad I could help.
Logged
There's something about Tuesday...
Pushpins 'n' stuff...
Munchor
LV13
Extreme Addict (Next: 9001)
Posts: 6199
Rating: +295/-121
Code Recycler
Re: Quick probability question
«
Reply #4 on:
March 26, 2011, 07:24:05 am »
Nice explanation there ZippyDee
Logged
ZippyDee
LV8
Addict (Next: 1000)
Posts: 729
Rating: +83/-8
Why not zoidberg?
Re: Quick probability question
«
Reply #5 on:
March 26, 2011, 07:29:47 am »
Thanks
I always try my best to explain things thoroughly. Makes it easier when you don't have to keep on going back to things later.
Logged
There's something about Tuesday...
Pushpins 'n' stuff...
jnesselr
King Graphmastur
LV11
Super Veteran (Next: 3000)
Posts: 2270
Rating: +81/-20
TAO == epic
Re: Quick probability question
«
Reply #6 on:
March 26, 2011, 11:37:02 am »
wow, ZippyDee is smart... who knew?? j/k, so I'm not fully following how you solved it, but I never took a statistics class either. I'm guessing you did?
Also, 42 posts ZippyDee!
Logged
ZippyDee
LV8
Addict (Next: 1000)
Posts: 729
Rating: +83/-8
Why not zoidberg?
Re: Quick probability question
«
Reply #7 on:
March 28, 2011, 06:28:36 am »
Truthfully, no. I never took a stat class (though my Alg II teacher was also the APSTAT teacher)...
We did have a small unit on basic probability in that class too, but I figured this out mostly from logic. That's all probability is, anyway. I just looked at it and said, "What conditions must be true in order for this to be true?" and then, "What
other
conditions must be true in order for each condition to be true?" Using that thought process, I broke it down until it was at a point that was simple enough to understand and find an equation for.
Logged
There's something about Tuesday...
Pushpins 'n' stuff...
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Quick probability question