Getting pnorm() for 1s,2s and 3s only
To all
I am trying to do a sanity check against a xls doc set-up by a colleague. It uses the xls function NORMDIST()
The aim is to get the cum. Distribution for 1s, 2s and 3s (s=sigma) for a mean=0 and std dev. = 1
The xls was set up as follows
Sigmavalue=1 a=2*NORMDIST(sigmavalue,0,1)-1
Sigmavalue=2 b=2*NORMDIST(sigmavalue,0,1)-(1+a)
Sigmavalue=3 c=1-(a+b)
I believe the mcad function pnorm() does the same but I can’t quite figure out how to get the pnorm value for 1s, 2s and 3s without
setting up the same equations (see below). I f I do I get the same answers but I think there is a quicker way of doing it
a=2*pnorm(1,0,1)-1
b=2*pnorm(2,0,1)-1-a
c= 1-(a+b)
Thanks
Regards
JXB


