Fixed typo in cal/statistics.cal

Thanks to a report by <GitHub user dennisaldea>.
This commit is contained in:
Landon Curt Noll
2021-10-21 12:12:31 -07:00
parent 9e92d4a35a
commit a640bc4656
2 changed files with 4 additions and 1 deletions

View File

@@ -191,6 +191,9 @@ The following are the changes from calc version 2.14.0.0 to date:
; print hm2h(241, -25.5594); ; print hm2h(241, -25.5594);
0.57401 0.57401
Fixed typo in cal/statistics.cal thanks to a report by <GitHub user
dennisaldea>.
The following are the changes from calc version 2.13.0.1 to 2.13.0.1: The following are the changes from calc version 2.13.0.1 to 2.13.0.1:

View File

@@ -371,7 +371,7 @@ define normalcdf(x,mu,sigma){
define probit(p){ define probit(p){
if(p<0 || p > 1) return newerror("probit: p out of domain 0<=p<=1"); if(p<0 || p > 1) return newerror("probit: p out of domain 0<=p<=1");
return sqrt(2)*ervinv(2*p-1); return sqrt(2)*erfinv(2*p-1);
} }
define normalcdfinv(p,mu,sigma){ define normalcdfinv(p,mu,sigma){