The row dimension of the TABLE statement creates a row for each formatted
value of Age. Multilabel formatting allows an observation to be included in
multiple rows or age categories. The row dimension uses the ALL class variable
to sumarize information for all rows. The column dimension uses the N statistic
to calculate the number of observations for each age group. Notice the result
of the N statistic crossed with the ALL class variable in the row dimension
is the total number of observations instead of the sum of the N statistics
for the rows. The column dimension uses the ALL class variable at the beginning
of a crossing to assign a label,
Potential Car Names
, instead of calculating statistics. The four nested
columns calculate the mean ratings for the car names for each age group.
table age all, n all='Potential Car Names'*(progressa remark
jupiter dynamo)*mean;