| 
November 24th, 2008, 04:25 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | 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 
where I know the ratio  , the variance  and the point  is fixed. i need to find the mean of the distribution  that achieve the ratio of  between the two portion of area.
thanks in advance. | 
November 24th, 2008, 05:03 AM
| | Banned | | Join Date: Nov 2008
Posts: 82
Country: Thanks: 0
Thanked 25 Times in 25 Posts
| | Quote:
Originally Posted by Simo 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 
where I know the ratio  , the variance  and the point  is fixed. i need to find the mean of the distribution  that achieve the ratio of  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 | 
November 24th, 2008, 06:01 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | David,
my problem is in the form
and I want to solve it for  . I already know  and  . | 
November 24th, 2008, 06:18 AM
| | Banned | | Join Date: Nov 2008
Posts: 82
Country: Thanks: 0
Thanked 25 Times in 25 Posts
| | 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 | 
November 24th, 2008, 06:26 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | you are right...
typo and cut-&-past error!
the correct equation is
of course, it is the pdf of a normal distribution.
sorry! | 
November 24th, 2008, 07:56 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | solved I have already solved the problem...
thanks! | 
November 24th, 2008, 08:39 AM
| | Banned | | Join Date: Nov 2008
Posts: 82
Country: Thanks: 0
Thanked 25 Times in 25 Posts
| | how did you get it out?
Regards,
David | 
November 24th, 2008, 09:06 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | actually...solving the integral equation...
with the new variable
the former become 
(note that in the previous the constant terms that appear on both sides are omitted)
solving the integrals become
at the end, it was quite straightforward.
i've tested it numerically...works.
regards
simo | 
November 24th, 2008, 09:24 AM
| | Banned | | Join Date: Nov 2008
Posts: 82
Country: Thanks: 0
Thanked 25 Times in 25 Posts
| | 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? | 
November 24th, 2008, 09:33 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 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 | 
November 24th, 2008, 09:52 AM
| | Banned | | Join Date: Nov 2008
Posts: 82
Country: Thanks: 0
Thanked 25 Times in 25 Posts
| | Quote:
Originally Posted by Simo 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 | 
November 24th, 2008, 10:07 AM
| | Newbie | | Join Date: Nov 2008
Posts: 22
Country: Thanks: 4
Thanked 1 Time in 1 Post
| | doh... 
ok, I've made another mistake...
the equation that I've actually solved is
instead of
that was the first one posted and pasted in the post with the scratch of the solution...I've switched the integrals
sorry | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 12:06 AM. | | |