path_model.RdThis function fits the path model and returns adjusted standard errors.
path_model(
mars_object,
model,
num_obs = NULL,
adjust_se = TRUE,
se_method = c("delta", "simulation", "bootstrap"),
se_draws = 1000,
se_seed = NULL,
method_null = "sem",
synthesis_method = c("model", "average", "weighted"),
synthesis_transform = c("none", "fisher_z"),
missing_corr = c("available", "pairwise", "em"),
attenuation = c("none", "correct"),
reliability = NULL,
reliability_missing = c("error", "skip", "impute_mean", "assume_1"),
pd_adjust = c("none", "eigen_clip", "nearpd"),
pd_tol = 1e-08,
...
)The mars fitted object, or an object returned by
mixed_corr_meta.
This is model syntax specified in the format by lavaan.
Number of observations. For objects returned by
mixed_corr_meta, supply this explicitly if you want
chi-square/RMSEA-style fit statistics; otherwise those statistics are
reported as unavailable because the mixed-correlation workflow does not
imply a defensible SEM sample size by default.
Adjust the standard errors to reflect the ...
Method used for standard errors. "delta" uses the
current delta-method approximation, "simulation" uses parametric
draws from the pooled correlation vector, and "bootstrap" uses
available bootstrap correlation draws when present.
Number of draws/resamples used when
se_method = "simulation" or "bootstrap".
Optional random seed for se_method.
Unsure
Correlation synthesis method used to build the
matrix supplied to latent/path modeling. One of "model" (default,
use the fitted MARS coefficients), "average", or "weighted".
Optional transform applied for
"average"/"weighted" pooling. One of "none" or
"fisher_z".
Missing-correlation handling for synthesized matrices.
One of "available" (fallback to model-estimated pair), "pairwise"
(pairwise pooling with simple fill for absent pairs), or "em"
(EM-style matrix completion).
Attenuation-correction mode for synthesized correlations.
One of "none" or "correct".
Reliability input used when attenuation = "correct".
Accepts either a named numeric vector by variable or a data frame with
variable/reliability columns (optionally with a study column).
Strategy for missing reliability values.
One of "error", "skip", "impute_mean",
or "assume_1".
Positive-definite repair applied to the synthesized
correlation matrix prior to model fitting. One of "none",
"eigen_clip", or "nearpd".
Minimum eigenvalue tolerance used by
pd_adjust = "eigen_clip".
Currently not used.
List output with class path; The output is the parameter estimates from the fitted path model.
The input is the coefficients and the variance covariance matrix returned from the mars function.