Conditional standard errors of measurement in Generalizability Theory
gtcsem is a Stata package that estimates per-person conditional standard errors of measurement (CSEMs) under Generalizability Theory for the univariate, single-facet, persons-by-items (p × i) crossed design.
Whereas the overall (population) SEM summarizes measurement precision averaged across the population, the CSEM characterizes the precision of the measurement for an individual at a given score level (Brennan, 1998). This is the relevant index when measurement decisions are made about persons rather than groups, including the assessment of the local accuracy of cut-score classifications.
Unlike most other psychometric models, Generalizability Theory distinguishes two types of conditional measurement error: the absolute CSEM, appropriate when decisions concern the absolute magnitude of a person's score (for example, mastery classification against a fixed cutpoint), and the relative CSEM, appropriate when decisions concern comparisons among persons (for example, ranking or selection).
The package consists of two commands:
gtcsem— main estimation command.gtcsem_plot— companion post-estimation command that produces Brennan-style plots of the per-person CSEM against the observed score.
net install gtcsem, from("https://raw.githubusercontent.com/rgempp/gtcsem/main/") replacessc install gtcsemAfter installation, verify with:
help gtcsem
help gtcsem_plotRequires: Stata 16 or later.
* Default: full estimator with analytical standard errors
gtcsem item1-item10
* All three relative-error estimators with quadratic smoothing
gtcsem item1-item10, method(all) smooth
* Bootstrap SE with reproducible seed
gtcsem item1-item10, semethod(bootstrap) bootb(2000) bootseed(123)
* Plot per-person CSEM with smoothed curve
gtcsem item1-item10, smooth
gtcsem_plot, smooth
* Confidence bands using bootstrap SE
gtcsem item1-item10, semethod(both) smooth
gtcsem_plot, plot(ci) asemethod(bootstrap) smooth
* D-study extrapolation: project to a 20-item form
gtcsem item1-item10, nitemsd(20)
* Dependability for a cutpoint of 7
gtcsem item1-item10, cutpoint(7)| Method | Reference | Assumption |
|---|---|---|
full |
Brennan (1998), eqs. 35–36 | None (default) |
large_a |
Brennan (1998), eq. 40 | Number of persons A → ∞ |
uncorrelated |
Brennan (1998), eq. 41 | Within-person item-by-residual covariance is zero |
- Analytical — closed-form formulas conditional on items, under Gaussianity of the residuals. Sampling variance is constant across persons under the model. Verified against Monte Carlo (ratios 0.94–1.01 across I ∈ {8, 12, 20, 40}).
- Bootstrap — item-resampling, B replications per person, implemented in Mata for speed.
- Generalizability coefficient Eρ2 (Brennan, 2001, eq. 2.40)
- Dependability coefficient Φ (Brennan, 2001, eq. 2.41)
- Dependability for cutpoint Φ(λ) for mastery decisions (Brennan & Kane, 1977; Brennan, 2001, eq. 2.55)
- D-study extrapolation to a hypothetical decision study with a different number of items.
- Quadratic smoothing of CSEMs over the observed score (Brennan, 2001, p. 162), with optional exclusion of floor/ceiling cases.
- Truncation controls for negative variance components and negative per-person error variances.
Full documentation is available inside Stata via:
help gtcsem
help gtcsem_plotThe help files cover the complete syntax, all options, the list of generated variables, the returned r() results, and worked examples.
If you use gtcsem in your research, please cite it as:
Gempp, R. (2026). gtcsem: Stata module to compute conditional standard errors of measurement in Generalizability Theory (Version 1.0.0) [Stata package]. Boston College Department of Economics. https://github.com/rgempp/gtcsem
- Brennan, R. L. (1998). Raw-score conditional standard errors of measurement in Generalizability Theory. Applied Psychological Measurement, 22(4), 307–331. https://doi.org/10.1177/014662169802200402
- Brennan, R. L. (2001). Generalizability Theory. Springer-Verlag.
- Brennan, R. L., & Kane, M. T. (1977). An index of dependability for mastery tests. Journal of Educational Measurement, 14(3), 277–289.
- Cronbach, L. J., Gleser, G. C., Nanda, H., & Rajaratnam, N. (1972). The dependability of behavioral measurements: Theory of generalizability for scores and profiles. Wiley.
René Gempp
Facultad de Administración y Economía
Universidad Diego Portales, Santiago, Chile
rene.gempp@udp.cl
Bug reports, feature requests, and the development version are available at the project's GitHub repository.