CFA Testing — Identification, Primary Fit, Recommendation
Table of Contents
Open-source skill.
Scope Boundary
Use this skill when:
- The main goal is a confirmatory measurement model for named latent constructs.
- A first-pass CFA with identification, estimator choice, and global fit reporting is the right checkpoint before validity or invariance work.
Do not use this skill when:
- The question is primarily about structural paths or mediation; use
vera-data-path-reviewing.
- The focus is longitudinal change modeling across waves; use
vera-data-growth-reviewing.
Workflow
Read each step file in workflow/ before executing that step.
| Step |
Responsibility |
Executor |
Document |
Input |
Output |
| Collect |
Collect Inputs |
Main Agent |
workflow/step01-collect-inputs.md |
User input |
Structured SEM input summary |
| Diagnose |
Check Measurement Setup |
Main Agent |
workflow/step02-check-measurement-setup.md |
Prior step output |
Identification + estimator decision |
| Test |
Run Primary Cfa |
Main Agent |
workflow/step03-run-primary-cfa.md |
Prior step output |
Initial CFA fit + recommendation block |
Decision Tree
1. CHECK MODEL FORM
├── Reflective latent factors with named indicators → CFA path
└── Structural relations without clear latent blocks → recommend sem-full
2. CHECK ESTIMATOR
├── Continuous, roughly normal indicators → ML / MLR
├── Continuous, non-normal indicators → robust ML
└── Ordinal indicators → WLSMV / DWLS
3. CHECK IDENTIFICATION
├── Each factor has 3+ indicators → standard identification
├── 2 indicators → require theory + equality/variance constraints
└── 1 indicator → do not fit as free CFA factor without extra constraints
Required Inputs
| Role |
What to collect |
| Latent constructs |
Factor names and theoretical meaning |
| Indicators |
Which observed variables load on each factor |
| Scale type |
Continuous, ordinal/Likert, binary indicators |
| Grouping variable |
Optional; for later invariance testing |
| Sample size |
Final analytic N and missing-data context |
Code Structure
PART 0: Setup & Data Loading
PART 1: Measurement Setup Checks
PART 2: Primary CFA Fit
PART 3: Recommendation Block
Reporting Standards
- Always report
chi-square, df, CFI, TLI, RMSEA, and SRMR
- Report standardized loadings with SE or CI when available
- Say "fit was acceptable / borderline / poor" rather than "good" without context
- Identification problems must be stated explicitly, never silently patched
- Ends with a recommendation block for reliability/validity,
invariance, and alternative-model comparison
- Fit-index thresholds: CFI / TLI ≥ 0.90 (≥ 0.95 preferred); RMSEA ≤ 0.08 (≤ 0.06 preferred);
SRMR ≤ 0.08. For ordinal/categorical indicators with DWLS/WLSMV, report robust (scaled/adjusted)
versions of CFI, TLI, and RMSEA.
Method Status
| Status |
Methods |
| Implemented in this skill |
Measurement setup checks, estimator choice, identification triage, initial CFA fit, fit-index reporting, standardized loadings |
Implemented downstream in vera-data-cfa-generating |
Reliability / validity summaries, invariance testing, alternative-model comparison, MI review, manuscript assembly |
| Out of scope in this open-source baseline |
Structural SEM, longitudinal SEM, and any latent-variable family not named above |
Minimal Smoke Test
- Smoke-test prompt: "Run
vera-data-cfa-reviewing on a small 2-factor CFA example with 3 indicators per factor and continuous indicators. Produce the standard baseline artifacts and recommendation block."
Next step: Invoke vera-data-cfa-generating from this skillset
to run the full pipeline (reliability/validity, invariance testing, alternative-model comparison,
manuscript generation). See ../../CROSS-SKILL-INTERFACE.md for the shared handoff contract.
1---2name: vera-data-cfa-reviewing3description: Runs the CFA pipeline: collect indicator structure, check basic identification and estimator requirements, fit a primary CFA model, and report fit indices plus standardized loadings with a recommendation block for full SEM analysis. Trigger when the user asks for CFA, confirmatory factor analysis, measurement model testing, latent factor validation, factor loading assessment, construct validity, scale validation, measurement invariance check, or psychometric evaluation. Does not cover full structural path modeling (use vera-data-path-reviewing) or longitudinal change modeling (use vera-data-growth-reviewing).4---56# CFA Testing — Identification, Primary Fit, Recommendation78## Table of Contents910- [Scope Boundary](#scope-boundary)11- [Workflow](#workflow)12- [Decision Tree](#decision-tree)13- [Required Inputs](#required-inputs)14- [Code Structure](#code-structure)15- [Reporting Standards](#reporting-standards)16- [Method Status](#method-status)17- [Minimal Smoke Test](#minimal-smoke-test)181920Open-source skill.2122## Scope Boundary2324Use this skill when:25- The main goal is a confirmatory measurement model for named latent constructs.26- A first-pass CFA with identification, estimator choice, and global fit reporting is the right checkpoint before validity or invariance work.2728Do not use this skill when:29- The question is primarily about structural paths or mediation; use `vera-data-path-reviewing`.30- The focus is longitudinal change modeling across waves; use `vera-data-growth-reviewing`.3132## Workflow3334Read each step file in `workflow/` before executing that step.3536| Step | Responsibility | Executor | Document | Input | Output |37|---|---|---|---|---|---|38| Collect | Collect Inputs | Main Agent | `workflow/step01-collect-inputs.md` | User input | Structured SEM input summary |39| Diagnose | Check Measurement Setup | Main Agent | `workflow/step02-check-measurement-setup.md` | Prior step output | Identification + estimator decision |40| Test | Run Primary Cfa | Main Agent | `workflow/step03-run-primary-cfa.md` | Prior step output | Initial CFA fit + recommendation block |4142## Decision Tree4344```451. CHECK MODEL FORM46 ├── Reflective latent factors with named indicators → CFA path47 └── Structural relations without clear latent blocks → recommend sem-full48492. CHECK ESTIMATOR50 ├── Continuous, roughly normal indicators → ML / MLR51 ├── Continuous, non-normal indicators → robust ML52 └── Ordinal indicators → WLSMV / DWLS53543. CHECK IDENTIFICATION55 ├── Each factor has 3+ indicators → standard identification56 ├── 2 indicators → require theory + equality/variance constraints57 └── 1 indicator → do not fit as free CFA factor without extra constraints58```5960## Required Inputs6162| Role | What to collect |63|---|---|64| **Latent constructs** | Factor names and theoretical meaning |65| **Indicators** | Which observed variables load on each factor |66| **Scale type** | Continuous, ordinal/Likert, binary indicators |67| **Grouping variable** | Optional; for later invariance testing |68| **Sample size** | Final analytic N and missing-data context |6970## Code Structure7172```73PART 0: Setup & Data Loading74PART 1: Measurement Setup Checks75PART 2: Primary CFA Fit76PART 3: Recommendation Block77```7879## Reporting Standards80811. Always report `chi-square`, `df`, `CFI`, `TLI`, `RMSEA`, and `SRMR`822. Report standardized loadings with SE or CI when available833. Say "fit was acceptable / borderline / poor" rather than "good" without context844. Identification problems must be stated explicitly, never silently patched855. Ends with a recommendation block for reliability/validity,86 invariance, and alternative-model comparison876. **Fit-index thresholds**: CFI / TLI ≥ 0.90 (≥ 0.95 preferred); RMSEA ≤ 0.08 (≤ 0.06 preferred);88 SRMR ≤ 0.08. For ordinal/categorical indicators with DWLS/WLSMV, report robust (scaled/adjusted)89 versions of CFI, TLI, and RMSEA.9091## Method Status9293| Status | Methods |94|---|---|95| Implemented in this skill | Measurement setup checks, estimator choice, identification triage, initial CFA fit, fit-index reporting, standardized loadings |96| Implemented downstream in `vera-data-cfa-generating` | Reliability / validity summaries, invariance testing, alternative-model comparison, MI review, manuscript assembly |97| Out of scope in this open-source baseline | Structural SEM, longitudinal SEM, and any latent-variable family not named above |9899## Minimal Smoke Test100101- Smoke-test prompt: "Run `vera-data-cfa-reviewing` on a small 2-factor CFA example with 3 indicators per factor and continuous indicators. Produce the standard baseline artifacts and recommendation block."102103Next step: Invoke `vera-data-cfa-generating` from this skillset104to run the full pipeline (reliability/validity, invariance testing, alternative-model comparison,105manuscript generation). See `../../CROSS-SKILL-INTERFACE.md` for the shared handoff contract.