- data
A data frame containing SCD data for which design-comparable
effect sizes will be calculated.
- design
Character string to specify whether data comes from a treatment
reversal ("TR"
), multiple baseline across participants
("MBP"
), replicated multiple baseline across behaviors
("RMBB"
), or clustered multiple baseline across participants
("CMB"
).
- grouping
A variable name or list of (unquoted) variable names that
uniquely identify each study.
- case
A variable name (unquoted) that identifies unique cases within
each grouping
variable.
- phase
A variable name (unquoted) that identifies unique treatment
phases.
- session
A variable name (unquoted) that contains the measurement times
for each data series.
- outcome
A variable name (unquoted) that contains the outcome
measurements for each data series.
- cluster
(Optional) variable name (unquoted) that identifies the unique
clusters of cases for CMB
designs.
- series
(Optional) variable name (unquoted) that identifies the unique
data series for RMBB
designs.
- center
Numeric value for the centering value for session. Default is 0.
- round_session
Logical indicating whether to round session
to the nearest integer. Defaults to TRUE
.
- treatment_name
(Optional) character string corresponding to the name
of the treatment phase.
- FE_base
Vector of integers specifying which fixed effect terms to
include in the baseline phase. Setting FE_base = 0
includes only a
level. Setting FE_base = c(0,1)
includes a level and a linear time
trend.
- RE_base
Vector of integers specifying which random effect terms to
include in the baseline phase. Setting RE_base = 0
includes only
levels (i.e., random intercepts). Setting RE_base = c(0,1)
includes
random levels and random linear trends.
- RE_base_2
Vector of integers specifying which random effect terms to
include in the baseline phase for the cluster level in clustered multiple
baseline design across participants or for the case level in replicated
multiple baseline across behaviors. Setting RE_base_2 = 0
includes
only levels (i.e., random intercepts). Setting RE_base_2 = c(0,1)
includes random levels and random linear trends.
- FE_trt
Vector of integers specifying which fixed effect terms to
include in the treatment phase. Setting FE_trt = 0
includes only a
change in level. Setting FE_trt = c(0,1)
includes a change in level
and a treatment-by-linear time trend.
- RE_trt
Vector of integers specifying which random effect terms to
include in the treatment phase. Setting RE_trt = 0
includes only
random changes in level. Setting RE_trt = c(0,1)
includes random
changes in level and random treatment-by-linear time trends.
- RE_trt_2
Vector of integers specifying which random effect terms to
include in the treatment phase for the cluster level in clustered multiple
baseline design across participants or for the case level in replicated
multiple baseline across behaviors. Setting RE_trt_2 = 0
includes
only random changes in level. Setting RE_trt_2 = c(0,1)
includes
random changes in level and random treatment-by-linear time trends.
- corStruct
(Optional) character string indicating the correlation
structure of session-level errors. Options are "AR1"
(default),
"MA1"
, or "IID"
.
- varStruct
(Optional) character string indicating the
heteroscedasticity structure of session-level errors. Options are
"hom"
(default) or "het"
, which allows for the session-level
error variances to differ by phase.
- A
The time point immediately before the start of treatment in the
hypothetical between-group design.
- B
The time point at which outcomes are measured in the hypothetical
between-group design.
- D
Numerical indicating the treatment duration across cases. Note that
B = A + D
and it is not allowed to specify both B
and
D
.
- cover
Confidence level.
- bound
Numerical tolerance for non-centrality parameter in
qt
.
- symmetric
If TRUE
(the default), use a symmetric confidence
interval. If FALSE
, use a non-central t approximation to obtain an
asymmetric confidence interval.
- ...
further arguments.