14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - 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 6 Performing Contingency <strong>Analysis</strong> 189<br />

Mosaic Plot<br />

Exact Test<br />

Provides exact versions of the following tests:<br />

• Fisher’s Test<br />

• Cochran Armitage Trend Test<br />

• Agreement Test<br />

See “Exact Test” on page 200.<br />

Mosaic Plot<br />

The mosaic plot is a graphical representation of the two-way frequency table or Contingency Table. A<br />

mosaic plot is divided into rectangles, so that the area of each rectangle is proportional to the proportions of<br />

the Y variable in each level of the X variable. The mosaic plot was introduced by Hartigan <strong>and</strong> Kleiner in<br />

1981 <strong>and</strong> refined by Friendly (1994).<br />

To produce the plot shown in Figure 6.5, follow the instructions in “Example of Contingency <strong>Analysis</strong>” on<br />

page 185.<br />

Figure 6.5 Example of a Mosaic Plot<br />

Note the following about the mosaic plot in Figure 6.5:<br />

• The proportions on the x-axis represent the number of observations for each level of the X variable,<br />

which is country.<br />

• The proportions on the y-axis at right represent the overall proportions of Small, Medium, <strong>and</strong> Large<br />

cars for the combined levels (American, European, <strong>and</strong> Japanese).<br />

• The scale of the y-axis at left shows the response probability, with the whole axis being a probability of<br />

one (representing the total sample).<br />

Clicking on a rectangle in the mosaic plot highlights the selection <strong>and</strong> highlights the corresponding data in<br />

the associated data table.

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

Saved successfully!

Ooh no, something went wrong!