rasmusab / bayesian_first_aid

Inside every classical test there is a Bayesian model trying to get out.
326 stars 40 forks source link

bayes.prop.test() spelling error in heading #16

Closed tfrojd closed 8 years ago

tfrojd commented 8 years ago

Heading says "Bayesian First Aid propotion test" when it probably should be "Bayesian First Aid proportion test"

n_right_leaners <- c(4, 8) n_respondents <- c(16, 16) bayes.prop.test(n_right_leaners, n_respondents, n.iter = 15000)

Bayesian First Aid **propotion** test

data: n_right_leaners out of n_respondents number of successes: 4, 8 number of trials: 16, 16 Estimated relative frequency of success [95% credible interval]: Group 1: 0.27 [0.093, 0.48] Group 2: 0.50 [0.28, 0.72] Estimated group difference (Group 1 - Group 2): -0.23 [-0.52, 0.074] The relative frequency of success is larger for Group 1 by a probability of 0.079 and larger for Group 2 by a probability of 0.921 .