Chapter Contents |
Previous |
Next |
Comparing Analyses |
Open the MINING data set. |
Choose Edit:Observations:Find. |
Figure 21.3: Finding Observations
This displays the Find Observations dialog.
Select > in the Test list and 200 in the Value list. |
Click the OK button. |
This selects all observations where DEPTH is greater than
200 feet. To see the selected observations, either choose
Find Next from the data pop-up menu or scroll down using
the vertical scroll bar on the right (as indicated by the
arrow in the figure).
Choose Extract from the data pop-up menu. |
A new data set containing observations where DEPTH is greater than 200 feet appears, as shown in Figure 21.7. The new data window is named automatically by adding a subscript to the original name. You may have to scroll to the top of the data window to duplicate the next figure.
Now create distribution analyses for both data sets.
Select DRILTIME in the MINING data window. |
Choose Analyze:Distribution (Y). |
A distribution analysis using
all the observations appears on your display.
Select DRILTIME in the MINING1 data window. |
Choose Analyze:Distribution (Y). |
A distribution analysis using the subset
of observations appears on your display.
Move the two analysis windows side-by-side to compare the distributions. |
The mean drilling time at depths greater than 200 feet was 9.9601, while the mean overall was only 8.8589. The drills may have found harder rock at greater depths. You may want to create an additional analysis to compare depths greater than 200 feet with depths less than or equal to 200 feet.
Choose File:End to delete MINING1 and the two analysis windows. |
Note | Sometimes you will want to compare analyses that use different subsets of observations based on the values of some variable. If this is the case, you can assign the variable the Group role, as described in Chapter 22, "Analyzing by Groups." |
Related Reading | Distributions, Chapter 38. |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.