Re: A Gambling Math Question



In article <1169579987.759066.43860@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
JyBrdnj@xxxxxxxxx wrote:
Let p be the probability of success and q = 1-p = probability of failure.
If N is the number of trials, the expected number of successes is
obviously N*p. The standard deviation is approximately sqrt(N*p*q). This
comes from the well-known normal approximation to the binomial
distribution, which you can easily read about using a Google search.

I don't understand why the standard deviation formula would be
sqrt(N*p*q). Why would you need to multiply both the probability of a
win and the probability of a loss. Wouldn't you just need one side,
either the sqrt (N*p) or the sqrt (N*q).

The variance, which is the square of the standard deviation, can be
computed as the mean of the squares minus the square of the mean.
If something is 1 with probability p and 0 with probability q = 1-p,
then the mean and the mean of the squares are both p. Thus, the
variance is p - p^2 = p(1-p) = pq. The variance of n trials is n
times the variance of one trial. Thus, the variance is Npq, so the
standard deviation is sqrt(Npq).

Rob Johnson <rob@xxxxxxxxxxxxxx>
take out the trash before replying
to view any ASCII art, display article in a monospaced font
.



Relevant Pages

  • Re: Variance question
    ... Want to calculate the variance. ... 2)or do square of standard deviation ^2 approach ... that the 'cov' function itself has had to find the sample's mean in order ...
    (comp.soft-sys.matlab)
  • Re: Standard Deviation
    ... differences from the mean is there, but the main information is in the most significant digits, rather than being computed as the difference between two very large numbers, i.e. in the least significant digits. ... standard deviation to prove your point, but the opposite can easily be ... squared deviations from the mean) OR the variance (the SS divided by N ... point was simply that with the "wrong kind of data" the square of SumX ...
    (borland.public.delphi.non-technical)
  • Re: Variance and moment
    ... the usual way of getting a standard deviation is first get the variance and then take its square root. ... Prev by Date: ...
    (sci.math)
  • Re: Square root of a negative rral value
    ... data set that went with this, crashes on trying to take the square ... square root operation before terminating correctly with a final table. ... When the standard deviation is zero, ...
    (comp.lang.fortran)
  • Re: negative adjusted r square
    ... > I am reciving a negative adjusted R square when running my regerssion. ... also find that the residual standard deviation is greater than the original ... Whatever statistics you care to look at you can be pretty confident ...
    (sci.stat.math)