variance.ratio.test {hettx} | R Documentation |
Variance ratio test
Description
Given vector of observed outcomes and treatment vector, test to see if there is evidence the variances are different (taking kurtosis into account).
Usage
variance.ratio.test(Yobs, Z, data = NULL)
Arguments
Yobs |
Outcome |
Z |
Treatment assignment vector |
data |
Dataframe with variables listed in formula and control.formula |
Examples
df <- make.randomized.dat( 1000, gamma.vec=c(1,1,1,2), beta.vec=c(-1,-1,1,0) )
variance.ratio.test(df$Yobs, df$Z)
[Package hettx version 0.1.3 Index]