Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Science, Math, and Philosophy (http://archives2.twoplustwo.com/forumdisplay.php?f=45)
-   -   Math Q. (http://archives2.twoplustwo.com/showthread.php?t=343625)

Ribbo 09-24-2005 06:51 PM

Math Q.
 
Suppose I have two distributions, and for now let's cheat and call them normal. If I know the standard deviations of both, Now suppose I take a random data point from both distributions. What I want to know is how to calculate the chance that the point from the more variant distribution is farther from its mean than the random point from the less variant distribution. The general solution would be quite useful for me right about now.

Ribbo 10-03-2005 07:13 PM

Re: Math Q.
 
Always nice to see no-one is smart enough to answer it. [img]/images/graemlins/smirk.gif[/img]
Makes me feel less bad about my own lack of math skill.

10-03-2005 07:50 PM

Re: Math Q.
 
Easiest way would be set up a Monte Carlo sim and draw 1,000,000 random numbers or so and see how many times your condition holds. This probability will give you a good estimate for that chance.

10-04-2005 02:26 PM

Re: Math Q.
 
Normalize the two distributions, and the points you've drawn and then compare their z-scores.

If X is one of the normals with mean X_u and standard deviation X_s, then set Z_X = (X - X_u) / X_s. If you drew x from X, then you've drawn (x - X_u) / X_s from Z_X.

Do the same with Y and your drawn point y.

Now if N(.) is the standard normal distribution, then compare N((x-X_u)/X_s) and N((y-Y_u)/Y_s).

Maybe I can't discern what you want to do from your original post though ?!?

Cooker 10-04-2005 02:37 PM

Re: Math Q.
 
I think your question isn't so difficult. You can't really nicely display equations on a forum so look at this. I am fairly sure what I did here is correct. Not hard just a tad tedious.


All times are GMT -4. The time now is 10:31 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.