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.

318 Creating Summary Charts Chapter 11<br />

Example of the Chart Platform<br />

Mean<br />

Variance<br />

Std Dev<br />

Std Err<br />

CV<br />

Range<br />

Median<br />

Quantiles<br />

The arithmetic average of a column’s values. The mean is the sum of nonmissing values<br />

divided by the number of nonmissing values.<br />

The sample variance computed for each level of a categorical variable.<br />

The sample st<strong>and</strong>ard deviation computed for each level of a categorical variable. It is the<br />

square root of the variance of the level values.<br />

The st<strong>and</strong>ard error of the mean of each level of a categorical variable. It is the st<strong>and</strong>ard<br />

deviation, Std Dev, divided by the square root of N for each level. If a column is assigned a<br />

weight variable, then the denominator is the square root of the sum of the weights.<br />

The coefficient of variation of a column’s values. The CV is computed by dividing the<br />

column st<strong>and</strong>ard deviation by the column mean <strong>and</strong> multiplying by 100.<br />

The difference between the maximum <strong>and</strong> minimum values in each level of a categorical<br />

variable.<br />

The middle value in each level of a categorical variable. Half of the values in the level are<br />

greater than or equal to the median <strong>and</strong> half are less than the median.<br />

Divides a data set so that n% of the data is below the n th quantile. To compute a specific<br />

quantile, enter the quantile value in the box located in the lower left of the Chart launch<br />

window before requesting Quantile from the menu.<br />

Related Information<br />

• “Plot a Single Statistic” on page 326<br />

• “Plot Multiple Statistics” on page 327<br />

Use Categorical Variables<br />

You can assign zero, one, or two X variables whose levels are categories on the x-axis. The Chart platform<br />

produces a bar (or a needle, or a pie slice, <strong>and</strong> so on) for each level or combination of levels of the X<br />

variables. If you do not specify any X variable, the chart has a bar for each row in the data table.<br />

The following table shows what type of chart to expect based on the number of X <strong>and</strong> Y variables.<br />

X Y Type of Chart<br />

none one or more If you do not specify a variable for categories, most statistics produce a bar<br />

(or a needle, or a pie slice, <strong>and</strong> so on) for each observation in the data table.<br />

This is useful when your data is already summarized. In that case, you<br />

usually specify Data as the statistic to plot. Each bar reflects the value of<br />

the Y variable. See “Plot a Single Statistic” on page 326, for an example.

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

Saved successfully!

Ooh no, something went wrong!