Ss Brewing Technologies Giveaway!

Home Brew Forums > Home Brewing Community > General Chit Chat > Need Statistic/Math Help
Reply
 
LinkBack Thread Tools
Old 01-05-2006, 12:12 AM   #1
TxBrew
Der Administrator
HBT_ADMIN.png
Feedback Score: 0 reviews
 
TxBrew's Avatar
Recipes 
 
Join Date: Feb 2004
Location: San Marcos, Texas
Posts: 8,653
Liked 1709 Times on 566 Posts
Likes Given: 854

Default Need Statistic/Math Help

Lets say I have 375 users that enter a giveaway and I need to pick a winner at random that everyone can verify is true.

Here is my theory on how to do this and I need to know if there are any flaws in it:

Texas Cash Five gets pulled everyday so the day after the giveaway ends the lotto will be drawn.

I can put everyone into a X amout of groups with X amount of users. I will put users in the groups randomly and post them prior to the lotto.

The numbers today were 27 37 9 34 15.

So lets say we have 15 user groups then the first pull between 1 and 15 picks the user group. Now we have which user group we are going to use. In this case group 9 wins.

Now lets say in each user group we have 25 users. Excluding the ball we used to select the user group the next ball between 1-26 selects the user. The 9th user is now the 10th user because 9 can't be drawn again. So we move everyone past 8 up; 16 is now 17, 17 is now 18, so forth.

The next ball between 1-26 is 15 so the winner is Group 9 Member 15.

TxBrew is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 04:43 AM   #2
rewster451
Feedback Score: 0 reviews
 
rewster451's Avatar
Recipes 
 
Join Date: Oct 2005
Location: columbia, MO
Posts: 497
Default

Jesus dude.



I don't know.

__________________
Up next: Big Brew Off competition between me and Kaptain Karma as one team, and my two roommates as another--We'll be brewing Pale Ales with specifications on malts, hops, and total yeild to see who's version is better (and to end up with ten total gallons of great beer).
Also up soon: Belgian Dubbel
Primary: Grampa's Woodshed Apple Smoked Porter
Secondary: Zombiefoot California Common, Chocolate Strong Porter
Drinking: Seamus O'Drunkagan Irish Red, Humble Pie Imperial Stout, Capricorn IPA
rewster451 is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 12:22 PM   #3
loopmd
Feedback Score: 0 reviews
 
loopmd's Avatar
Recipes 
 
Join Date: Jan 2005
Location: Omaha, Nebraska
Posts: 665
Liked 3 Times on 3 Posts

Default

You won't know how many groups to put them in until after the lottery. Unless you want to take your chances of low enough numbers being drawn. If you divide everyone up into groups and users first, there might be a chance that the numbers drawn do not coencide with your lists. If you do it after the lottery, then there exists the possibility that it wouldn't be "at random".

loop

__________________
loopmd is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 01:16 PM   #4
Denny's Evil Concoctions
Grande Megalomaniac
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
Denny's Evil Concoctions's Avatar
Recipes 
 
Join Date: Oct 2005
Location: West Kelowna BC, Canada
Posts: 7,767
Liked 51 Times on 42 Posts

Default

You just gave me a headache. It's 5am here and I'm awake with a sore foot and leg (on going pain thing form a work injury).

I think I'll give this shot during normal waking hours....

BTW what are the number ranges for the texas cash draw?

__________________

I may not be an expert, but I did stay at a Holiday Inn Express........ 6 months ago.

http://www.homebrewtalk.com/f39/dennys-quick-dirty-faq-153729/#post1766281

http://groups.homebrewtalk.com/Taproom_Facebook_Repository

Denny's Evil Concoctions is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 01:33 PM   #5
El Pistolero
Feedback Score: 0 reviews
 
El Pistolero's Avatar
Recipes 
 
Join Date: May 2005
Location: Houston, Baja Oklahoma
Posts: 3,598
Liked 13 Times on 13 Posts
Likes Given: 3

Default

Can't you just run a random number generator and pick a random number between 1 and 375?

__________________

[/I] Up Next - Hobgoblin
After That - Czech Pilsner
Primary - Humboldt Hop Rod (4/24)
Primary - NOT Wheat AG SNCA (5/5)
Secondary -
Conditioning - SNCA Clone (3/3),

El Pistolero is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 03:32 PM   #6
david_42
Feedback Score: 0 reviews
 
david_42's Avatar
Recipes 
 
Join Date: Oct 2005
Location: Willamina & Oak Grove, Oregon, USA
Posts: 25,651
Liked 134 Times on 127 Posts

Default

Assuming the Cash Five is picking five numbers between 1 & 99, you can just split the people into five groups using sign-up order (1,6,11 ... in group One, etc.) Then the prize goes to whomever matches the drawn number in each group. If no one in the group matches (say the number was 96 and there are only 78 people in the group), use the next day's group number.

__________________

Remember one unassailable statistic, as explained by the late, great George Carlin: "Just think of how stupid the average person is, and then realize half of them are even stupider!"

"I would like to die on Mars, just not on impact." Elon Musk

david_42 is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 03:50 PM   #7
cowain
Feedback Score: 0 reviews
Recipes 
 
Join Date: Aug 2005
Location: Little Rock, AR
Posts: 338
Liked 2 Times on 2 Posts

Default

Quote:
Originally Posted by TxBrew
Lets say I have 375 users that enter a giveaway and I need to pick a winner at random that everyone can verify is true.

Here is my theory on how to do this and I need to know if there are any flaws in it:

Texas Cash Five gets pulled everyday so the day after the giveaway ends the lotto will be drawn.

I can put everyone into a X amout of groups with X amount of users. I will put users in the groups randomly and post them prior to the lotto.

The numbers today were 27 37 9 34 15.

So lets say we have 15 user groups then the first pull between 1 and 15 picks the user group. Now we have which user group we are going to use. In this case group 9 wins.

Now lets say in each user group we have 25 users. Excluding the ball we used to select the user group the next ball between 1-26 selects the user. The 9th user is now the 10th user because 9 can't be drawn again. So we move everyone past 8 up; 16 is now 17, 17 is now 18, so forth.

The next ball between 1-26 is 15 so the winner is Group 9 Member 15.
I think the problem here is the possibility that no one would be selected if you made groups before knowing the day's numbers and if you made the groups after the numbers were selected, then it wouldn't be random.


Quote:
Originally Posted by David_42
Assuming the Cash Five is picking five numbers between 1 & 99, you can just split the people into five groups using sign-up order (1,6,11 ... in group One, etc.) Then the prize goes to whomever matches the drawn number in each group. If no one in the group matches (say the number was 96 and there are only 78 people in the group), use the next day's group number.
I don't think this is random because it is based on the order in which people sign up.

I don't have an idea on how to do this yet, but I'll post again if I think of anything.
__________________
cowain is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 05:30 PM   #8
cowain
Feedback Score: 0 reviews
Recipes 
 
Join Date: Aug 2005
Location: Little Rock, AR
Posts: 338
Liked 2 Times on 2 Posts

Default

Ok, I've got an idea now.

Take twelve ten sided dice, with the numbers 0 thru 9 on the sides. Roll each die and record the number. You should now have a 12 digit number.

Assign each person a number.

12 digit Number % 375 = winner

% = modulus or remainder.

__________________
cowain is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 05:31 PM   #9
Darth Konvel
Feedback Score: 0 reviews
 
Darth Konvel's Avatar
Recipes 
 
Join Date: Sep 2005
Location: Columbus, OH
Posts: 1,046
Liked 1 Times on 1 Posts

Default

The only thing I see wrong is that in your scenario the winner should have been Group 9 Member 14, due to numbers past 9 needing to be shifted after the 9 ball was drawn (if I'm understanding your system correctly).

__________________
-LupusUmbrus
Up Next: ???


Darth Konvel is offline
 
Reply With Quote Quick reply to this message
Old 01-05-2006, 05:53 PM   #10
homebrewer_99
Feedback Score: 0 reviews
 
homebrewer_99's Avatar
Recipes 
 
Join Date: Feb 2005
Location: Atkinson (near the Quad Cities), IL
Posts: 17,951
Liked 85 Times on 75 Posts
Likes Given: 1

Default

I just checked back to see if you got your answer...

__________________
HB Bill
homebrewer_99 is offline
 
Reply With Quote Quick reply to this message
Reply



Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
OG -> FG = ABV Math sAvAgE General Beer Discussion 21 12-04-2009 05:46 AM
Check my Hop Math Logan Recipes/Ingredients 1 03-03-2008 06:05 PM
Math Help Please! Brewpastor General Techniques 11 09-20-2006 06:41 PM
Math. Orfy General Techniques 8 12-07-2005 03:06 AM