Examples (EXAMINE command)

Univariate statistics

EXAMINE VARIABLES=ENGSIZE,COST.
  • ENGSIZE and COST are the dependent variables.
  • EXAMINE produces univariate statistics for ENGSIZE and COST in the Descriptives table and a vertical boxplot and a stem-and-leaf plot for each variable.

Descriptive statistics across groups

EXAMINE  VARIABLES=toxin BY yield
  /PLOT BOXPLOT STEMLEAF
  /COMPARE GROUP
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.
  • The procedure examines values of the variable toxin by values of the variable yield.
  • All other options are set to their default values.

Exploring distributions

EXAMINE  VARIABLES=temp BY batch /ID= labrunid
  /PLOT BOXPLOT STEMLEAF NPPLOT
  /COMPARE GROUP
  /MESTIMATORS  HUBER(1.339) ANDREW(1.34) HAMPEL(1.7,3.4,8.5) TUKEY(4.685)
  /STATISTICS DESCRIPTIVES EXTREME
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.
  • The procedure examines values of temp by values of batch.
  • The ID subcommand specifies that cases in the output should be labeled by values of labrunid.
  • The PLOT subcommand requests boxplots, stem-and-leaf plots, and normality plots.
  • The MESTIMATORS subcommand requests Huber's, Andrews', Hampel's, and Tukey's robust estimators of location with default weights.
  • The STATISTICS subcommand requests a descriptive statistics table and an extreme values table with the 5 largest and 5 smallest values.
  • All other options are set to their default values.