14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8 Summarize Data 235<br />

Summarize Columns<br />

Use One or More Grouping Columns<br />

If you want the statistics summarized by group, highlight the column(s) that you want to be your grouping<br />

variables and click Group to move the variable into the grouping variables list. See “Example of Creating a<br />

Summary Table” on page 239, for an example. If you add only grouping variables, the summary table shows<br />

a count for each group.<br />

To change the order of the grouping variables:<br />

To change the order of the grouping variables (ascending or descending order), select a variable in the<br />

grouping variable list and click the ascending or descending button ( ). The icon beside the variable<br />

changes to indicate the sorting order.<br />

You can also change the order of the grouping variables using the Value Ordering column property. See<br />

“Value Ordering” on page 154 in the “Set Column Properties” chapter.<br />

To include marginal statistics:<br />

To add marginal statistics (for the grouping variables) to the output columns, click the box beside Include<br />

marginal statistics. In addition to adding marginal statistics for each grouping variable, <strong>JMP</strong> adds rows at<br />

the end of the table that summarize each level of the first grouping variable. For example, proceed as follows:<br />

1. Open the Companies.jmp sample data table.<br />

2. Select Tables > Summary.<br />

3. Select Profits ($M) and click Statistics.<br />

4. Select Mean.<br />

5. Select Type and Size Co and click Group.<br />

6. Select Include marginal statistics.<br />

7. Click OK (or Create). See Figure 8.3 at left.<br />

Figure 8.3 Summary Table with and without Marginal Statistics<br />

Compare the summary table with marginal statistics (at left) to the summary table without marginal<br />

statistics (at right). You can see that the marginal statistics are added, and a row showing that there are 32<br />

total Computer and Pharmaceutical companies.

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

Saved successfully!

Ooh no, something went wrong!