Skip to content
Back to formatted view

Raw Message

Message-ID: <E9DFF31D-5864-4B95-9C82-818783D91D17@gmail.com>
Date: 2012-10-18T09:32:08Z
From: Peter Dalgaard
Subject: how R implement qnorm()
In-Reply-To: <507FB603.4010503@stats.ox.ac.uk>

On Oct 18, 2012, at 09:55 , Prof Brian Ripley wrote:

>> R is a bit confusing as it requires inverse error function (X =
>> - sqrt(2)* erf-1 (2*P)), while R doesn't have a build in one. The InvErf
>> function most people use is through qnorm( InvErf=function(x)
> 
> I think you are wrong about 'most people': this is the notation used by a small group of non-statisticians (mainly physicists, I think).

Well, he's right in the sense that it is erf/erfc that are commonly documented in collections of special functions (like Abramowitz & Stegun), and also those that appear in common C math libraries. In both cases of course because physicists have dominated in their development. 

Of course "most people" use Excel these days (which has the inverse normal distribution but AFAICS not the inverse error function).

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com