As other people, I am getting this message. I have tried using the 'multigroup2' function, but it created more issues. My code is:
pmodel3 <- psem (
lm(WORKE ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(PERMEAB ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(cent_prestige ~ cent_inclusion + YEAR, merit_educ_na))
multigroup(pmodel3, group = "education")
How can I fix this?
As other people, I am getting this message. I have tried using the 'multigroup2' function, but it created more issues. My code is:
pmodel3 <- psem (
lm(WORKE ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(PERMEAB ~ cent_prestige + cent_inclusion + YEAR, merit_educ_na),
lm(cent_prestige ~ cent_inclusion + YEAR, merit_educ_na))
multigroup(pmodel3, group = "education")
How can I fix this?