|
-
May 30th, 2007, 07:45 PM
#1
Thread Starter
Not NoteMe
Cash total probabilities
Let's say i have a list of products, and a price for each one.
Let's assume the probability of a customer picking an item in addition to any others he may have picked previously is the same for all products.
How would you go about calculating the probability of the total cost being a particular amount? Would the only way be a brute force algorithm?
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
May 31st, 2007, 04:20 PM
#2
Fanatic Member
Re: Cash total probabilities
Off the top of my head, it seems that you would have to make a table of all possible totals, which, yes, would be brute force. I don't know how else to do it. If you something worth 1 cent, 10 cents, and $1000000, what are the odds that the total will be $1 if they are picking 5 items? Obviously, it is 0%.
I could see maybe devising a method of saying it will be > or < X, but not exactly X.
Sounds like brute force to me, but then, I give up easily.
VB.Net 2008
.Net Framework 2.0
"Must you breathe? 'Cause I need heaven..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|