From 8158932a85c820b87fb0b17e03003a8df208ed6e Mon Sep 17 00:00:00 2001 From: Mostafa Mahmoud Date: Thu, 22 Nov 2018 08:24:56 +0100 Subject: [PATCH] vectorized_prop_test According to function signature here: https://github.com/dgrtwo/splittestr/blob/master/R/vectorized-prop-test.R --- _R/2015-08-21-bayesian-ab-testing.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_R/2015-08-21-bayesian-ab-testing.Rmd b/_R/2015-08-21-bayesian-ab-testing.Rmd index c0267d4..530384f 100644 --- a/_R/2015-08-21-bayesian-ab-testing.Rmd +++ b/_R/2015-08-21-bayesian-ab-testing.Rmd @@ -82,7 +82,7 @@ sim_no_difference <- data_frame(replicate = seq_len(nreps)) %>% # add chi-squared p-values sim_no_difference <- sim_no_difference %>% - mutate(p.value = vectorized_prop_test(sA, nA - sA, sB, nB - sB)) + mutate(p.value = vectorized_prop_test(sA, nA, sB, nB)) ``` ```{r process_pvalues, dependson = "pvalue_simulation"}