Each month, a laboratory sends you data on three chemical measurements: Yield, Chem1, and Chem2. You always do the same analysis: descriptive statistics, plots of Yield versus the two other measures, a regression, and a residual plot. Suppose you use your computer's editor to create the following file called ANALYSIS.MTB:
NAME C1='Yield' C2='Chem1' C3='Chem2'
DESCRIBE C1-C3
PLOT C1*C2
PLOT C1*C3
REGRESS C1 2 C2 C3 C10 C11
NAME C10 = 'Resids' C11 = 'Fits'
PLOT C10 C11
Then, if you put the data for January in the file JAN.MTW, you can perform your analysis by doing the following:
1 Choose File > Open Worksheet and select JAN.MTW.
2 Choose File > Other Files > Run an Exec. Click Select File.
3 Select ANALYSIS.MTB. Click Open.