Old 07-26-2017, 08:20 PM   #21
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by SKG_Scintill View Post
heh in my formula's case 0^0 = 1
Makes sense heh

I think I found the problem with my formula -
My Nth root of .5 * 5 formula only works for picking values 0 - 5, I don't know how to factor in starting at 1. What it's multiplied by determines the asymptote and I can't Add a constant, or the result will go over 5.

Edit:// Ok I was close

I think it's (xth-root of .5)*4 +1
__________________



Last edited by TheSaxRunner05; 07-26-2017 at 08:25 PM..
TheSaxRunner05 is offline   Reply With Quote
Old 07-26-2017, 08:42 PM   #22
SKG_Scintill
Spun a twirly fruitcake,
FFR Simfile AuthorFFR Veteran
 
SKG_Scintill's Avatar
 
Join Date: Feb 2009
Age: 31
Posts: 3,865
Default Re: Math Question - Probability

that doesn't work

using 1 to 5, doing it twice before taking highest
Code:
[num1, num2]: highestnum
1,1: 1	2,1: 2	3,1: 3	4,1: 4	5,1: 5
1,2: 2	2,2: 2	3,2: 3	4,2: 4	5,2: 5
1,3: 3	2,3: 3	3,3: 3	4,3: 4	5,3: 5
1,4: 4	2,4: 4	3,4: 4	4,4: 4	5,4: 5
1,5: 5	2,5: 5	3,5: 5	4,5: 5	5,5: 5

[amount of combinations]
5^2 = 25

[number's amount of occurrences]
1: 1
2: 3
3: 5
4: 7
5: 9

[weight of numbers]
1: 1 * 1 = 1
2: 3 * 2 = 6
3: 5 * 3 = 15
4: 7 * 4 = 28
5: 9 * 5 = 45

[sum of weights]
1 + 6 + 15 + 28 + 45 = 95

[average] = [sum of weights] / [amount of combinations]

average: 95 / 25 = 3.8

using your formula:
0.5^(1/2)*4+1 = 3.8284~~~
__________________





Quote:
Originally Posted by bluguerilla
So Sexy Robotnik (SKG_Scintill) {.0001/10} [--]
___
. RHYTHMS PR LAYERING
. ZOMG I HAD TO QUIT OUT TERRIBLE
.

Last edited by SKG_Scintill; 07-26-2017 at 08:46 PM..
SKG_Scintill is offline   Reply With Quote
Old 07-26-2017, 09:03 PM   #23
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by SKG_Scintill View Post
that doesn't work

using 1 to 5, doing it twice before taking highest
Code:
[num1, num2]: highestnum
1,1: 1	2,1: 2	3,1: 3	4,1: 4	5,1: 5
1,2: 2	2,2: 2	3,2: 3	4,2: 4	5,2: 5
1,3: 3	2,3: 3	3,3: 3	4,3: 4	5,3: 5
1,4: 4	2,4: 4	3,4: 4	4,4: 4	5,4: 5
1,5: 5	2,5: 5	3,5: 5	4,5: 5	5,5: 5

[amount of combinations]
5^2 = 25

[number's amount of occurrences]
1: 1
2: 3
3: 5
4: 7
5: 9

[weight of numbers]
1: 1 * 1 = 1
2: 3 * 2 = 6
3: 5 * 3 = 15
4: 7 * 4 = 28
5: 9 * 5 = 45

[sum of weights]
1 + 6 + 15 + 28 + 45 = 95

[average] = [sum of weights] / [amount of combinations]

average: 95 / 25 = 3.8

using your formula:
0.5^(1/2)*4+1 = 3.8284~~~
I see, and since all answers will be rational numbers, using the square root function will fail. I can match one really close to the actual probabilities, but really close is like horseshoes and hand grenades in math lol

Thanks for going back and forth on this, I'm going to toy with the equation you posted a bit more.
__________________


TheSaxRunner05 is offline   Reply With Quote
Old 07-26-2017, 09:12 PM   #24
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

I came up with this: http://puu.sh/wU5Jx/8ad6c883ab.pdf

Got the equation (5n+1)/(n+1)

If there's any errors or questions about my work, let me know. Or if someone finds a more elegant solution, I'd also be up for seeing it.

EDIT: Here's a graph
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing

Last edited by reuben_tate; 07-26-2017 at 09:13 PM..
reuben_tate is offline   Reply With Quote
Old 07-26-2017, 09:19 PM   #25
MarcusHawkins
Constantly Improving!
FFR Veteran
 
MarcusHawkins's Avatar
 
Join Date: Jun 2013
Age: 24
Posts: 1,204
Send a message via Skype™ to MarcusHawkins
Default Re: Math Question - Probability

Quote:
Originally Posted by reuben_tate View Post
I came up with this: http://puu.sh/wU5Jx/8ad6c883ab.pdf

Got the equation (5n+1)/(n+1)

If there's any errors or questions about my work, let me know. Or if someone finds a more elegant solution, I'd also be up for seeing it.

EDIT: Here's a graph
Oh, so the formula is essentially (Max value*n + Min value)/(n + Min value), if I'm understanding this right?
__________________

Quote:
Originally Posted by Ghost_Medley View Post

This man is three months too early.
Quote:
Originally Posted by badman7772 View Post
Guess I'll take another Quality Pack please. I won't have Hawkins luck but I'm sure I'll have badluck7772.

Quote:
Originally Posted by _Zenith_ View Post
what the fuck marcus lmao

Quote:
Originally Posted by rushyrulz View Post
You should all thank MarcusHawkins btw

Quote:
Originally Posted by DDRNGGin View Post
Marcus is probably going to be the main man to win this (You will always be my DDR brother for life, MarcusHawkins! )

Quote:
Originally Posted by Sky Kitten View Post
Best Newbie
1st: MarcusHawkins: 4

Up And Coming FFRer
2nd: MarcusHawkins: 3
MarcusHawkins is offline   Reply With Quote
Old 07-26-2017, 09:25 PM   #26
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by reuben_tate View Post
Got the equation (5n+1)/(n+1)
Plugging 2 into this equation gives 11/3 or 3.666....

Is there an error in what Scintill showed earlier to show an answer of exactly 3.8?

Quote:
Originally Posted by SKG_Scintill View Post
that doesn't work

using 1 to 5, doing it twice before taking highest
Code:
[num1, num2]: highestnum
1,1: 1	2,1: 2	3,1: 3	4,1: 4	5,1: 5
1,2: 2	2,2: 2	3,2: 3	4,2: 4	5,2: 5
1,3: 3	2,3: 3	3,3: 3	4,3: 4	5,3: 5
1,4: 4	2,4: 4	3,4: 4	4,4: 4	5,4: 5
1,5: 5	2,5: 5	3,5: 5	4,5: 5	5,5: 5

[amount of combinations]
5^2 = 25

[number's amount of occurrences]
1: 1
2: 3
3: 5
4: 7
5: 9

[weight of numbers]
1: 1 * 1 = 1
2: 3 * 2 = 6
3: 5 * 3 = 15
4: 7 * 4 = 28
5: 9 * 5 = 45

[sum of weights]
1 + 6 + 15 + 28 + 45 = 95

[average] = [sum of weights] / [amount of combinations]

average: 95 / 25 = 3.8

using your formula:
0.5^(1/2)*4+1 = 3.8284~~~
__________________


TheSaxRunner05 is offline   Reply With Quote
Old 07-26-2017, 09:30 PM   #27
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

Quote:
Originally Posted by TheSaxRunner05 View Post
Plugging 2 into this equation gives 11/3 or 3.666....

Is there an error in what Scintill showed earlier to show an answer of exactly 3.8?
It looks like that is the case if you're looking at the discrete probability (the only options are 1, 2, 3, 4, 5) as opposed to the continuous probability (you can pick any real number between 1 and 5). So I'd expect it to be close but not exactly the same.
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 07-26-2017, 09:31 PM   #28
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

Quote:
Originally Posted by MarcusHawkins View Post
Oh, so the formula is essentially (Max value*n + Min value)/(n + Min value), if I'm understanding this right?
It seems that might be the case...wolframalpha won't do the integral in the general case for me...so I'll have to compute it by hand. I can double check.
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 07-26-2017, 09:33 PM   #29
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by MarcusHawkins View Post
Oh, so the formula is essentially (Max value*n + Min value)/(n + Min value), if I'm understanding this right?
Sorry if I mistook what you said earlier, I thought you were essentially recapping what I said in my first paragraph of the OP, but you were much more on the right track than I was.
__________________


TheSaxRunner05 is offline   Reply With Quote
Old 07-26-2017, 09:35 PM   #30
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by reuben_tate View Post
It looks like that is the case if you're looking at the discrete probability (the only options are 1, 2, 3, 4, 5) as opposed to the continuous probability (you can pick any real number between 1 and 5). So I'd expect it to be close but not exactly the same.
Gotcha, thanks for the explanation.
I really need to take a calculus course sometime to better understand integrals
__________________


TheSaxRunner05 is offline   Reply With Quote
Old 07-26-2017, 09:47 PM   #31
MarcusHawkins
Constantly Improving!
FFR Veteran
 
MarcusHawkins's Avatar
 
Join Date: Jun 2013
Age: 24
Posts: 1,204
Send a message via Skype™ to MarcusHawkins
Default Re: Math Question - Probability

Quote:
Originally Posted by TheSaxRunner05 View Post
Sorry if I mistook what you said earlier, I thought you were essentially recapping what I said in my first paragraph of the OP, but you were much more on the right track than I was.
No, you did not mistake what you said earlier, I was indeed taking what you said in the OP before I realized what was going on later on in the thread!

BUT, I KNEW there is a connection somehow, and thanks to ben's formula, I think I found it! I hope he double checks to make sure I'm right, and if not, I'm sure he'll think of something more solid! :P

Thanks nonetheless!

EDIT: I JUST started taking AP Calculus AB, (essentially first year college calculus in high school) and I am learning how to use limits correctly and master that skill.
After THAT, I will be learning how to use integrals correctly, so it should be fun!
__________________

Quote:
Originally Posted by Ghost_Medley View Post

This man is three months too early.
Quote:
Originally Posted by badman7772 View Post
Guess I'll take another Quality Pack please. I won't have Hawkins luck but I'm sure I'll have badluck7772.

Quote:
Originally Posted by _Zenith_ View Post
what the fuck marcus lmao

Quote:
Originally Posted by rushyrulz View Post
You should all thank MarcusHawkins btw

Quote:
Originally Posted by DDRNGGin View Post
Marcus is probably going to be the main man to win this (You will always be my DDR brother for life, MarcusHawkins! )

Quote:
Originally Posted by Sky Kitten View Post
Best Newbie
1st: MarcusHawkins: 4

Up And Coming FFRer
2nd: MarcusHawkins: 3

Last edited by MarcusHawkins; 07-26-2017 at 09:49 PM..
MarcusHawkins is offline   Reply With Quote
Old 07-26-2017, 09:49 PM   #32
SKG_Scintill
Spun a twirly fruitcake,
FFR Simfile AuthorFFR Veteran
 
SKG_Scintill's Avatar
 
Join Date: Feb 2009
Age: 31
Posts: 3,865
Default Re: Math Question - Probability

graphs are cute

for 1-5

for 1-k


courtesy of wolframalpha, wonderful site

edit: by the way, are we just neglecting my formula because it isn't elegant enough? :P
edit v2: rewrote it this way, is it elegant enough?
__________________





Quote:
Originally Posted by bluguerilla
So Sexy Robotnik (SKG_Scintill) {.0001/10} [--]
___
. RHYTHMS PR LAYERING
. ZOMG I HAD TO QUIT OUT TERRIBLE
.

Last edited by SKG_Scintill; 07-26-2017 at 10:07 PM..
SKG_Scintill is offline   Reply With Quote
Old 07-26-2017, 10:09 PM   #33
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

Quote:
Originally Posted by MarcusHawkins View Post
No, you did not mistake what you said earlier, I was indeed taking what you said in the OP before I realized what was going on later on in the thread!

BUT, I KNEW there is a connection somehow, and thanks to ben's formula, I think I found it! I hope he double checks to make sure I'm right, and if not, I'm sure he'll think of something more solid! :P

Thanks nonetheless!

EDIT: I JUST started taking AP Calculus AB, (essentially first year college calculus in high school) and I am learning how to use limits correctly and master that skill.
After THAT, I will be learning how to use integrals correctly, so it should be fun!
So I let m be the minimum value and M be the maximum value. Here's the updated calculations taking that into account: http://puu.sh/wU7Se/8517d7e64e.pdf

The formula isn't quite as nice...at least it doesn't look like it simplifies to what we thought it might be:


EDIT: Made it a tad bit nicer:
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing

Last edited by reuben_tate; 07-26-2017 at 10:21 PM..
reuben_tate is offline   Reply With Quote
Old 07-26-2017, 10:10 PM   #34
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

Quote:
Originally Posted by SKG_Scintill View Post
graphs are cute

for 1-5

for 1-k


courtesy of wolframalpha, wonderful site

edit: by the way, are we just neglecting my formula because it isn't elegant enough? :P
edit v2: rewrote it this way, is it elegant enough?
That rewrite looks a lot nicer
Like I said before, I didn't mean to neglect your formula...I'm just trying to solve the "continuous" case instead of the discrete case :P
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 07-26-2017, 10:26 PM   #35
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: Math Question - Probability

Quote:
Originally Posted by MarcusHawkins View Post

EDIT: I JUST started taking AP Calculus AB, (essentially first year college calculus in high school) and I am learning how to use limits correctly and master that skill.
After THAT, I will be learning how to use integrals correctly, so it should be fun!
Nice The stuff in the link I put is still a bit beyond the scope of most single-variable Calculus courses. If you want to know more how to do the kind of work in the link, you can peruse an introductory calculus-based probability/statistics book after you feel comfortable with basis derivatives and integrals
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 07-27-2017, 10:22 AM   #36
SKG_Scintill
Spun a twirly fruitcake,
FFR Simfile AuthorFFR Veteran
 
SKG_Scintill's Avatar
 
Join Date: Feb 2009
Age: 31
Posts: 3,865
Default Re: Math Question - Probability

as a bit of visualization for my approach

in case I: you take a number from 1-5 twice, so I put the 2 numbers as seperate axes
the squares show how many times the number is the highest
you can see that the occurrences of number N are N squared minus (N-1) squared
aka: n^2 - (n-1)^2

same in case III where I put it as 3 axes and the occurrences of N are N cubed minus (N-1) cubed
aka: n^3 - (n-1)^3

case II is where I multiplied the occurrences of case I by the weight of the number
obviously I can't visualize the same for case III as it would be a 4d shape

at this point I've done n(n^2-(n-1)^2) for case II
so I did a summation for all the numbers N to get the sum of all amounts
with that sum I now have to divide it by the amount of combinations, which is just the size of case I
I tried "re-ordering the blocks" so they'd fit neatly inside eachother, but that doesn't seem to have a simple way (pretty obvious since the averages are decimal numbers)

for the latest rewritten formula I approached it like this:
take case I, make it one dimension greater, so it's [the highest number]^3, then subtract the sum of the smaller numbers squared (*1 to make it little cubes, but that's redundant)

so... summarized
average is ( [the highest number] to the power of ([amount of times you take a number] + 1) minus the sum of [all smaller numbers] to the power of [amount of times you take a number] ) divided by [the highest number] to the power of [amount of times you take a number]
average = ( [k] ^ ([m]+1) - sigma [from n=0 to n = k-1] of n ^ [m]) / k^m
also to be written as

...

no idea if that helps, just having fun
you can see my steps, maybe go a different route
__________________





Quote:
Originally Posted by bluguerilla
So Sexy Robotnik (SKG_Scintill) {.0001/10} [--]
___
. RHYTHMS PR LAYERING
. ZOMG I HAD TO QUIT OUT TERRIBLE
.

Last edited by SKG_Scintill; 07-27-2017 at 10:33 AM..
SKG_Scintill is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB 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 10:21 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution