Minor changes

This commit is contained in:
Loic Guegan 2023-10-18 20:32:31 +02:00
parent f052a42c03
commit 1fdb98af89
3 changed files with 20 additions and 8 deletions

View file

@ -1,10 +1,6 @@
N=rnorm(9999999,mean=0,sd=1)
cdf=ecdf(N)
zscore=-1.8
message(paste0("Alpha approximated is ",cdf(zscore)))
message(paste0("Alpha from built-in CDF ",pnorm(zscore,mean=0,sd=1)))
message(paste0("Bonus: zscore from p-value ",qnorm(0.02275,mean=0,sd=1)))