Foundations of Psychometrics in R

A Practical Introduction — CTT, IRT, CFA & BCFA

Jorge Sinval

OfR Professional Development Series · NIE / NTU Singapore

2026-11-26

Workshop Roadmap 90 MIN

Time Module Core Focus R Packages
88–90 min Synthesis Framework selection & Q&A —
08–26 min 1. CTT True scores, \(\alpha\) vs. \(\omega\), \(SEM\) + Exercise 1 psych, ufs
26–48 min 2. IRT 1PL/2PL, item fit, TIF, PCM & Wright Map + Exercise 2 mirt, TAM, WrightMap
48–70 min 3. CFA Ordinal WLSMV, respecification, invariance + Exercise 3 lavaan, semTools, semPlot
70–88 min 4. BCFA Priors, MCMC diagnostics & sensitivity + Exercise 4 blavaan, bayesplot
88–90 min Synthesis Framework selection & Q&A —

Validity Is Not a Property of the Instrument

Under the unitary framework (AERA, APA, & NCME, 2014):

  • Instruments are not “valid” or “reliable” in themselves — scores carry validity evidence for a specific intended use.
  • Avoid standalone “validation” → evaluate psychometric properties across five evidence sources:
  1. Test content
  2. Response processes
  3. Internal structure (today’s core)
  1. Relations to other variables
  2. Consequences of testing

Goal today: Generate reproducible internal structure, item-level, precision, and invariance evidence in R.

Three Measurement Frameworks at a Glance

Feature CTT IRT SEM (CFA / BCFA)
Unit of Analysis Whole test score Individual item & person (\(\theta\)) Covariance / threshold structure
Core Model \(X = \tau + \varepsilon\) \(P(Y_{pi}=1 \mid \theta_p, a_i, b_i, c_i)\) \(\boldsymbol{y}_j = \boldsymbol{\beta} + \boldsymbol{\Lambda}\boldsymbol{\eta}_j + \boldsymbol{\epsilon}_j\)
Error Precision Constant (\(SEM\)) Conditional on \(\theta\) (\(I(\theta)\)) Item residuals (\(\theta_{ii}\)) + \(\omega\)
Sample Dependence High Parameter invariance (in principle) Multigroup invariance testable
Strength Fast screening Item targeting, CAT, DIF Multidimensionality, priors, structural paths

Live Setup & Workshop Datasets

We use two open datasets throughout: SIJS (5-item Likert job satisfaction scale, Sinval & Marôco, 2020) and LSAT7 (5 dichotomous items, built into mirt).

00-setup.R

pacman::p_load(tidyverse, rio, janitor, psych, mirt, TAM, WrightMap,
               lavaan, semTools, blavaan, semPlot, bayesplot)

# Dataset 1: Short Index of Job Satisfaction (5-point ordinal; N = 1,419)
ds_sijs <- rio::import("https://ndownloader.figshare.com/files/22299075") |>
  select(SIJS1:SIJS5) |>
  janitor::clean_names() |>
  drop_na()

# Dataset 2: LSAT7 (5 dichotomous items; N = 1,000)
ds_lsat <- mirt::expand.table(mirt::LSAT7)

Module 1: Classical Test Theory

The True Score Model: \(X = \tau + \varepsilon\)

Assumptions: \(\mathbb{E}(X_i) = \tau_i\), \(\varepsilon \sim \mathcal{N}(0, \sigma_\varepsilon^2)\), \(\rho_{\varepsilon, \tau} = 0\), and \(\rho_{\varepsilon_1, \varepsilon_2} = 0\).

Reliability & The \(\tau\)-Equivalence Trap

\[\rho^2_{X,\tau} = \frac{\sigma^2_\tau}{\sigma^2_\tau + \sigma^2_\varepsilon} \qquad\qquad SEM = S\sqrt{1 - r_{XX'}}\]

Why Cronbach’s \(\alpha\) Often Misleads

  • Requires essential \(\tau\)-equivalence (equal factor loadings) and uncorrelated errors (Cronbach, 1951).
  • Attenuated on coarse ordinal scales if Pearson covariances are used (Gadermann et al., 2012).
  • Reverse-coded items (sijs3, sijs5) frequently induce method variance.

Modern CTT Practice

  • Inspect item distributions & corrected item-total correlations (\(r_{it}\)).
  • Report McDonald’s \(\omega\) alongside \(\alpha\).
  • For ordinal items, inspect polychoric reliability (psych::polychoric).
  • Use Spearman–Brown prophecy to gauge test-length changes: \(r^* = \frac{jr}{1 + (j-1)r}\).

CTT Diagnostics on SIJS in R

01-ctt-diagnostics.R

# 1. Item-level & internal consistency diagnostics (psych)
ctt_alpha <- psych::alpha(ds_sijs)
ctt_alpha$item.stats[, c("mean", "sd", "r.drop")]

# 2. McDonald's omega (congeneric model, 1 factor)
ctt_omega <- psych::omega(ds_sijs, nfactors = 1, plot = FALSE)
c(alpha = ctt_omega$alpha, omega_total = ctt_omega$omega.tot)

# 3. Ordinal (polychoric) reliability
poly_r <- psych::polychoric(ds_sijs)$rho
psych::alpha(poly_r)$total$raw_alpha
SIJS Item Diagnostics (r.drop = corrected item-total correlation)
Item mean sd r.drop
sijs1 3.442 1.194 0.552
sijs2 3.501 1.161 0.765
sijs3 3.606 1.190 0.539
sijs4 3.356 1.198 0.742
sijs5 4.222 1.069 0.640
  • Pearson \(\alpha\): 0.841 | McDonald’s \(\omega_t\): 0.847 | Ordinal \(\alpha\): 0.876
  • All r.drop values are positive and well above \(.30\) → reverse-coded items (sijs3, sijs5) are already recoded in this dataset.
  • Notice sijs3 and sijs5 still show slightly lower r.drop than positively worded items — foreshadowing what CFA will detect!
  • Ordinal \(\alpha\) exceeds Pearson \(\alpha\) because polychoric correlations correct for 5-point discretization.

Exercise 1: CTT Audit of SIJS 7 MIN

  1. Run psych::describe(ds_sijs) — check skewness, kurtosis, and range (1 to 5).
  2. Compute psych::alpha(ds_sijs) — does dropping any item increase \(\alpha\)?
  3. Compute the total sum score tot <- rowSums(ds_sijs) and calculate the Standard Error of Measurement:

\[SEM = SD(\text{tot}) \times \sqrt{1 - \omega_t}\]

  1. Suppose you shorten the SIJS from 5 to 3 items (\(j = 3/5 = 0.6\)). Use Spearman–Brown to predict the new reliability.

01-ex1-ctt-solution.R

# 1. Distributional check
psych::describe(ds_sijs)[, c("mean", "sd", "skew", "kurtosis")] |> round(2)
      mean   sd  skew kurtosis
sijs1 3.44 1.19 -0.49    -0.59
sijs2 3.50 1.16 -0.49    -0.57
sijs3 3.61 1.19 -0.60    -0.52
sijs4 3.36 1.20 -0.41    -0.70
sijs5 4.22 1.07 -1.28     0.81
# 2. Alpha if item dropped
round(psych::alpha(ds_sijs)$alpha.drop[, "raw_alpha", drop = FALSE], 3)
      raw_alpha
sijs1     0.834
sijs2     0.774
sijs3     0.837
sijs4     0.780
sijs5     0.810
# 3. Standard Error of Measurement (using omega_t)
tot <- rowSums(ds_sijs)
omega_t <- psych::omega(ds_sijs, nfactors = 1, plot = FALSE)$omega.tot
sem_val <- sd(tot) * sqrt(1 - omega_t)

# 4. Spearman-Brown prophecy for 3 items (j = 0.6)
j <- 3 / 5
r_short <- (j * omega_t) / (1 + (j - 1) * omega_t)
round(c(SD_total = sd(tot), SEM = sem_val, r_3items = r_short), 3)
SD_total      SEM r_3items 
   4.545    1.780    0.768 

Module 2: Item Response Theory

Why Move Beyond Sum Scores?

Unweighted sum scores silently assume all items are equally difficult and equally discriminating.

Dichotomous IRT (1PL → 3PL)

\[P(Y_{pi}=1 \mid \theta_p) = c_i + (1 - c_i)\frac{e^{a_i(\theta_p - b_i)}}{1 + e^{a_i(\theta_p - b_i)}}\]

  • \(b_i\) (Difficulty): Horizontal shift on \(\theta\)
  • \(a_i\) (Discrimination): Slope steepness
  • \(c_i\) (Guessing): Lower asymptote

Macro–Meso–Micro Reporting Workflow

Organize IRT evidence top-down before tuning individual categories (Tristán-López, 2025):

Dichotomous IRT with mirt (LSAT7)

02-irt-mirt.R

# Fit Rasch (1PL) and 2PL models on LSAT7
mod_1pl <- mirt(ds_lsat, model = 1, itemtype = "Rasch", verbose = FALSE)
mod_2pl <- mirt(ds_lsat, model = 1, itemtype = "2PL",   verbose = FALSE)

# Model comparison (AIC, BIC, LRT)
anova(mod_1pl, mod_2pl)
             AIC    SABIC       HQ      BIC    logLik     X2 df     p
mod_1pl 5341.802 5352.192 5352.994 5371.248 -2664.901                
mod_2pl 5337.610 5354.927 5356.263 5386.688 -2658.805 12.192  4 0.016
# IRT parameterization (a = discrimination, b = difficulty)
round(coef(mod_2pl, IRTpars = TRUE, simplify = TRUE)$items, 3)
           a      b g u
Item.1 0.988 -1.879 0 1
Item.2 1.081 -0.748 0 1
Item.3 1.706 -1.058 0 1
Item.4 0.765 -0.635 0 1
Item.5 0.736 -2.520 0 1

02b-irt-diagnostics.R

# S-X2 item fit statistics (p > .05 supports item-level fit)
itemfit(mod_2pl)
    item   S_X2 df.S_X2 RMSEA.S_X2 p.S_X2
1 Item.1  4.749       2      0.037  0.093
2 Item.2 14.453       2      0.079  0.001
3 Item.3  1.270       2      0.000  0.530
4 Item.4  5.238       2      0.040  0.073
5 Item.5  0.941       2      0.000  0.625
# Marginal reliability (integrated over prior θ ~ N(0,1))
round(marginal_rxx(mod_2pl), 3)
[1] 0.442

Polytomous IRT with TAM & Wright Map (SIJS)

For ordinal Likert scales (5 categories), we use the Partial Credit Model (PCM) in TAM and map persons & item thresholds on one logit scale.

03-irt-tam-wrightmap.R

# TAM expects categories starting at 0 (convert 1..5 -> 0..4)
sijs_0 <- as.matrix(ds_sijs) - 1

mod_pcm <- TAM::tam.mml(resp = sijs_0, irtmodel = "PCM", verbose = FALSE)

# Extract WLE person abilities & Thurstonian item thresholds
wle_theta <- TAM::tam.wle(mod_pcm, progress = FALSE)$theta
thresh    <- TAM::tam.threshold(mod_pcm)

# Item fit (Infit / Outfit MNSQ ideally ~ 0.70 - 1.30)
fit_tam <- TAM::tam.fit(mod_pcm, progress = FALSE)$itemfit

           Cat1      Cat2        Cat3       Cat4
sijs1 -2.195892 -1.319366 -0.17550659  1.4609070
sijs2 -2.520355 -1.356903 -0.28390503  1.4228210
sijs3 -2.450043 -1.417145 -0.45492554  1.0926819
sijs4 -2.179962 -1.166107 -0.06893921  1.6462097
sijs5 -3.059967 -2.177948 -1.19027710 -0.3847961
TAM PCM Item Fit (Target MNSQ: 0.70–1.30)
Item Outfit Infit
  • Targeting: Look at the Wright Map — respondents cluster toward the upper end of the logit scale (ceiling effect: most workers report high job satisfaction).
  • Infit/Outfit: Check whether sijs3 or sijs5 exhibits misfit (\(> 1.30\)).

Exercise 2: IRT Model Selection & Targeting 8 MIN

Using ds_lsat in mirt:

  1. Fit mod_1pl ("Rasch") and mod_2pl ("2PL"). Which model fits better via anova()?
  2. Extract IRT parameters (IRTpars = TRUE). Which item is the most discriminating (\(a\)), and which is the hardest (\(b\))?
  3. Plot the conditional reliability curve (plot(mod_2pl, type = "rxx")). At roughly which \(\theta\) level is the test most precise?
  4. Bonus: Extract EAP person scores with fscores(mod_2pl) and correlate them with raw sum scores.

03-ex2-irt-solution.R

# 1–2. Parameters of the winning 2PL model
pars <- coef(mod_2pl, IRTpars = TRUE, simplify = TRUE)$items
round(pars[, c("a", "b")], 2)
          a     b
Item.1 0.99 -1.88
Item.2 1.08 -0.75
Item.3 1.71 -1.06
Item.4 0.77 -0.64
Item.5 0.74 -2.52
# 3–4. Conditional reliability & EAP vs. Sum Score correlation
theta_eap <- fscores(mod_2pl)[, 1]
cat("r(Sum Score, EAP theta) =", round(cor(rowSums(ds_lsat), theta_eap), 3))
r(Sum Score, EAP theta) = 0.976
plot(mod_2pl, type = "rxx", main = "LSAT7 Conditional Reliability")

Module 3: Structural Equation Modeling — CFA

The CFA Measurement Model

\[\boldsymbol{y}_j = \boldsymbol{\beta} + \boldsymbol{\Lambda}\boldsymbol{\eta}_j + \boldsymbol{\epsilon}_j \qquad \Longrightarrow \qquad \boldsymbol{\Sigma}(\boldsymbol{\theta}) = \boldsymbol{\Lambda}\boldsymbol{\Psi}\boldsymbol{\Lambda}' + \boldsymbol{\Theta}\]

  • Identification (\(t\)-rule):

\[df = \frac{p(p+1)}{2} - t\]

  • For 5 items (\(p = 5\)): \(\frac{5(6)}{2} = 15\) knowns.
  • Fixing \(\psi_1 = 1\): \(5\) loadings + \(5\) residuals = \(10\) unknowns → \(df = 5\) (over-identified!).

Choosing the Right Estimator & Evaluating Fit

Estimator Selection

Indicator Scale Recommended Estimator
Continuous, normal ML
Continuous, non-normal MLR (robust)
Ordinal Likert (\(\le 5\) cats) WLSMV (ordered = TRUE)

Never default to ML on coarse ordinal Likert items — it attenuates loadings and distorts \(\chi^2\).

Fit Guidelines (Not Golden Rules)

  • CFI / TLI: \(\ge .95\) close (\(\ge .90\) acceptable)
  • RMSEA: \(< .06\) close (\(< .08\) acceptable; check 90% CI)
  • SRMR: \(< .08\)
  • Local Fit: Inspect residual correlations & Modification Indices — respecify only with theory!

Ordinal CFA & Reliability (lavaan + semTools)

04-cfa-ordinal-sijs.R

# Model 1: Strict unidimensional CFA (WLSMV for 5-point ordinal data)
m1 <- 'js =~ sijs1 + sijs2 + sijs3 + sijs4 + sijs5'
fit_cfa1 <- cfa(m1, data = ds_sijs, ordered = TRUE, estimator = "WLSMV", std.lv = TRUE)

# Model 2: Add theoretically justified residual covariance (reverse-coded items)
m2 <- '
  js =~ sijs1 + sijs2 + sijs3 + sijs4 + sijs5
  sijs3 ~~ sijs5
'
fit_cfa2 <- cfa(m2, data = ds_sijs, ordered = TRUE, estimator = "WLSMV", std.lv = TRUE)
Model χ² (scaled) df CFI TLI RMSEA SRMR
M1: Base 1-Factor 264.090 5 0.974 0.947 0.210 0.055
M2: + sijs3 ~~ sijs5 39.851 4 0.996 0.991 0.088 0.021
# Categorical omega (accounts for sijs3 ~~ sijs5!) & AVE via semTools
c(omega_cat = semTools::compRelSEM(fit_cfa2, ord.scale = TRUE)[[1]][1],
  AVE       = semTools::AVE(fit_cfa2)) |> round(3)
omega_cat    AVE.js 
    0.824     0.585 

Measurement Invariance in 3 Steps (semTools)

Before comparing group means, verify that the instrument functions equivalently across groups (example: HolzingerSwineford1939 by school).

05-cfa-invariance.R

hs_mod <- '
  visual  =~ x1 + x2 + x3
  textual =~ x4 + x5 + x6
  speed   =~ x7 + x8 + x9
'
fit_conf <- cfa(hs_mod, data = HolzingerSwineford1939, group = "school", estimator = "MLR")
fit_metr <- cfa(hs_mod, data = HolzingerSwineford1939, group = "school", estimator = "MLR",
                group.equal = "loadings")
fit_scal <- cfa(hs_mod, data = HolzingerSwineford1939, group = "school", estimator = "MLR",
                group.equal = c("loadings", "intercepts"))
Invariance Level χ² df CFI RMSEA SRMR ΔCFI
1. Configural (same structure) 121.741 48 0.914 0.101 0.068 NA
2. Metric (equal λ) 125.997 54 0.917 0.094 0.072 0.002
3. Scalar (equal λ & τ) 166.748 60 0.876 0.109 0.082 -0.040
  • Rule of thumb: \(|\Delta\text{CFI}| \le .010\) supports the more constrained model.
  • Here: Metric holds (\(\Delta\text{CFI} = -.004\)), Scalar fails (\(\Delta\text{CFI} = -.036\)) → do not compare raw/latent school means directly without partial invariance!

Exercise 3: Ordinal CFA & Respecification 8 MIN

Using ds_sijs in lavaan + semTools:

  1. Fit the 1-factor ordinal model (m1) with ordered = TRUE, estimator = "WLSMV".
  2. Run modindices(fit_cfa1, sort = TRUE, minimum.value = 10). Which item pair has the largest MI, and why does it make theoretical sense?
  3. Fit fit_cfa2 adding sijs3 ~~ sijs5 and run a scaled nested comparison via lavTestLRT(fit_cfa1, fit_cfa2).
  4. Compute categorical reliability with semTools::compRelSEM(fit_cfa2, ord.scale = TRUE).

05-ex3-cfa-solution.R

# 1–2. Top Modification Indices for base ordinal model
modindices(fit_cfa1, sort = TRUE, minimum.value = 10)[1:3, c("lhs", "op", "rhs", "mi", "epc")]
     lhs op   rhs     mi    epc
51 sijs3 ~~ sijs5 97.167  0.240
44 sijs1 ~~ sijs3 27.903 -0.149
49 sijs2 ~~ sijs5 16.220 -0.110
# 3. Scaled chi-square difference test (WLSMV requires lavTestLRT, never raw Δχ²)
lavTestLRT(fit_cfa1, fit_cfa2)

Scaled and Shifted Chi-Squared Difference Test (method = "satorra.2000")

lavaan->lavTestLRT():  
   lavaan NOTE: The "Chisq" column contains standard test statistics, not the 
   robust test that should be reported per model. A robust difference test is 
   a function of two standard (not robust) statistics.

         Df AIC BIC   Chisq Chisq diff   RMSEA Df diff Pr(>Chisq)    
fit_cfa2  4          11.228                                          
fit_cfa1  5         108.469      138.6 0.28668       1  < 2.2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
# 4. Standardized loadings & residual correlation
standardizedSolution(fit_cfa2) |>
  filter(op %in% c("=~", "~~"), lhs != rhs) |>
  select(lhs, op, rhs, est.std, ci.lower, ci.upper) |>
  mutate(across(where(is.numeric), ~ round(.x, 3)))
    lhs op   rhs est.std ci.lower ci.upper
1    js =~ sijs1   0.680    0.650    0.709
2    js =~ sijs2   0.913    0.897    0.929
3    js =~ sijs3   0.566    0.527    0.606
4    js =~ sijs4   0.886    0.869    0.903
5    js =~ sijs5   0.722    0.689    0.755
6 sijs3 ~~ sijs5   0.414    0.356    0.471

Module 4: Bayesian CFA (BCFA)

Why Bayesian SEM?

Bayesian updating combines prior scientific knowledge with current data likelihood (Lee, 1981):

\[p(\theta \mid y) \propto p(y \mid \theta)\, p(\theta)\]

Key Advantages

  • Stabilizes estimation under small \(N\) or complex models.
  • Replaces rigid zero cross-loadings with regularizing (small-variance) priors.
  • Yields full posterior distributions and credible intervals for parameters and fit indices (\(BRMSEA\), \(BCFI\)).

The Prior Spectrum

  1. Default / Diffuse: \(\lambda \sim \mathcal{N}(0, 10)\) (Merkle & Rosseel, 2016)
  2. Regularizing: \(\lambda \sim \mathcal{N}(0, 0.1)\) (shrinkage)
  3. Literature-Informative: Hyperparameters from prior studies / MASEM (Depaoli, 2021)
  4. Subjective / Expert-Elicited: Quantiles via SHELF (O’Hagan, 2019)

BCFA in blavaan: Default vs. Informative Priors

We subsample \(n = 50\) from ds_sijs so the role of priors is immediately visible.

06-bcfa-default.R

set.seed(1987)
ds_50 <- slice_sample(ds_sijs, n = 50)

# 1. Default diffuse priors: lambda ~ N(0, 10)
fit_def <- bcfa(
  m1, data = ds_50, std.ov = TRUE, std.lv = TRUE,
  n.chains = 3, burnin = 500, sample = 1000,
  bcontrol = list(cores = 3)
)

07-bcfa-informative.R

# 2. Literature-derived standardized loading priors (Sinval & Marôco, 2020)
m_inf <- '
  js =~ prior("normal(0.75, 0.06)")*sijs1 +
        prior("normal(0.70, 0.08)")*sijs2 +
        prior("normal(0.65, 0.10)")*sijs3 +
        prior("normal(0.78, 0.07)")*sijs4 +
        prior("normal(0.60, 0.12)")*sijs5
'
set.seed(1987)
fit_inf <- bcfa(
  m_inf, data = ds_50, std.ov = TRUE, std.lv = TRUE,
  n.chains = 3, burnin = 500, sample = 1000,
  bcontrol = list(cores = 3)
)

Convergence & Posterior Fit Diagnostics

Always check MCMC convergence before interpreting parameters: \(\hat{R} < 1.05\) and high \(n_{\text{eff}}\) (neff).

08-bcfa-fit-indices.R

# Incremental indices (BCFI, BTLI) require an explicit null model
null_mod <- "sijs1 ~~ sijs1; sijs2 ~~ sijs2; sijs3 ~~ sijs3; sijs4 ~~ sijs4; sijs5 ~~ sijs5"
set.seed(1987)
fit_null <- bcfa(null_mod, data = ds_50, std.ov = TRUE,
                 n.chains = 3, burnin = 500, sample = 1000,
                 bcontrol = list(cores = 3))

# Posterior distribution of approximate fit indices (continuous specification)
bfits <- blavFitIndices(fit_inf, baseline.model = fit_null, pD = "dic")

Note: Approximate Bayesian indices (BRMSEA, BCFI) require continuous specification (Garnier-Villarreal & Jorgensen, 2020); for ordered = TRUE, use marginal DIC, WAIC, and LOO via fitMeasures().

Prior Sensitivity Analysis (n = 50): Posterior Means, SDs & Convergence
Item Default_Est Default_SD Informative_Est Informative_SD Rhat_Inf neff_Inf
sijs1 0.585 0.104 0.656 0.050 1.000 3396
sijs2 0.948 0.042 0.882 0.050 1.002 3014
sijs3 0.572 0.105 0.590 0.066 0.999 4122
sijs4 0.842 0.055 0.832 0.045 1.001 3200
sijs5 0.571 0.107 0.568 0.074 1.000 3796
  • Informative priors visibly reduce posterior uncertainty (smaller SDs) and stabilize loadings at \(n = 50\) (Kaplan, 2023).

Exercise 4: Regularizing Priors & Sensitivity 6 MIN

Using ds_50 in blavaan:

  1. Inspect blavaan’s default priors by running dpriors().
  2. Create a regularizing prior vector: reg_dp <- dpriors(lambda = "normal(0, 0.2)").
  3. Fit fit_reg <- bcfa(m1, data = ds_50, dp = reg_dp, std.ov = TRUE, std.lv = TRUE, n.chains = 3, burnin = 500, sample = 1000).
  4. Check max(blavInspect(fit_reg, "rhat")) and compare posterior loadings of fit_reg vs. fit_def. What happened to the loading magnitudes?

09-ex4-bcfa-solution.R

reg_dp <- dpriors(lambda = "normal(0, 0.2)")
set.seed(1987)
fit_reg <- bcfa(m1, data = ds_50, dp = reg_dp, std.ov = TRUE, std.lv = TRUE,
                n.chains = 3, burnin = 500, sample = 1000, bcontrol = list(cores = 3))

cat("Max Rhat:", round(max(blavInspect(fit_reg, "rhat")), 3), "\n")

tibble(
  Item        = paste0("sijs", 1:5),
  Default     = round(standardizedSolution(fit_def)$est.std[1:5], 3),
  Regularized = round(standardizedSolution(fit_reg)$est.std[1:5], 3),
  Informative = round(standardizedSolution(fit_inf)$est.std[1:5], 3)
)

Synthesis & Decision Guide

Practical Psychometric Workflow in R

Research Question Recommended Framework Go-To R Functions
Fast item audit & \(\omega\) precision CTT psych::alpha(), psych::omega()
Dichotomous ability, item curves, TIF, DIF IRT (Dichotomous) mirt::mirt(), itemfit(), marginal_rxx()
Ordinal targeting & Wright Map IRT (Polytomous) TAM::tam.mml(), WrightMap::wrightMap()
Internal structure & invariance (ordinal) CFA (Frequentist) lavaan::cfa(..., ordered = TRUE), semTools::compRelSEM()
Small \(N\), prior elicitation, full uncertainty BCFA (Bayesian) blavaan::bcfa(), dpriors(), blavFitIndices()
:::

Contact: Jorge Sinval · CRCD / OfR · NIE, NTU Singapore

References

Cronbach, L. J. (1951). Coefficient alpha and the internal structure of tests. Psychometrika, 16(3), 297–334. https://doi.org/10.1007/BF02310555
Depaoli, S. (2021). Bayesian structural equation modeling. The Guilford Press. https://www.guilford.com/books/Bayesian-Structural-Equation-Modeling/Sarah-Depaoli/9781462547746/contents
Gadermann, A. M., Guhn, M., & Zumbo, B. D. (2012). Estimating ordinal reliability for Likert-type and ordinal item response data: A conceptual, empirical, and practical guide. Practical Assessment, Research, and Evaluation, 17(3), 1–13. https://doi.org/10.7275/n560-j767
Garnier-Villarreal, M., & Jorgensen, T. D. (2020). Adapting fit indices for Bayesian structural equation modeling: Comparison to maximum likelihood. Psychological Methods, 25(1), 46–70. https://doi.org/10.1037/met0000224
Kaplan, D. (2023). Bayesian statistics for the social sciences (2nd ed.). Guilford Press. https://www.guilford.com/books/Bayesian-Statistics-for-the-Social-Sciences/David-Kaplan/9781462553549
Lee, S.-Y. (1981). A Bayesian approach to confirmatory factor analysis. Psychometrika, 46(2), 153–160. https://doi.org/10.1007/BF02293896
Merkle, E. C., & Rosseel, Y. (2016). blavaan: Bayesian structural equation models via parameter expansion. http://arxiv.org/abs/1511.05604v2
O’Hagan, A. (2019). Expert knowledge elicitation: Subjective but scientific. The American Statistician, 73(sup1), 69–81. https://doi.org/10.1080/00031305.2018.1518265
Sinval, J., & Marôco, J. (2020). Short Index of Job Satisfaction: Validity evidence from Portugal and Brazil. PLoS ONE, 15(4), 1–21. https://doi.org/10.1371/journal.pone.0231474
Tristán-López, A. (2025). Organizing measurement evidence for Rasch analysis: A macro-meso-micro workflow. Rasch Measurement Transactions, 38(1), 2012–2014. https://www.rasch.org/rmt/rmt381.pdf