fun.stratsize: Simulate incorrect two-stage testing for effect between...

View source: R/stratsize.R

fun.stratsizeR Documentation

Simulate incorrect two-stage testing for effect between exposure and result, by pretesting for the effect of a confounder, and adjusting if statistical evidence says to.

Description

Simulate incorrect two-stage testing for effect between exposure and result, by pretesting for the effect of a confounder, and adjusting if statistical evidence says to.

Usage

fun.stratsize(qv, cut, r1, h)

Arguments

qv

vector of cell probabilities, going down column

cut

Critical value.

r1

row 1 total

h

table total.


kolassa-dev/TheorStat documentation built on Dec. 7, 2023, 12:23 a.m.