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

@@ -371,7 +371,7 @@ define normalcdf(x,mu,sigma){
define probit(p){
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){