LATTICE Procedure
The LATTICE procedure computes the analysis of variance and analysis of simple covariance for data from an experiment
with a lattice design. PROC LATTICE analyzes balanced square lattices, partially balanced square lattices, and some
rectangular lattices. The following are highlights of the LATTICE procedure's features:
 determines from the data set which type of design has been used and verifies that the design is valid
 produces output data sets including:
 analysis of variance
 adjusted treatment means
 additional statistics

 performs BY group processing, which enables you to obtain separate analyses on grouped observations
 creates a SAS data set that corresponds to any output table

For further details see the LATTICE Procedure
Examples