Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

The following program fits the model of Example 11-a.

Imports PXMLPersist.CDataTable.cDatabaseFormat
Module MainModule
    ' BeginGroupEx Method Example
    Sub Main()
        Dim Sem As New AmosEngineLib.AmosEngine
        Sem.TextOutput()
 
        Sem.BeginGroupEx(mmEXCEL97, AmosEngine.AmosDir & "Examples\English\UserGuide.xls", "Fels_fem")
        Sem.GroupName("girls")
        Sem.AStructure("academic = GPA + attract + e1 (1)")
        Sem.AStructure("attract = height + weight + rating + academic + e2 (1)")
        Sem.AStructure("e2 <--> e1")
 
        Sem.BeginGroupEx(mmEXCEL97, AmosEngine.AmosDir & "Examples\English\UserGuide.xls", "Fels_mal")
        Sem.GroupName("boys")
        Sem.AStructure("academic = GPA + attract + e1 (1)")
        Sem.AStructure("attract = height + weight + rating + academic + e2 (1)")
        Sem.AStructure("e2 <--> e1")
 
        Sem.Dispose()
    End Sub
End Module

© 2021 Amos Development Corporation