FIXED subcommand (CASESTOVARS command)

The FIXED subcommand names the variables that should be copied from the original data to the new data file.

  • CASESTOVARS assumes that variables named on the FIXED subcommand do not vary within row groups in the original data. If they vary, a warning message is generated and the command is executed.
  • Fixed variables appear as a single column in the new data file. Their values are simply copied to the new file.
  • The AUTOFIX subcommand can automatically determine which variables in the original data are fixed. By default, the AUTOFIX subcommand overrides the FIXED subcommand.