Re: Two intersecting gaussians?

From: Alan Miller (amiller_at_bigpond.net.au)
Date: 07/09/04


Date: Fri, 09 Jul 2004 23:57:35 GMT

You want the probability that Z = (X - Y) > 0.
Z has a normal distribution with mean = Xmean - Ymean,
and variance = variance of X + variance of Y.
The probability that X > Y is then the probability that
a standardized normal variable with value = - Zmean / stdev(Z) is greater
than zero.

Cheers

--
Alan Miller
Retired
Formerly with CSIRO,
Division of Mathematics & Statistics
"beliavsky@aol.com" <beliavsky@127.0.0.1:7501> wrote in message
news:40eef7d0$1_1@127.0.0.1...
>
> "Rumborak" <rumborsk2001@yahoo.com> wrote:
> >Hi all,
> >
> >I've been trying to find information on this online, but so far without
> >success. Here's my problem:
> >
> >I have two independent statistical variables (say X and Y) that produce
> >values with Gaussian distribution. They differ both in means and
variances.
> >Now, my question is: Is there a formula that tells me what the
probability
> >is of an X event having a higher value than a Y event?
> >I've been trying to do this analytically, but it fails at the integral of
> >the normal distribution (for which there is no easy, again integrable
> >solution).
> >
> >Anyone have any ideas?
> >
> >Rumborak
>
> You need the bivariate (cumulative) normal distribution, for which there
> is Fortran 77 code at
http://www.sci.wsu.edu/math/faculty/genz/papers/bvnn/node5.html
> and Fortran 90 code at http://users.bigpond.net.au/amiller/bivnorm.f90 .
>
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---


Relevant Pages

  • the calculation of a joint probability
    ... Assume that X has a normal distribution with mean 2 and variance 4, ... mean 2-x and variance 12 for all x. Find the probability P ...
    (sci.stat.math)
  • Re: Probability question help....
    ... So when you plug the avg return and std ... std dev of the log returns. ... the probability that the log return exceeds 0 (the same ... using the cumulative normal distribution function provided by TI ...
    (sci.stat.math)
  • Re: std. or S.E.
    ... I will have 1000 values of probability of being greater ... So if you have a set of data that you think come from a normal distribution, you could fit a normal by computing the sample mean and variance, and by taking the sqrt of the latter, you'd be estimating the _population_ standard deviation. ... It just so happens that the _sampling_ std dev of the sample mean is the _population_ std dev divided by sqrt. ...
    (comp.soft-sys.matlab)
  • Re: statistics question for a business research course
    ... > You draw a random sample of 300 employee records from the personnel file ... The probability Pfor any given z on the normal ... of the "cumulative normal distribution", i.e., P, then ... Anyway, what you need to use such a table is the "Z-score", ...
    (sci.math)
  • Re: You Can Buy Your Way to a Lower Edge, but Beware the Cost
    ... >> The shorter the session, the less the HA matters, ... You have a .4929 probability of winning a passline bet; ... probability of winning a given bet, the variance, standard deviation, ... >>higher chance of winning, Bob. ...
    (rec.gambling.craps)

Quantcast