Skip to contents

Positivity: every treatment value has positive probability in every covariate stratum (ch. 7 p. 157)

Usage

morie_poschk(treat, stratum, tol = 0)

Arguments

treat

treatment values, one per unit

stratum

covariate stratum labels, one per unit

tol

the threshold a cell probability must exceed

Value

list(minprob, holds, ncells, nstrata, nlevels)

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_poschk(V, V)
#> $minprob
#> [1] 0
#> 
#> $holds
#> [1] FALSE
#> 
#> $ncells
#> [1] 64
#> 
#> $nstrata
#> [1] 8
#> 
#> $nlevels
#> [1] 8
#>