Specifies the data file, and begins the model specification for a single group. BeginGroup is a simplified form of the BeginGroupEx method. The database format is inferred from the data file name.
Syntax
object.BeginGroup (fileName)
object.BeginGroup (fileName, tableName)
object.BeginGroup (fileName, groupingVariable, groupingValue)
object.BeginGroup (fileName, tableName, groupingVariable, groupingValue)
The BeginGroup method syntax has the following parts:
Part |
Description |
object |
An object of type AmosEngine. |
fileName |
Name of a data file. |
tableName |
Name of a data table within the data file. Required for database formats, such as Excel 5, Excel 97 and Access, in which a file can contain multiple data tables. Must be omitted for database formats, such as Excel 4, dbase and SPSS Statistics, for which a file can contain only a single data table. |
groupingVariable |
groupingVariable and groupingValue are optional. Together they select a subset of cases from the data file for analysis. The analysis includes those cases for which the variable named groupingVariable takes on the value groupingValue. |
groupingValue |
See GroupingVariable above. |
Placement: [2].
See Also