We present the R package MIIVefa, designed to implement the MIIV-EFA algorithm. This algorithm explores and identifies the underlying factor structure within a set of variables. The resulting model is not a typical exploratory factor analysis (EFA) model because some loadings are fixed to zero and it allows users to include hypothesized correlated errors such as might occur with longitudinal data. As such, it resembles a confirmatory factor analysis (CFA) model. But, unlike CFA, the MIIV-EFA algorithm determines the number of factors and the items that load on these factors directly from the data. We provide both simulation and empirical examples to illustrate the application of MIIVefa and discuss its benefits and limitations.
Keywords: Exploratory factor analysis; R package; data-driven approach; model implied instrumental variables.