Skip to content

Commit

Permalink
20231120 - degrees of freedom
Browse files Browse the repository at this point in the history
  • Loading branch information
isaactpetersen committed Nov 21, 2023
1 parent 5871b01 commit 901c66e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 08-Structural-Equation-Modeling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,14 @@ formativeModelParameters
Here are the degrees of freedom:\index{structural equation modeling!degrees of freedom}

```{r}
PT <- lavaanify(
formativeModel_syntax,
fixed.x = TRUE, # sem() sets fixed.x = TRUE by default
meanstructure = TRUE # estimator = "MLR" and missing = "ML" both set meanstructure = TRUE
)
lav_partable_df(PT)
formativeModelFit
```

Expand Down

0 comments on commit 901c66e

Please sign in to comment.