Results 1 to 12 of 12

Math Help - cdf ratio and mean estimation

  1. #1
    Newbie
    Joined
    Nov 2008
    Posts
    22

    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.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Banned
    Joined
    Nov 2008
    Posts
    82
    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
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Nov 2008
    Posts
    22
    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}.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Banned
    Joined
    Nov 2008
    Posts
    82
    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
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Nov 2008
    Posts
    22
    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!
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    Nov 2008
    Posts
    22

    solved

    I have already solved the problem...
    thanks!
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Banned
    Joined
    Nov 2008
    Posts
    82
    how did you get it out?

    Regards,

    David
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Newbie
    Joined
    Nov 2008
    Posts
    22
    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)<br />
^{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<br />
(-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
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Banned
    Joined
    Nov 2008
    Posts
    82
    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?
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Newbie
    Joined
    Nov 2008
    Posts
    22
    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
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Banned
    Joined
    Nov 2008
    Posts
    82
    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
    Follow Math Help Forum on Facebook and Google+

  12. #12
    Newbie
    Joined
    Nov 2008
    Posts
    22
    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<br />

    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)<br />
^{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
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Estimation
    Posted in the Calculus Forum
    Replies: 1
    Last Post: May 10th 2011, 01:11 AM
  2. MLE estimation
    Posted in the Advanced Statistics Forum
    Replies: 4
    Last Post: March 18th 2010, 05:38 PM
  3. Ratio for curve and point-ratio form
    Posted in the Algebra Forum
    Replies: 4
    Last Post: January 11th 2010, 12:07 AM
  4. Rayleigh pdf ratio and parameter estimation
    Posted in the Advanced Statistics Forum
    Replies: 3
    Last Post: July 5th 2009, 11:06 PM
  5. Poisson distribution parameter estimation given a CDF ratio
    Posted in the Advanced Statistics Forum
    Replies: 3
    Last Post: December 19th 2008, 08:12 AM

Search Tags


/mathhelpforum @mathhelpforum