+ Reply to Thread
Results 1 to 2 of 2

Computation that underlies Norm.S.Inv

  1. #1
    Registered User
    Join Date
    05-03-2004
    Posts
    39

    Computation that underlies Norm.S.Inv

    Folks,

    This might be more of a basic stats problem... However, I am looking for the actual formula that Excel uses to compute =Norm.S.Inv for a given probability value (or percentile).

    To clarify:
    If I enter ".99" as a value, the formula returns 2.326...
    This is essentially the "standard score" that corresponds to the 99th percentile of a normal distribution.

    I am trying to verify the precise steps that Excel takes in this computation - what is the underlying formula?
    I can find this for Norm.S.Dist in the Excel documentation (however, only for the non-cumulative version, not the cumulative one).
    I appreciate if someone can help out on the Norm.S.Inv issue.

    As

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Computation that underlies Norm.S.Inv

    In writing this, I'm going to assume you have a couple of years of calculus behind you (I'm not sure how I would explain this with only algebra). From the help file for norm.s.inv http://office.microsoft.com/en-us/ma...892.aspx?CTT=1

    Quote Originally Posted by Excel help
    Given a value for probability, NORM.S.INV seeks that value z such that NORM.S.DIST(z,TRUE) = probability. Thus, precision of NORM.S.INV depends on precision of NORM.S.DIST. This function uses an iterative search technique.
    As you've found in the documentation, the probability density function used for norm.s.dist is f(z)=1/sqrt(2pi)*exp(-0.5z^2). If I remember correctly, the cumulative version is a "simple" integration of that function. I'm not enough of a statistician to be certain I'm doing this derivation correctly, but I believe it is close.

    1) The cumulative integral is y=integral from -infinity to x of (1/sqrt(2pi)*exp(-0.5z^2)) dz (http://en.wikipedia.org/wiki/Cumulat...ution_function). The help file for the NORM.S.DIST function doesn't say whether they use an exact antiderivative to perform the integration or a numerical "riemann sum" (http://en.wikipedia.org/wiki/Riemann_sum) type technique for doing this integration.
    2) The NORM.S.INV function is going to be the solution to that equation (y=integral from -infinity to x of (1/sqrt(2pi)*exp(-0.5z^2)) where we are given y and z and try to find x.
    3) Again, not knowing the exact anti-derivative for that integrand, I don't see any way to find x other than to use numerical methods (above and beyond any numerical integration used to perform the integration). The help file only says that they are using an "iterative search technique" without further clarification. If I had to guess, I would guess that they are using something similar to the Newton Raphson method (http://en.wikipedia.org/wiki/Root-finding_algorithm), but I can't say that for sure.

    I don't know if that is as specific as you want, but that would seem consistent with what little documentation we have about this function.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1