vectorized_prop_test: Perform vectorized hypothesis tests for the difference of two...

Description Usage Arguments

Description

Given vectors a, b, c and d, return a vector of p-values that test whether a / (a + b) is the same proportion as c / (c + d). This is used in the simulations of p-value behavior.

Usage

1
vectorized_prop_test(x1, n1, x2, n2, conf.level = 0.95)

Arguments

a

Number of successes in first condition

b

Number of failures in first condition

c

Number of successes in second condition

d

Number of failures in second condition


dgrtwo/splittestr documentation built on May 15, 2019, 8:19 a.m.