mqr.inference.

rate#

Functions

confint_1sample(count, n[, meas, conf, ...])

Confidence interval for rate count / n / meas.

confint_2sample(count1, n1, count2, n2[, ...])

Confidence interval for difference of rates count1 / n1 / meas1 - count2 / n2 / meas2.

power_1sample(ra, H0_rate, nobs, alpha[, ...])

Calculate power of a test of rate of events.

power_2sample(r1, r2, nobs, alpha[, ...])

Calculate power of a test of difference or ratio of two rates of events.

size_1sample(ra, H0_rate, alpha, beta[, ...])

Calculate sample size for test of rate of events.

size_2sample(r1, r2, alpha, beta[, ...])

Calculate sample size for difference of two rates of events.

test_1sample(count, n[, meas, H0_rate, ...])

Hypothesis test for the rate of events.

test_2sample(count1, n1, count2, n2[, ...])

Hypothesis test for equality of rates.