lw.f.star: lw.f.star

Description Usage Arguments Value Examples

View source: R/lw.f.star.R

Description

conduct an F star with for data with ceiling/floor effects

Usage

1
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

1
2
3
4
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

QMmmmLiu/DACFD documentation built on Feb. 8, 2018, 12:12 p.m.