14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7 Data Structures 167<br />

Matrices<br />

You could modify this into a generalized ANOVA script by replacing some of the explicit values in the script<br />

with parameters. These results match those from the Fit Model platform. See Figure 7.1.<br />

Figure 7.1 ANOVA Report Within Fit Model<br />

Construct the report in Figure 7.1 as follows:<br />

1. Build a data table (described in the “Data Tables” chapter on page 233):<br />

factor = [1, 2, 3, 1, 2, 3, 1, 2, 3];<br />

Y = [1, 2, 3, 4, 3, 2, 5, 4, 3];<br />

dt = New Table( "foo" );<br />

dt

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!