When SREPORT is run without `-b' and the name of a file, the program starts up in interactive mode, prompts the user for basic information about the desired report, and then writes a file that either can be run immediately or can be modified and executed later in batch mode.
Some of the more complex options can only be specified by inserting the appropriate commands manually into a command file. Even in such cases, it is generally advisable to begin the process of designing a report by running the program interactively at first, in order to generate something close to what you would like to end up with. Then the file of commands and templates produced by the interactive program can be edited and refined to create the final command file. See the SREPORT batch help file for a description of the keywords and formats used in specifying the layout of a report.
1) ROWVARS - each row is a different variable; and the columns have a fixed meaning for every variable. For example:
Mean Std Dev Valid N
Age 38.3 3.4 750
Education 11.5 2.5 748
Income 30.5 3.3 702
2) BREAKVAR - each row is a category of the vertical or break
variable; and the columns can be defined as functions of many
different variables. For example:
Average Average Average
Age Educ Income
Gender
1 Male 36.3 13.2 35.3
2 Female 38.4 12.5 32.5
This second type of report (BREAKVAR) is very flexible but can
also be more complicated to lay out.
Certain functions of aggregates are also available for the more sophisticated user, but those functions must be edited into the template file by hand. See the documentation for the batch mode of SREPORT for a full description of available statistics and functions.