171
Simultaneous Analysis of Several Groups
Graphics Output
For Model B, the output path diagram is the same for both groups.
Modeling in VB.NET
Model A
Here is a program (Ex10-a.vb) for fitting Model A:
Sub Main()
Dim Sem As New AmosEngine
Try
Sem.TextOutput()
Sem.BeginGroup(Sem.AmosDir & "Examples\UserGuide.xls", "Attg_yng")
Sem.GroupName("young subjects")
Sem.AStructure("recall1")
Sem.AStructure("cued1")
Sem.BeginGroup(Sem.AmosDir & "Examples\UserGuide.xls", "Attg_old")
Sem.GroupName("old subjects")
Sem.AStructure("recall1")
Sem.AStructure("cued1")
Sem.FitModel()
Finally
Sem.Dispose()
End Try
End Sub
5.68
recall1
5.45
cued1
4.06
Chi-square = 4.588 (3 df)
p = .205