Datasets for Stata Extended Regression Models Reference Manual, Release 17
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
to use the file. You could then save the file with Stata's save command.
Intro 7 - Model interpretation
Intro 9 - Conceptual introduction via worked example
Example 1a - Linear regression with continuous endogenous covariate
Example 1b - Interval regression with continuous endogenous covariate
Example 1c - Interval regression with endogenous covariate and sample selection
Example 2a - Linear regression with binary endogenous covariate
Example 2b - Linear regression with exogenous treatment
Example 2c - Linear regression with endogenous treatment
Example 3a - Probit regression with continuous endogenous covariate
Example 3b - Probit regression with endogenous covariate and treatment
Example 4a - Probit regression with endogenous sample selection
Example 4b - Probit regression with endogenous treatment and sample selection
Example 5 - Probit regression with endogenous ordinal treatment
Example 6a - Ordered probit regression with endogenous treatment
Example 6b - Ordered probit regression with endogenous treatment and sample selection
Example 7 - Random-effects regression with continuous endogenous covariate
Example 8a - Random effects in one equation and endogenous covariate
Example 8b - Random effects, endogenous covariate, and endogenous sample selection
Example 9 - Ordered probit regression with endogenous treatment and random effects
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.