Skip to main content

Statistical Software: SPSS Koujue

This guide contains resources to assist faculty, researchers, staff, and students in learning statistical software, such as STATA, SAS, R, SPSS.

Quick Tips

SPSS is not case sensitive, so use whichever case is easiest for you.

COMMENT This is a comment and will not be executed.
* This is a comment and will continue to be
  a comment until the terminating period.
/* This is a comment and will continue to be
  a comment until the terminating asterisk-slash */

get data is used to read in data in different formats, such as Excel and comma separated values (.csv).

get file is used to read in data that are in an SPSS data file.

display is to display attributes of a data file.

variable labels is to label variables.

value labels is to add labels to values of a variable.

rename is to rename variables.

recode is to recode variables.

compute is used to create new numeric variables.

filter is used to exclude certain cases from the analysis.

select if is to keep selected cases in the current data file.

sort cases is to sort cases in a data file.

match files is to merge data files (add variables).

descriptives or examine or summarize is procedure for obtaining descriptive statistics, such as means, standard deviations, etc.

graph is general procedure for creating graphs.

frequencies is used to calculate frequencies.

correlations is used to calculate correlations.

crosstabs is to generate crosstabulations.

t-test is to conduct t-tests.

glm is to conduct general linear models.

regression is to conduct ordinary least squares regression.

logistic is to conduct logistic regressions.

npar is to conduct non-parametric tests.

pplot is to generate a normal probability plot.

save outfile is to save a data file.



Web Resources


SPSS 101

Graphing and Descriptive Stats in SPSS

Introduction to SPSS Syntax

SPSS Workshop


Jianjun Hua's picture
Jianjun Hua
Dartmouth College

Hanover NH 03755


This guide has a user friendly interface.

Strongly agree: 3 votes (60%)
Agree: 2 votes (40%)
Neutral: 0 votes (0%)
Disagree: 0 votes (0%)
Strongly disagree: 0 votes (0%)
Total Votes: 5

Post-Workshop Survey