EXCEPT Subcommand (NAIVEBAYES command)

The EXCEPT subcommand lists any variables that the NAIVEBAYES procedure should exclude from the factor or covariate lists on the command line. This subcommand is useful if the factor or covariate lists contain a large number of variables--specified by using the TO or ALL keyword, for example--but a few variables (e.g., Case ID or a weight variable) should be excluded.

  • The EXCEPT subcommand ignores the following types of variables if they are specified: Duplicate variables; the dependent variable; variables that are not specified on the command line’s factor or covariate lists; and variables that are specified on the FORCE subcommand.
  • There is no default variable list on the EXCEPT subcommand.