Datasets for Stata Structural Equation Modeling Reference Manual, Release 18

Datasets used in the Stata documentation were selected to demonstrate how to use Stata. Some datasets have been altered to explain a particular feature. Do not use these datasets for analysis.

To download a dataset:

  • Click on a filename to download it to a local folder on your machine.
  • Alternatively, you can first establish an Internet connection, and then, in Stata's Command window, type

      . webuse filename, clear

    to use the file. You could then save the file with Stata's save command.

Example 1 - Single-factor measurement model

Example 3 - Two-factor measurement model

Example 4 - Goodness-of-fit statistics

Example 5 - Modification indices

Example 6 - Linear regression

Example 7 - Nonrecursive structural model

Example 8 - Testing that coefficients are equal, and constraining them

Example 9 - Structural model with measurement component

Example 10 - MIMIC model

Example 11 - estat framework

Example 12 - Seemingly unrelated regression

Example 13 - Equation-level Wald test

Example 14 - Predicted values

Example 15 - Higher-order CFA

Example 16 - Correlation

Example 17 - Correlated uniqueness model

Example 18 - Latent growth model

Example 20 - Two-factor measurement model by group

Example 21 - Group-level goodness of fit

Example 22 - Testing parameter equality across groups

Example 23 - Specifying parameter constraints across groups

Example 24 - Reliability

Example 25 - Creating summary statistics data from raw data

Example 26 - Fitting a model using data missing at random

Example 27g - Single-factor measurement model (generalized response)

Example 28g - One-parameter logistic IRT (Rasch) model

Example 29g - Two-parameter logistic IRT model

Example 30g - Two-level measurement model (multilevel, generalized response)

Example 31g - Two-factor measurement model (generalized response)

Example 32g - Full structural equation model (generalized response)

Example 33g - Logistic regression

Example 34g - Combined models (generalized responses)

Example 35g - Ordered probit and ordered logit

Example 36g - MIMIC model (generalized response)

Example 37g - Multinomial logistic regression

Example 38g - Random-intercept and random-slope models (multilevel)

Example 39g - Three-level model (multilevel, generalized response)

Example 40g - Crossed models (multilevel)

Example 41g - Two-level multinomial logistic regression (multilevel)

Example 42g - One- and two-level mediation models (multilevel)

Example 43g - Tobit regression

Example 44g - Interval regression

Example 45g - Heckman selection model

Example 46g - Endogenous treatment-effects model

Example 47g - Exponential survival model

Example 48g - Loglogistic survival model with censored and truncated data

Example 49g - Multiple-group Weibull survival model

Example 50g - Latent class model

Example 51g - Latent class goodness-of-fit statistics

Example 52g - Latent profile model

Example 53g - Finite mixture Poisson regression

Example 54g - Finite mixture Poisson regression, multiple responses

StataCorp gratefully acknowledges that some proprietary datasets in the reference manuals have been used in our printed documentation with the express permission of the copyright holders. If any copyright holder believes that by making these datasets available to the public, StataCorp is in violation of the letter or spirit of any such agreement, please contact [email protected] and any such materials will be removed from this web page.