MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Using The Random Function to predict Things


Hi there friends...
I used this line of code "typicalList = Table[Random[Integer], {50}]" and got this result...

{1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, \
0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1}

By generating a few more of these random lists, I'm to predict a similiar situation: such as how long i would expect to wait for 3 heads in a coin tossing competition...

any suggestion or help as to what code i could use to do this?

thanks a lot guys


  • Prev by Date: Skewness problem
  • Next by Date: Re: general nth term of series
  • Previous by thread: Re: Skewness problem
  • Next by thread: Re: Using The Random Function to predict Things