Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-13-2007, 03:07 PM   #51
RawAlex
So Fucking Banned
 
Join Date: Oct 2003
Location: In a house.
Posts: 9,465
Nick, sorry, but you need to go back and take a basic stats course to understand what you are getting into. 20% doesn't mean that every fifth ball goes in, but that over a sample range 20% of the balls went in. This is no way to accurately predict the percentage of sequential goals with the data you present.

Now, assumimg that the current shot was a goal, the chance that the next shot is also a goal is 20% - because the odds of the shot going in don't change because of the previous goal. So you are at 20%. Now, there is a 20% chance that the one after it is a goal as well, so the number straight lined is about 16%... but that is a very straight line interpretation of the math.

So, sorry, you won't make it as a math or stats major.
RawAlex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 03:33 PM   #52
interracialtoons
Confirmed User
 
Join Date: May 2006
Posts: 1,910
Quote:
Originally Posted by RawAlex View Post
Nick, sorry, but you need to go back and take a basic stats course to understand what you are getting into. 20% doesn't mean that every fifth ball goes in, but that over a sample range 20% of the balls went in. This is no way to accurately predict the percentage of sequential goals with the data you present.

Now, assumimg that the current shot was a goal, the chance that the next shot is also a goal is 20% - because the odds of the shot going in don't change because of the previous goal. So you are at 20%. Now, there is a 20% chance that the one after it is a goal as well, so the number straight lined is about 16%... but that is a very straight line interpretation of the math.

So, sorry, you won't make it as a math or stats major.

Yeah, if he provided a shot history then a decent value could be found.


For example, these two shooters both with 20% overall.
Each hit 16 out of 80 shoots

Where "1" equals a hit.

shooter a -

11000010
00000000
10000000
00100000
01010100
00011100
01000000
00000111
10000000
00000000


Shooter b -

11000000
00000101
00110000
10000001
00000000
00000000
01001000
10000010
00100100
00000011


It's clear that shooter "b" has an 80% odds of hitting exactly 2 shots out of
eight while shooter "a" has about 0% odds.

BUTTTTTT!! They both shot 20% overall.


He won't accept that though.
__________________
Done.
interracialtoons is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 03:56 PM   #53
nick3131
Confirmed User
 
Join Date: Dec 2004
Location: Gainesville, Florida
Posts: 1,186
Quote:
Originally Posted by RawAlex View Post
Nick, sorry, but you need to go back and take a basic stats course to understand what you are getting into. 20% doesn't mean that every fifth ball goes in, but that over a sample range 20% of the balls went in. This is no way to accurately predict the percentage of sequential goals with the data you present.

Now, assumimg that the current shot was a goal, the chance that the next shot is also a goal is 20% - because the odds of the shot going in don't change because of the previous goal. So you are at 20%. Now, there is a 20% chance that the one after it is a goal as well, so the number straight lined is about 16%... but that is a very straight line interpretation of the math.

So, sorry, you won't make it as a math or stats major.
I understand your point of view completely.

But to me, its simpler then that. You use the information that you are given. If he is shooting 20%, then odds say every shot he takes has a 20% chance of making it.

If I ask you if there is 2, 2 gallon containers full of water, how much water could you pour from them. Someone can say "well what if the water is frozen". To me you're doing the same thing. "What if he made 20 and missed 80".
__________________
Signed nick3131

nick3131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:03 PM   #54
interracialtoons
Confirmed User
 
Join Date: May 2006
Posts: 1,910
Quote:
Originally Posted by nick3131 View Post
I understand your point of view completely.

But to me, its simpler then that. You use the information that you are given. If he is shooting 20%, then odds say every shot he takes has a 20% chance of making it.

If I ask you if there is 2, 2 gallon containers full of water, how much water could you pour from them. Someone can say "well what if the water is frozen". To me you're doing the same thing. "What if he made 20 and missed 80".

DUDE, just look at my last post and tell me which shooter you would bet $100 on.

I think you will choose shooter "b".

But notice that shooter "a" also shoots 20% from the field.
__________________
Done.
interracialtoons is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:05 PM   #55
nick3131
Confirmed User
 
Join Date: Dec 2004
Location: Gainesville, Florida
Posts: 1,186
Quote:
Originally Posted by nick3131 View Post
I understand your point of view completely.

But to me, its simpler then that. You use the information that you are given. If he is shooting 20%, then odds say every shot he takes has a 20% chance of making it.

If I ask you if there is 2, 2 gallon containers full of water, how much water could you pour from them. Someone can say "well what if the water is frozen". To me you're doing the same thing. "What if he made 20 and missed 80".
before you refute this

take a look at this

http://en.wikipedia.org/wiki/Binomial_distribution

(I have to give RichC credit for pointing it out)
__________________
Signed nick3131

nick3131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:06 PM   #56
nick3131
Confirmed User
 
Join Date: Dec 2004
Location: Gainesville, Florida
Posts: 1,186
Quote:
Originally Posted by interracialtoons View Post
DUDE, just look at my last post and tell me which shooter you would bet $100 on.

I think you will choose shooter "b".

But notice that shooter "a" also shoots 20% from the field.
that post is completely irrelevant.

Use the information given.
__________________
Signed nick3131

nick3131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:07 PM   #57
nick3131
Confirmed User
 
Join Date: Dec 2004
Location: Gainesville, Florida
Posts: 1,186
Quote:
Originally Posted by interracialtoons View Post
The answer to your orginal question is

Odds = 28/256 or 10.9%



The answer to the five sided coin is

Odds = 114688/390625 or 29.4% rounded



To show how I got the answer I will a simple example to prove the math

* A guy jumps out of a car, he will either land on his Head, Ass or feet.
What are the odds he will land on his Head exactly 2 times if he jumps
3 times.

The odds are calculated by determining all possibilties of his landings
over three jumps.

So he could land:
head, ass, feet (012) or
head, head, ass (001) or
ass, feet , head (120) etc.....

A total of 27 possiblities

But we are only interested about him landing on heads twice which means
these possible sets:

head,head,ass
head,head,feet
head,ass,head,
head,feet,head
ass,head,head
feet,head,head

A total of 6 relevent sets

No other sets satisifies our criteria.




Now run this simple perl script to prove my math




PERL cgi
------------

#!/usr/bin/perl
print "Content-type: text/html\n\n";


### copy right, 2007 interracialtoons.com


$head_ass_feet = "012"; ##### possible landings; head=0 ass=1 feet=2


@one = split(//, $head_ass_feet); #### array @one @two...etc are trys in the set of attempts
@two = @one;
@three = @one;

$total_permutes = 0; #### the total possible out comes of all trys in attempts
$heads2times = 0;

$a = 0;
foreach (@one) {
$b=0;
foreach(@two) {
$c = 0;
foreach (@three) {
$countheads = 0;

if ($one[$a] == 0) {$countheads++;}
if ($two[$b] == 0) {$countheads++;}
if ($three[$c] == 0) {$countheads++;}


print "$one[$a]$two[$b]$three[$c]<br>"; #### Dont print for 8 shots! Too many!

if ($countheads == 2) {$heads2times++;} #### head must occur EXACTLY 2 times

if (-e "killthisshit.txt") {print "ABORTED"; exit;}
$total_permutes++;

$c++;}
$b++;}

$a++;}


print "Total Permutations = $total_permutes<br><br>";
print "Heads occured exactly 2 times = $heads2times<br><br>";
print "Odds = $heads2times/$total_permutes<br><br>";



exit;



---END PERL---


RESULT ------

All The possible results of 3 trys

000
001
002
010
011
012
020
021
022
100
101
102
110
111
112
120
121
122
200
201
202
210
211
212
220
221
222
Total Permutations = 27

Heads occured exactly 2 times = 6

Odds = 6/27

Only one of the above permutations will happen in 3 trys

The odds reduce to 2/9 or 1 in 4.5 = 22% rounded





NOW run this program which has the exact same math but uses the
five sided coin in your example with sides = head, arm1, arm2, leg1, leg2



#!/usr/bin/perl
print "Content-type: text/html\n\n";





$head_arm1_arm2_leg1_leg2 = "01245"; ##### possible landings; head=0 arm1=1 arm2=2 ...


@one = split(//, $head_arm1_arm2_leg1_leg2); #### array @one @two...etc are trys in the set of attempts
@two = @one;
@three = @one;
@four = @one;
@five = @one;
@six = @one;
@seven = @one;
@eight = @one;

$total_permutes = 0; #### the total possible out comes of all trys in attempts
$heads2times = 0;

$a = 0;
foreach (@one) {
$b=0;
foreach(@two) {
$c = 0;
foreach (@three) {
$d = 0;
foreach (@four) {
$e = 0;
foreach (@five) {
$f = 0;
foreach (@six) {
$g = 0;
foreach (@seven) {
$h = 0;
foreach (@eight) {


$countheads = 0;

if ($one[$a] == 0) {$countheads++;}
if ($two[$b] == 0) {$countheads++;}
if ($three[$c] == 0) {$countheads++;}
if ($four[$d] == 0) {$countheads++;}
if ($five[$e] == 0) {$countheads++;}
if ($six[$f] == 0) {$countheads++;}
if ($seven[$g] == 0) {$countheads++;}
if ($eight[$h] == 0) {$countheads++;}

#####print "$one[$a]$two[$b]$three[$c]<br>"; #### Dont print for 8 shots! Too many!

if ($countheads == 2) {$heads2times++;} #### head must occur EXACTLY 2 times

if (-e "killthisshit.txt") {print "ABORTED"; exit;}
$total_permutes++;


$h++;}
$g++;}
$f++;}

$e++;}

$d++;}

$c++;}
$b++;}

$a++;}


print "Total Permutations = $total_permutes<br><br>";
print "Heads occured exactly 2 times = $heads2times<br><br>";
print "Odds = $heads2times/$total_permutes<br><br>";



exit;

---END PERL---






Now run the script for your orginal question


#!/usr/bin/perl
print "Content-type: text/html\n\n";





$hit_miss = "01"; ##### possible landings; hit=0 miss=1


@one = split(//, $hit_miss); #### array @one @two...etc are trys in the set of attempts
@two = @one;
@three = @one;
@four = @one;
@five = @one;
@six = @one;
@seven = @one;
@eight = @one;

$total_permutes = 0; #### the total possible out comes of all trys in attempts
$heads2times = 0;

$a = 0;
foreach (@one) {
$b=0;
foreach(@two) {
$c = 0;
foreach (@three) {
$d = 0;
foreach (@four) {
$e = 0;
foreach (@five) {
$f = 0;
foreach (@six) {
$g = 0;
foreach (@seven) {
$h = 0;
foreach (@eight) {


$countheads = 0;

if ($one[$a] == 0) {$countheads++;}
if ($two[$b] == 0) {$countheads++;}
if ($three[$c] == 0) {$countheads++;}
if ($four[$d] == 0) {$countheads++;}
if ($five[$e] == 0) {$countheads++;}
if ($six[$f] == 0) {$countheads++;}
if ($seven[$g] == 0) {$countheads++;}
if ($eight[$h] == 0) {$countheads++;}

#####print "$one[$a]$two[$b]$three[$c]<br>"; #### Dont print for 8 shots! Too many!

if ($countheads == 2) {$heads2times++;} #### head must occur EXACTLY 2 times

if (-e "killthisshit.txt") {print "ABORTED"; exit;}
$total_permutes++;


$h++;}
$g++;}
$f++;}

$e++;}

$d++;}

$c++;}
$b++;}

$a++;}


print "Total Permutations = $total_permutes<br><br>";
print "Heads occured exactly 2 times = $heads2times<br><br>";
print "Odds = $heads2times/$total_permutes<br><br>";



exit;


----END PERL----



That's the real math!

BUT Wait.

Lets make his shooting stick to 20%

meaning $hit_miss = "01111"; ##### possible landings for this 20% user is 1 in five hit=0 miss=1

The question here though is "is this valid" to respresent his shooting as such

Now run the last script with the new hit miss value.

The result is the same as the five sided coin.






Conclusion:

I can flip your five sided coin 1000 times a day for 30 days
and get a different heads percentage every day!
I can factor these together and get my total heads percentage for those
days and it could be 50%(or 20% shooting from that spot) or any number but when I do it on the 31st day
the math will still be the same as every other day reguarless of the
percentage I compiled previously.

Therefore the mathematical odds never change bases on my previous success rate of flipping
and getting heads.

Just because you can factor some numbers and get a result does not mean the
result is meaningfull.

So. The orignal question has no "meaningfull results".


BUT if the shooter had attempted 8 shots a day for 30 days and he got exactly 2 hits
on 10 days then that would yield a 30% chance he would do it today but that has nothing to do with his
overall percentage of 20%. You didn't provide the needed information to actually find
a meaningfull result.
here's a simpler way to solve this using programming

this is a code i wrote in mirc scripting to solve this problem

Code:
alias timmy {
  set %loop 0
  set %loop2 0
  set %chances 0
  :loop
  set %loop2 0
  if (%goals == 2) { inc %chances } 
  set %goals 0
  if (%loop >= 80000000) { goto end }
  :loop2
  inc %loop2
  if (%loop2 > 8) { goto loop }
  set %timmy $rand(1,5)
  if (%timmy == 1) { inc %goals }
  inc %loop
  goto loop2
  :end
  echo 4 %chances
}
__________________
Signed nick3131

nick3131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:12 PM   #58
Odie
Confirmed User
 
Odie's Avatar
 
Join Date: Apr 2003
Location: The WATER BABY!
Posts: 7,040
well don't I just feel really dumb now??? Math was/hasn't ever been a forte of mine and now I know why I didn't do well. Thanks Nick! :P
Odie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:14 PM   #59
nick3131
Confirmed User
 
Join Date: Dec 2004
Location: Gainesville, Florida
Posts: 1,186
Quote:
Originally Posted by Odie View Post
well don't I just feel really dumb now??? Math was/hasn't ever been a forte of mine and now I know why I didn't do well. Thanks Nick! :P
You coming to vegas sweety?
__________________
Signed nick3131

nick3131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2007, 04:19 PM   #60
interracialtoons
Confirmed User
 
Join Date: May 2006
Posts: 1,910
Quote:
Originally Posted by nick3131 View Post
that post is completely irrelevant.

Use the information given.
That post is the only one relevant to the actual odds.

I did use the info given and gave you a result.
I'm saying the result is BULLSHIT.

You have a formula but you are pluging in the wrong data so your results are meaningless.


I think you are afraid to actually read that post and add up the numbers.
__________________
Done.
interracialtoons is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.