inst/snippet/free-weights.R

( 4.96 - 5.0 ) / (0.05 / sqrt(10) ) -> z; z    # test statistic
2 * (pnorm(z))                                 # 2-sided p-value
2 * (1 - pnorm(abs(z)))                        # 2-sided p-value again

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 2, 2019, 5:53 p.m.