getParamRanges: Data-generating parameter ranges for one-factor design

Description Usage Value See Also Examples

View source: R/onefactor.R

Description

Get the default list of parameter ranges used in the Monte Carlo simulations for one-factor design. These parameter ranges can then be modified by the user.

Usage

1

Value

An environment object, containing the following variables:

evar.range

range of error variance (default [0,3])

icept.range

range of intercept (default [-3, 3])

pmissing.range

range of proportion missing obs (default [0, .05])

r01.item.range

range of by-subject intercept/slope correlation (default [-.8, .8])

r01.subj.range

range of by-item intercept/slope correlation (default [-.8, .8])

slope

treatment effect, when h0 TRUE, 0; when h0 FALSE, .8

t00.range

range of by-subject random intercept variance (default [0, 3]

t11.range

range of by-subject random slope variance (default [0, 3])

w00.range

range of by-item random intercept variance (default [0, 3])

w11.range

range of by-item random slope variance (default [0, 3])

See Also

createParamMx

Examples

1
2
3
4
5
6
7
8
# display all the parameter ranges
print(as.list(getParamRanges()))

# how to alter one of the values
p.env <- getParamRanges()
p.env$pmissing.range <- c(0, .25)
assign("pmissing.range", c(0, .25), env=p.env) # alternate way
print(as.list(p.env))

dalejbarr/simgen documentation built on Jan. 28, 2019, 7:43 p.m.