Analyzing latent variables is becoming more and more important in several fields, such as clinical research, psychology, educational sciences, ecology, and epidemiology. The item response theory allows analyzing latent variables measured by questionnaires of items with binary or ordinal responses. The Rasch model is the best known model of this theory for binary responses. Although one can estimate the parameters of the Rasch model with the clogit or xtlogit command (or with the unofficial gllamm command), these commands require special data preparation. The proposed raschtest command easily allows estimating the parameters of the Rasch model and fitting the resulting model.