This video provides a demonstration of how to carry out a basic confirmatory factor analysis model (CFA) using STATA's GUI (drawing program). In this video I demonstrate a test of a three-factor model based on responses to items from a depression inventory. The model includes correlated factors and several correlated errors. If you wish to obtain the data and to follow along, download the data below.
Complete dataset (demo 1): https://drive.google.com/file/d/1O12FxAlieemaGhrau5Z9R7Q76A2VczX1/view
Dataset with missing values (demo 2): https://drive.google.com/file/d/1TpCTYyGH8SOcumuUIvtKOq7U7ephbqHi/view
CFA diagram: https://drive.google.com/file/d/1-39qbHk7Rr_xrTnwN4tkEMClNo5hLjTs/view