PermutationTest: Compute permutation p-value for mean difference between...

Description Usage Arguments Value

Description

Compute permutation p-value for mean difference between treatment and control

Usage

1
PermutationTest(data, n.samples = 50000)

Arguments

data

A data.frame with 2 columns for each sample: A column named "condition" indicating whether the sample is from the control or treatment group. A column named "pre" indicating the observed value in the pre-period.

n.samples

Number of samples used for the permutation.

Value

A p-value associated to the null hypothesis that the two means are identical.


google/abpackage documentation built on May 8, 2019, 11:44 a.m.