Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alpha=0.05
- n=39
- n_success=25
- p=n_success/n
- ci=qnorm(1-alpha/2) * sqrt( (p * (1-p)) / n )
- message( "p: ", round(p,2), " +/-", round(ci,2), ", ", round(p-ci,2), "-", round(p+ci,2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement