ONEWAY

ONEWAY is available in the Statistics Base Edition.

ONEWAY produces a one-way analysis of variance for an interval-level dependent variable by one independent variable that defines the groups for the analysis.

ONEWAY  varlist BY varname 

 [/POLYNOMIAL=n]  [/CONTRAST=coefficient list] [/CONTRAST=... ]

 [/POSTHOC=([SNK] [TUKEY] [BTUKEY] [DUNCAN] [SCHEFFE] [DUNNETT[refcat)]
            [DUNNETTL(refcat)] [DUNNETTR(refcat)] [BONFERRONI] [LSD]
            [SIDAK] [GT2] [GABRIEL] [FREGW] [QREGW] [T2] [T3] [GH] [C]
            [WALLER({100** })]) [ALPHA({0.05**})]
                    {Kratio}           {α     }

 [/RANGES={LSD         }([{0.05**}])] [/RANGES=...] 
          {DUNCAN      }  {α     }
          {SNK         }
          {TUKEYB      }
          {TUKEY       }
          {MODLSD      }
          {SCHEFFE     }

 [/STATISTICS=[NONE**] [DESCRIPTIVES]  [EFFECTS]  [HOMOGENEITY]  [ALL]  ]
              [WELCH] [BROWNFORSYTHE]

 [/PLOT MEANS ]

 [/MISSING=[{ANALYSIS**}]  [{EXCLUDE**}] ] 
            {LISTWISE  }    {INCLUDE  }

 [/MATRIX =[IN({*                  })] [OUT({*                  })]  [NONE] ]
               {'savfile'|'dataset'}        {'savfile'|'dataset'}

 [/TEMPLATE='filename']

 [/CRITERIA=CILEVEL({0.95**}{value})  ]

 [/ES=[OVERALL] [CONTRAST({POOLED**}{GROUP})]  ],

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the ONEWAY command can be generated from the One-Way ANOVA dialog.

Release History

Release 19.0

  • TEMPLATE subcommand introduced.

Release 27.0

  • CRITERIA subcommand introduced.
  • ES subcommand introduced.
Release 28.0
  • Support for non-numeric variables.

Example

ONEWAY V1 BY V2.