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 11 Creating Summary Charts 335<br />

Additional Examples of the Chart Platform<br />

The chart shows a much larger difference between profits <strong>and</strong> sales than that for medium <strong>and</strong> small<br />

companies.<br />

Create a Chart with Ranges <strong>and</strong> Lines for Statistics<br />

The Stock Prices.jmp sample data table contains data for the dates <strong>and</strong> values of a stock over time. The<br />

variable YearWeek is a computed column representing the year <strong>and</strong> week in a single variable. Use a range<br />

chart to show the high, low, <strong>and</strong> average close values for each stock. For those weeks where data exists for<br />

multiple days, the average of the values is plotted.<br />

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

2. Select Graph > Chart.<br />

3. Select YearWeek <strong>and</strong> click Categories, X, Levels.<br />

4. Select High <strong>and</strong> click Statistics.<br />

5. Select Max from the menu of statistics.<br />

6. Select Low <strong>and</strong> click Statistics.<br />

7. Select Min from the menu of statistics.<br />

8. Select Close <strong>and</strong> click Statistics.<br />

9. Select Mean from the menu of statistics.<br />

10. Click OK.<br />

11. Select Range Chart from the red triangle menu for Chart.<br />

12. In the legend, right-click Mean(Close) <strong>and</strong> select Connect Points.<br />

Figure 11.19 Example of a Combined Range <strong>and</strong> Line Chart<br />

The range for each date shows the highest <strong>and</strong> lowest values the stock reached during that week. The line<br />

shows the stock’s average closing price for that week.

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

Saved successfully!

Ooh no, something went wrong!