Data Files, Statistics Syntax

Here are all the data sets used in the fourth edition of the text, organized by parts/chapters. Also included are various syntax files for the in-chapter examples:

  • R syntax or syntax/output for both Parts 1 and 2 (lavaan)
  • SPSS syntax for Part 1 (occasionally)
  • Amos and Mplus syntax for Part 2

Data Files

The NELS data are used throughout the book and thus have their own zip file. The other data sets are organized by chapter and zipped into Part 1 & Part 2. If there is nothing listed for a chapter that means there are no unique data for it.

NELS data (used throughout the text): n_1000_stud_par_3.zip

This zip file includes the full data set including all student, parent, and first follow-up data. It also includes a data dictionary for the NELS file. This document is almost 500 pages long, but it includes all the information about each variable in the NELS data file, including the value labels. Data dictionary in word format. 

Shorter version of the NELS data: NELS shorter data zip

This shorter version of the NELS data includes only those variables used for examples in the text. It also includes versions in which all missing values are blank, and are set to -999 (may be useful for stat programs other than SPSS & Amos)

And here are the zipped data files, by parts/chapters:

Part 1 data sets (also includes occasional SPSS syntax): Part 1 data sets

Part 2 data sets: Part 2 data sets

Data Sets, Appendices: Appendices data sets

Note that there are also versions of the NELS data in some of the chapters. These are much smaller data sets that include only the NELS variables used in the example in the chapter.

Syntax files for chapter examples

Amos, R, Mplus, and SPSS syntax files, zipped:

Part 1 SPSS syntax: We have included these, occasionally, in the Part 1 data sets referenced above.

Part 1 R syntax: R part 1: R code chaps 1-11

Part 2 R syntax (generally lavaan): R code part 2

Amos and Mplus syntax files, Part 2: Amos Mplus code part 2