Crossed LMM (Crossed Random Mixed Model)

Crossed LMM (Crossed Random Mixed Model)

⚡ Advanced · Mixed Models · Crossed

v1.0.1

Education Sciences context — the two random factors are NOT nested but crossed. madde_puan ~ 1 + (1|ogretmen) + (1|ogrenci). Each ogretmen is paired with all ogrencis.

Crossed random2 faktörREMLInter-rater reliability

🎯 What is it for?

Different from the classical nested structure: each ogretmen pairs independently with different ogrenci’s (not every ogrenci under every ogretmen; crossed). In Education Sciences, it estimates the random variance of the two factors separately.

📌 When is it used?

  • Rater × ratee (each rater evaluates every sample)
  • Operator × device (each operator uses every device)
  • Measurement design with two random effects

⚙ Assumptions

  1. The two random factors are independent of each other (not nested).
  2. At least 1 observation in each (teacher, student) cell (empty cells affect the estimate).
  3. Random effects ~ Normal(0, σ²).

📊 How is it run in MerQur?

1
Load data.
2
Analysis → ⚡ Advanced → Crossed LMM.
3

Panel assignments (form fields in the program):

  • Dependent Variable: deger
  • Factor A: faktor_a
  • Factor B: faktor_b
  • A Type: random
  • B Type: random
  • SS Type: 1
4
Estimator: REML.
5
▶ Run. σ²ogretmen, σ²ogrenci, σ²residual + ICC.

📊 Sample Dataset — Education Sciences

ℹ Note: The scenario, MerQur output and interpretation below were produced by actually running the real example dataset in MerQur. Numeric results on your own data will differ; the goal is to show how the analysis is set up and interpreted end-to-end.

🎬 Example File

This analysis is demonstrated on the following example dataset for Education Sciences:

Egitim_Bilimleri/109_crossed_lmm_A_B.xlsx

🎬 Scenario

Suppose we ran a study where every level of one factor is observed in
combination with every level of another, for example each teaching condition
delivered with each set of materials. Here factor_a has four levels A1 to A4
and factor_b has four levels B1 to B4, fully crossed across 128
observations, with the continuous outcome value. A Crossed Mixed Model is
appropriate because both factors can be treated as random effects that cross
each other, letting us separate the variability due to factor_a, the
variability due to factor_b, and the residual, rather than forcing a nested
structure. This is the standard model for fully crossed educational designs.

⚙️ Variable Selection

  • Dependent variable: value
  • Crossed random effect 1: factor_a (A1…A4)
  • Crossed random effect 2: factor_b (B1…B4)

Data Preview (First 5 Rows)

factor_a factor_b value
A1 B1 53.8
A1 B1 55.31
A1 B1 50.68
A1 B1 55.81
A1 B1 56.05

n = 128 · Columns: factor_a, factor_b, value

📈 MerQur Output

CROSSED LMM (CROSSED RANDOM MIXED MODEL) RESULT
─────────────────────────────────────────────

factor A: F = 0.38, p = 0.77 (non-significant) | factor B: F = 0.90, p = 0.48 (non-significant)
A x B interaction: F = 14.67, p < .001 *** (SIGNIFICANT)

💬 Interpretation

Unlike nesting, here two factors are crossed: each A level is combined with each B level (fully factorial). A
striking result: both main effects are non-significant (A: p = 0.77, B: p = 0.48), but the interaction is highly
significant (F = 14.67, p < .001). This is a classic case of a “pure interaction”: A and B alone say nothing, but
TOGETHER — specific A-B combinations — they create a strong effect. Looking only at the main effects and saying
“nothing is significant” would be a major error; the interaction changes everything. The crossed mixed model is
the right way to capture interactions that emerge when factors are tested jointly — a critical inference in
educational experiments (such as method x content).

⚠ Common Mistakes

  • Specifying a crossed structure when the design is actually nested — make sure each (ogretmen, ogrenci) pair is genuinely independent.
  • A very sparse matrix (many empty cells in ogretmen×ogrenci) — the model cannot be fit or is unstable.
  • If the ogretmen-ICC is low and the ogrenci-ICC is high, shrinkage is tighter in estimating the ogrenci.

📚 MerQur’a Atıf

Örücü, Ö. K. (2026). MerQur: Integrated Academic Data Analysis & Reporting Platform [Computer software] (Version 1.0.0). https://doi.org/10.53463/merqur.2026001

Tüm atıf formatları →

📝 Üretim Notu — Bu sayfadaki örnek veri sentetik olarak üretilmiştir (sabit SEED=42, generator: samples/Ileri_Duzey_v102/_generate_v102_datasets.py). Sayfa içeriği Anthropic Claude desteği ile hazırlanmış, akademik doğruluk yazar tarafından kontrol edilmiştir.