## Not run:
# data(pugesek)
# cat(pugesek.onefactor.model)
# cat(pugesek.threefactors.model)
#
# pugesek.onefactor.1 <- sem(pugesek.onefactor.model, data = bumpus.log, fixed.x = FALSE, group =
# "sex", std.lv = 1, estimator = "MLM")
# pugesek.onefactor.2 <- sem(pugesek.onefactor.model, data = bumpus.log, fixed.x = FALSE, group =
# "sex", std.lv = 1, group.equal = "loadings")
# pugesek.onefactor.3 <- sem(pugesek.onefactor.model, data = bumpus.log, fixed.x = FALSE, group =
# "sex", std.lv = 1, group.equal = c("loadings",
# "residuals"))
# pugesek.threefactors.1 <- sem(pugesek.threefactors.model, data = bumpus.log, fixed.x = FALSE, group =
# "sex", orthogonal = TRUE,
# std.lv = 1)
# pugesek.threefactors.2 <- sem(pugesek.threefactors.model, data = bumpus.log, fixed.x = FALSE, group =
# "sex", orthogonal = TRUE,
# std.lv = 1, group.equal = c("loadings"))
# pugesek.threefactors.3 <- sem(pugesek.threefactors.model, data = bumpus.log,
# fixed.x = FALSE, std.lv = TRUE, orthogonal = TRUE)
#
# summary(pugesek.onefactor.1, standardize = TRUE)
# summary(pugesek.onefactor.2, standardize = TRUE)
# summary(pugesek.onefactor.3, standardize = TRUE)
#
# summary(pugesek.threefactors.1, standardize = TRUE)
# summary(pugesek.threefactors.2, standardize = TRUE)
# summary(pugesek.threefactors.3, standardize = TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab