Created
May 4, 2012 22:12
-
-
Save masaha03/2598063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# endog.variancesは足りない誤差項を自動的に追加するオプション | |
model.b0 <- specifyEquations(endog.variances=TRUE) | |
教育年数 = b1*年齢 | |
職業威信 = c1*年齢 + c2*教育年数 | |
# モデルの結合 | |
model.b2 <- combineModels(model.a2, model.b0) | |
# 重複しているパスの削除 | |
model.b2 <- removeRedundantPaths(model.b2) | |
sem.b <- sem(model.b2, cor.1, N=685, fixed.x="年齢") | |
summary(sem.b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment