Presentation is loading. Please wait.

Presentation is loading. Please wait.

Applied Business Forecasting and Regression Analysis

Similar presentations


Presentation on theme: "Applied Business Forecasting and Regression Analysis"— Presentation transcript:

1 Applied Business Forecasting and Regression Analysis
Generating Reports Lecture 9 Reproduced with permission of SAS Institute INC, Cary, NC, USA

2 PRINT PROCEDURE The PRINT procedure creates a report of the variables and observations in a SAS data set. You can create a variety of reports ranging from a simple listing to a highly customized report that groups the data and calculates totals and subtotals for numeric variables.

3 PRINT PROCEDURE

4 PRINT PROCEDURE

5 NOOBS Option

6 NOOBS Option

7 VAR Statement

8 WHERE Statement

9 SUM Statement

10 BY Statement

11 SUM and BY Statements

12 PAGEBY Statement

13 PAGEBY Statement

14 LABEL Statement

15 LABEL Statement

16 FORMAT Statement

17 FORMAT Statement

18 FORMAT Statement

19 FORMAT Statement

20 LABEL and FORMAT Statements

21 TITLE Statement

22 FOOTNOTE Statement

23 TITLE and FOOTNOTE Statements

24 OPTIONS Statement

25 OPTIONS Statement

26 The FORMAT Procedure

27 Naming Convention

28 Single Values

29 Ranges

30 Ranges

31 Keywords

32 Formatted Values

33 Creating and Using Formats

34 The FREQ Procedure Creating Frequency Tables with the FREQ Procedure.
The FREQ procedure produces one-way to n-way frequency tables. By default, the procedure generates one-way frequency tables for all data set variables.

35 The FREQ Procedure

36 TABLES Statement TABLES Statement
The TABLES statement requests one-way to n-way frequency tables and statistics for those tables.

37 Two-Way Tables Two-Way Tables
An asterisk between two variables produces a two-way table.

38 Two-Way Tables

39 CROSSLIST Option The CROSSLIST option displays two-way tables in column format, instead of cell format.

40 CROSSLIST Option

41 Statistics Options

42 NLEVELS Option

43 The MEANS Procedure Creating Summary Reports with the MEANS Procedure
The MEANS procedure computes descriptive statistics for variables across all observations and within groups of observations.

44 The MEANS Procedure

45 The MEANS Procedure Statistics
By default, the MEANS procedure creates a report with N (number of nonmissing values), MEAN, STDDEV, MIN, and MAX.

46 The MEANS Procedure In the PROC MEANS statement, you can specify which statistics to compute and the order in which to display them in the output.

47 MAXDEC= Option The MAXDEC= option in the PROC MEANS statement specifies the maximum number of decimal places to display the statistics in the output.

48 The MEANS Procedure VAR Statement
The VAR statement identifies the analysis variables and specifies their order in the results.

49 The MEANS Procedure CLASS Statement
The CLASS statement specifies one or more variables that the procedure uses to group the data.

50 The MEANS Procedure CLASS Statement
Adding a CLASS statement adds the N Obs column.


Download ppt "Applied Business Forecasting and Regression Analysis"

Similar presentations


Ads by Google