This function fits the path model and returns adjusted standard errors.

path_model(
  data,
  model,
  num_obs,
  adjust_se = TRUE,
  method_mat = "loehlin",
  method_null = "sem",
  ...
)

Arguments

data

A list that contains the correlation matrix for model fitting and the variance matrix. This would most likely come from the extract_model function.

model

This is model syntax specified in the format by lavaan.

num_obs

Number of observations

adjust_se

Adjust the standard errors to reflect the ...

method_mat

Method of estimation, can either be "loehlin" or "lavaan". Default is "loehlin"

method_null

Unsure

...

Currently not used.

See also

See https://lavaan.ugent.be/ for more information on lavaan syntax.