Learn R Programming

hettx (version 0.1.3)

variance.ratio.test: 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

Run this code
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