Brian O'Connor   UBCO Psychology   UBCO  

Simple and Flexible SAS and SPSS Programs

for Analyzing Lag-Sequential Categorical Data

Reference:

O'Connor, B. P. (1999). Simple and flexible SAS and SPSS programs for analyzing lag-sequential categorical data. Behavior Research Methods, Instrumentation, and Computers, 31, 718-726.

This paper describes simple and flexible programs for conducting lag sequential event analyses using SAS and SPSS. The programs read a stream of codes and produce a variety of lag sequential statistics, including transitional frequencies, expected transitional frequencies, transitional probabilities, z values, adjusted residuals, Yule's Q values, likelihood ratio tests of stationarity across time and homogeneity across groups or segments, transformed kappas for unidirectional dependence, bidirectional dependence, parallel and nonparallel dominance, and significance levels based on both parametric and randomization tests.

Click on a program to view its contents. Copy and paste into a file.

SPSS: SAS: Fortran 77:
SEQUENTIAL SEQUENTIAL SEQUENTIAL
SEQGROUPS SEQGROUPS
BIDIRECTIONAL BIDIRECTIONAL BIDIRECTIONAL
TWOCELLS TWOCELLS TWOCELLS
PARADOM PARADOM PARADOM
NONPARADOM NONPARADOM NONPARADOM

The programs below are the same as the above programs, except that they can run data from more than one session/dyad/group in one job run, and selected output can be saved for further processing.

SPSS: SAS:
SEQUENTIAL-2 SEQUENTIAL-2
BIDIRECTIONAL-2 BIDIRECTIONAL-2
TWOCELLS-2 TWOCELLS-2
PARADOM-2 PARADOM-2
NONPARADOM-2 NONPARADOM-2

For more information on the programs, see the Program Notes.

Brian P. O'Connor
Department of Psychology
University of British Columbia - Okanagan
Kelowna, British Columbia, Canada
brian.oconnor@ubc.ca