To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 4173
  Re: math question (or pattern... whatever...)
 
(...) I'm not a stats person, but I agree with your friend. r(2) r(1) is the same as r(1) r(2), because order doesn't matter. If it does, then you end up with more combos (w r(2), etc)... -- that's what I was going to say. But, I decided to run a (...) (22 years ago, 3-Mar-03, to lugnet.off-topic.geek)
 
  Re: math question (or pattern... whatever...)
 
(...) Wow! You wrote a program! Thanks Dan! Again I'm impressed with the knowledge and skills of those that partake in LUGNET! Adding to my case, Dave K (22 years ago, 3-Mar-03, to lugnet.off-topic.geek)
 
  Re: math question (or pattern... whatever...)
 
(...) I don't quite get why this works-- if you're doing rand($#bag), won't that always pick r, r, or w for the 1st value? Hence, theoretically, you could pick "wb", which isn't in your sample set... on the other hand, you're increasing the chance (...) (22 years ago, 3-Mar-03, to lugnet.off-topic.geek)
 
  Re: math question (or pattern... whatever...)
 
(...) doh, you're right :) Also, I was calculating the chance of getting 2 red marbles, in general, not checking the chance given the first one was red... :) That's what you get when you do an experiment, and have an expected solution in your (...) (22 years ago, 4-Mar-03, to lugnet.off-topic.geek)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR