powered by
Given vector of observed outcomes and treatment vector, test to see if there is evidence the variances are different (taking kurtosis into account).
variance.ratio.test(Yobs, Z, data = NULL)
Outcome
Treatment assignment vector
Dataframe with variables listed in formula and control.formula
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)
Run the code above in your browser using DataLab