I will present a set of routines to conduct a one-factor confirmatory factor analysis in Stata. The use of Mata in programming will be highlighted. Corrections for non-normality, as common in the structural equation modeling literature, will be demonstrated. Indications for further development into multifactor models and, eventually, structural equation models, will be given.