lw.f.star {DACF} | R Documentation |
lw.f.star
Description
conduct an F star with for data with ceiling/floor effects
Usage
lw.f.star(data, formula, method_type)
Arguments
data |
a dataframe of data with ceiling/floor effects and corresponding group variables in wide format |
formula |
a formula denoting the dependent and independent variable, e.g., y~group |
method_type |
a character string specifying the preferred method type. "a" uses the original sample size and "b" uses after-truncation sample size. |
Value
statistic |
the value of the Brown-Forsythe F star statistics |
p.value |
the p-value for the test |
est.f.squared |
effect size estimate in Cohen's f squared |
Examples
dat=threeganova.sim(1000,.16,1)
dat[dat$group==1,3]=induce.cfe(0,.15,dat[dat$group==1,3])
lw.f.star(dat,y~group,"a") #using truncated n
lw.f.star(dat,y~group,"b") #using original n
[Package DACF version 1.0.0 Index]