Our tutorials reference a dataset called "sample" in many examples. If you'd like to download the sample dataset to work through the examples, choose one of the files below:
When summarizing quantitative (continuous/interval/ratio) variables, we are typically interested in questions like:
In SPSS, the Descriptives procedure computes a select set of basic descriptive statistics for one or more continuous numeric variables. In all, the statistics it can produce are:
Additionally, the Descriptives procedure can optionally compute Z scores as new variables in your dataset.
Notice that the Descriptives procedure can't compute medians or quartiles. If you need those statistics, you'll need to use the Frequencies, Explore, or Compare Means procedures. The Descriptives procedure is best used when you want to compare the descriptive statistics of several numeric variables side-by-side.
To run the Descriptives procedure, select Analyze > Descriptive Statistics > Descriptives.
The Descriptives window lists all of the variables in your dataset in the left column. To select variables for analysis, click on the variable name to highlight it, then click on the arrow button to move the variable to the column on the right. Alternatively, you can double-click on the name of a variable to move it to the column on the right.
Selecting the Save standardized values as variables check box will compute new variables containing the standardized values (also known as Z scores) of each of the input variables. Recall that the standardized value of a variable is computed by subtracting its mean and then dividing that difference by the standard deviation:
$$ Z = \frac{X - \mu}{\sigma} $$
By default, the Descriptives procedure computes the mean, standard deviation, minimum, and maximum of the variable. Clicking Options will allow you to disable any of the aforementioned statistics, or enable sum, variance, range, standard error of the mean (S.E. mean), kurtosis, and skewness. You can also choose how you want the output to be organized:
The Descriptives dialog window will let you enter any numeric variables in your dataset -- including nominal and ordinal variables. Means and standard deviations are not appropriate or meaningful for nominal and ordinal variables. Make sure that you understand how your variables are coded and what they represent before you start your analysis.
The sample dataset has test scores (out of 100) on four placement tests: English, Reading, Math, and Writing. We want to compare the summary statistics of these four tests so we can determine which tests the students tended to do the best and the worst on.
DESCRIPTIVES VARIABLES=English Reading Math Writing
/STATISTICS=MEAN STDDEV MIN MAX.
Here we see a side-by-side comparison of the descriptive statistics for the four numeric variables. This allows us to quickly make the following observations about the data:
Recall that a Z score for an observation of some variable X is computed as
$$ Z_i = \frac{X_i - \mu}{\sigma} $$
where
xi is the ith observed value of X
μ is the population mean of X
σ is the population standard deviation of X
Zi is the computed z-score corresponding to xi.
Stated another way, a Z score is simply an observation that has been centered about its mean and scaled to its standard deviation. The end result is a standardized version of the variable, whose units are now in terms of "standard deviation units". (A Z score of 1 means that it is one standard deviation above the mean; a Z score of -1 means that it is one standard deviation below the mean.)
In SPSS, you can compute standardized scores for numeric variables automatically using the Descriptives procedure. One important distinction is that the standardized values of the "raw" scores will be centered about their sample means and scaled (divided by) their sample standard deviations; that is:
$$ z = \frac{x - \bar{x}}{s} $$
DESCRIPTIVES VARIABLES=English Reading Math Writing
/SAVE
/STATISTICS=MEAN STDDEV MIN MAX.
If the computation is successful, then the syntax will be printed in the Output window, and new variables called ZEnglish, ZReading, ZMath, and ZWriting will be added to the Data View.
If you want to compute Z scores for a variable using a known population mean and population standard deviation, use the Compute Variables procedure instead, and enter the Z score formula using the desired population mean and standard deviation values in the expression.