calculate.p.from.stat.dt: Calculate a p-value from a list of statistics, try and...

Description Usage Arguments Value

Description

Calculate a p-value from a list of statistics, try and automatically detect the appropriate one. If there is a column named 'wgt', use that to weight the average per permutation number.

Usage

1

Arguments

stat.dt

data.table with a column called perm.num which has the comparison from the actual data with 0

stat.col

character name of the column which is the stat

Value

Two-sided p-value


mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.