Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old November 24th, 2008, 04:25 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default cdf ratio and mean estimation

Dear all,
I need to know if is it possible to find the mean of a normal distribution knowing the ratio of the area under the "bell" curve on the left and on the right of a given point.
To be more precise I need to solve the following equation
\frac{1}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( \frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx=\frac{k}{\sigma \sqrt{2\pi }}\int_{x=-\infty}^{\bar{X} }\exp \left( \frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx
where I know the ratio k, the variance \sigma ^{2} and the point \bar{X} is fixed. i need to find the mean of the distribution \mu that achieve the ratio of k between the two portion of area.

thanks in advance.
Reply With Quote
Advertisement
 
  #2  
Old November 24th, 2008, 05:03 AM
Banned
 
Join Date: Nov 2008
Posts: 82
Country:
Thanks: 0
Thanked 25 Times in 25 Posts
David24 is on a distinguished road
Default

Quote:
Originally Posted by Simo View Post
Dear all,
I need to know if is it possible to find the mean of a normal distribution knowing the ratio of the area under the "bell" curve on the left and on the right of a given point.
To be more precise I need to solve the following equation
\frac{1}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( \frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx=\frac{k}{\sigma \sqrt{2\pi }}\int_{x=-\infty}^{\bar{X} }\exp \left( \frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx
where I know the ratio k, the variance \sigma ^{2} and the point \bar{X} is fixed. i need to find the mean of the distribution \mu that achieve the ratio of k between the two portion of area.

thanks in advance.
hey mate, just so Im reading your your question correctly, you have an integral equation of the form

int(f(x)) = k*inf(g(x)) and you want to solve for k?

Regards,

David
Reply With Quote
  #3  
Old November 24th, 2008, 06:01 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default

David,
my problem is in the form

\int_{x=\bar{X}}^{+\infty }f(\mu,x) dx=k\int_{x=-\infty}^{\bar{X} }f(\mu,x) dx

and I want to solve it for \mu. I already know k and \bar{X}.
Reply With Quote
  #4  
Old November 24th, 2008, 06:18 AM
Banned
 
Join Date: Nov 2008
Posts: 82
Country:
Thanks: 0
Thanked 25 Times in 25 Posts
David24 is on a distinguished road
Default

Hey Simo,

are you sure the integrand in both integrals is exp( ( (x - mu)/(sqrt(2)*sigma) )^2 ), should it be exp( - ( (x - mu)/(sqrt(2)*sigma) )^2 ) ?

Cheers,

David
Reply With Quote
  #5  
Old November 24th, 2008, 06:26 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default

you are right...
typo and cut-&-past error!

the correct equation is

\frac{1}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( -\frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx=\frac{k}{\sigma \sqrt{2\pi }}\int_{x=-\infty}^{\bar{X} }\exp \left( -\frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx

of course, it is the pdf of a normal distribution.
sorry!
Reply With Quote
  #6  
Old November 24th, 2008, 07:56 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default solved

I have already solved the problem...
thanks!
Reply With Quote
  #7  
Old November 24th, 2008, 08:39 AM
Banned
 
Join Date: Nov 2008
Posts: 82
Country:
Thanks: 0
Thanked 25 Times in 25 Posts
David24 is on a distinguished road
Default

how did you get it out?

Regards,

David
Reply With Quote
  #8  
Old November 24th, 2008, 09:06 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default

actually...solving the integral equation...

\frac{1}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( -\frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx=\frac{K}{\sigma \sqrt{2\pi }}\int_{-\infty }^{x=\bar{X}}\exp \left( -\frac{\left( x-\mu \right)^{2}}{2\sigma ^{2}}\right) dx

with the new variable
y=\frac{x-\mu }{\sigma \sqrt{2}}

the former become
\int_{y=-\infty }^{\frac{\bar{X}-\mu }{\sigma \sqrt{2}}}\exp(-y^{2})dy=K\int_{y=\frac{\bar{X}-\mu }{\sigma \sqrt{2}}}^{+\infty }\exp(-y^{2})dy
(note that in the previous the constant terms that appear on both sides are omitted)
solving the integrals become

{erf}(\frac{\bar{X}-\mu }{\sigma \sqrt{2}})-(-1)=K\left( (+1)-{erf}(\frac{\bar{X}-\mu }{\sigma \sqrt{2}})\right)

{erf}(\frac{\bar{X}-\mu }{\sigma \sqrt{2}})=\frac{K-1}{K+1}

\mu =\bar{X}-{erf}^{-1}\left( \frac{K-1}{K+1}\right) \sigma \sqrt{2}

at the end, it was quite straightforward.
i've tested it numerically...works.

regards
simo
Reply With Quote
  #9  
Old November 24th, 2008, 09:24 AM
Banned
 
Join Date: Nov 2008
Posts: 82
Country:
Thanks: 0
Thanked 25 Times in 25 Posts
David24 is on a distinguished road
Default

hey mate,

exact solution I had, however I was trying to find an analytical expression for inv_erf(x), do you think it exists? I'm gonna keep working at it!

great problem through, I'm consider a Laplace transform technique... hopefully it will point me in the right direction

i.e. you have

erf( (x-mu/(sqrt(2)*sigma) ) = (K- 1)/(K + 1)

this is obviously an integral equation which when utilising Laplace (or Fourier transforms) may yield an analytical solution.


Cheers again for the problem, really enjoyed working on it!

David

ps - I do have one discrepency with you solution,

I have erf(...) = (1-K)/(1+K)

on your second line, are you sure you have the K on the correct side?
Reply With Quote
  #10  
Old November 24th, 2008, 09:33 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default

to the best of my knowledge, there is no closed form for the inverse error function. i've look in some texts but the only representation was the same you can find in wikipedia
Error function - Wikipedia, the free encyclopedia
...a series expansion...

at the moment, for my work it's fine, but if you go ahead with the work...good luck1
Reply With Quote
  #11  
Old November 24th, 2008, 09:52 AM
Banned
 
Join Date: Nov 2008
Posts: 82
Country:
Thanks: 0
Thanked 25 Times in 25 Posts
David24 is on a distinguished road
Default

Quote:
Originally Posted by Simo View Post
to the best of my knowledge, there is no closed form for the inverse error function. i've look in some texts but the only representation was the same you can find in wikipedia
Error function - Wikipedia, the free encyclopedia
...a series expansion...

at the moment, for my work it's fine, but if you go ahead with the work...good luck1
Cool no worries, Ive played around with it a bit and Ive gotten to the point of not caring, just one other thing are you sure about the K-1 as opposed to 1-K? following your original problem and your solution I think you may have the K on the wrong side of the equation (line after 'introduce new variable (x-mu)/(sqrt(2)*sigma)

I hope you dont take offence, Ive just played with the algebra a few times and always end up with 1 - K.

Keep posts like this coming!

Regards,

David
Reply With Quote
  #12  
Old November 24th, 2008, 10:07 AM
Newbie
 
Join Date: Nov 2008
Posts: 22
Country:
Thanks: 4
Thanked 1 Time in 1 Post
Simo is on a distinguished road
Default

doh...
ok, I've made another mistake...
the equation that I've actually solved is

\frac{1}{\sigma \sqrt{2\pi }}\int_{-\infty }^{x=\bar{X}}\exp \left( -\frac{\left( x-\mu \right)^{2}}{2\sigma ^{2}}\right) dx = \frac{K}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( -\frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx

instead of

\frac{1}{\sigma \sqrt{2\pi }}\int_{x=\bar{X}}^{+\infty }\exp \left( -\frac{\left( x-\mu \right) ^{2}}{2\sigma ^{2}}\right) dx=\frac{K}{\sigma \sqrt{2\pi }}\int_{-\infty }^{x=\bar{X}}\exp \left( -\frac{\left( x-\mu \right)^{2}}{2\sigma ^{2}}\right) dx

that was the first one posted and pasted in the post with the scratch of the solution...I've switched the integrals

sorry
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 04:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.