- fit
The fit object, to be
passed to manymome::indirect_effect().
- x
The name of the x-variable,
the predictor.
- m
A character vector of the
name(s) of mediator(s). The path
moves from the first mediator in the
vector to the last mediator in the
vector. Can be NULL and the path
is a direct path without mediator.
- y
The name of the y-variable,
the outcome variable.
- mc_ci
Logical. If TRUE, the
default, Monte Carlo confidence
intervals will be formed. This argument
and boot_ci cannot be both TRUE.
- mc_out
The pre-generated
Monte Carlo estimates generated by
manymome::do_mc, stored in
a power4test object. Users should
not set this argument and should let
power4test() to set it automatically.
- boot_ci
Logical. If TRUE,
the default, nonparametric bootstrap
confidence intervals will be formed.
This argument
and mc_ci cannot be both TRUE.
- boot_out
The pre-generated
bootstrap estimates generated by
manymome::do_boot, stored in
a power4test object. Users should
not set this argument and should let
power4test() to set it automatically.
- check_post_check
Logical. If
TRUE, the default, and the model
is fitted by lavaan, the test
will be conducted only if the model
passes the post.check conducted
by lavaan::lavInspect() (with
what = "post.check").
- ...
Additional arguments to
be passed to manymome::indirect_effect().
- fit_name
The name of the
model fit object to be extracted.
Default is "fit". Used only when
more than one model is fitted in
each replication. This should be
the name of the model on which the
test is to be conducted.
- get_map_names
Logical. Used
by power4test() to determine how
to extract stored information and
assign them to this function. Users
should not use this argument.
- get_test_name
Logical. Used
by power4test() to get the default
name of this test. Users should not
use this argument.