
Account for rater differences. Plan your assessment. Diagnose rating quality.
The same performance can receive different scores from different
raters. For speaking assessments, essays, clinical OSCEs, and other
rubric-scored work, mfrmr connects three tasks:
fit_mfrm(),
fit_mfrm_drift(), mfrm_batch_fit()):
estimate examinee ability while accounting for rater severity, task or
criterion difficulty, step thresholds (RSM,
PCM, and constrained hybrids), element covariates, and
facet-specific discrimination via high-speed C++ MML
(EAP and Warm’s WLE), JML,
JML_jeffreys, and CML.mfrm_g_study(),
mfrm_d_study()): decompose observed-score variance
across crossed or nested facets and multivariate composites
(ANOVA, MINQUE(0), and non-iterative Henderson
Method 1 urGENOVA) to project generalizability (\(G\)), dependability (\(\Phi\)), and standard errors across
candidate designs.diagnose_mfrm(), fair_average_table(),
estimate_bias(), analyze_dff(),
classification_table(),
interrater_agreement()): inspect
Infit/Outfit MnSq and
ZSTD, ModelSE vs RealSE,
rubric-scale Fair(M), FACETS 4.5.3
RajuSA-Welch pairwise bias contrasts, parallel
split-element DFF, and cut-score classification accuracy.Use mfrm_analysis() to move from ratings to calibration,
diagnostics, G-Study, D-Study, plots, and APA-style or rater-feedback
reports in one package. Use tidy(), glance(),
and augment() to extract analysis results for your own
tables and plots. See the workflow vignette for a complete example.
The Generalized Many-Facet Rasch Model (GMFRM)
follows the terminology of Uto and Ueno
(2020). It extends the constant-discrimination many-facet Rasch
model by estimating discrimination, with either facet-specific steps
(many-facet GPCM) or shared steps on a common rubric (many-facet
RS-GPCM). Select it with model = "GPCM" (also accepted as
model = "GMFRM").
Once version 0.3.2 is available on CRAN, use the standard installation:
install.packages("mfrmr")Until 0.3.2 is available from CRAN, install the GitHub source release below. Download mfrmr_0.3.2.tar.gz from GitHub Releases. Install the package dependencies and ensure that your R package compiler toolchain works. Run the following from the folder containing the file.
install.packages("mfrmr_0.3.2.tar.gz", repos = NULL, type = "source")
browseVignettes("mfrmr")Read the assessment
guide on GitHub. Its examples complement the two offline vignettes
bundled with mfrmr.
vignette("mfrmr-workflow", package = "mfrmr"): A first
analysis from ratings to a report, connectivity audit, RSM, PCM and
GMFRM estimation, prediction, plots, and batch replications.vignette("mfrmr-gtheory", package = "mfrmr"): Crossed,
nested, and multivariate G-Study / D-Study
planning.Start with synthetic operational data for 48 people, six
raters, and three criteria (Score from 1 to 4,
where 4 denotes higher performance). Each person is assigned two raters;
282 of 288 planned ratings are observed:
library(mfrmr)
ratings <- load_mfrmr_data("example_operational")
head(ratings[c("Person", "Rater", "Criterion", "Score")], 3)| Person | Rater | Criterion | Score |
|---|---|---|---|
| P001 | R01 | Language | 4 |
| P001 | R01 | Organization | 2 |
| P001 | R02 | Content | 4 |
One row is one observed rating. Missing assignments are absent rows, not zeros.
# Verify multi-facet graph connectivity before estimation
conn <- check_mfrm_connectivity(
ratings,
person = "Person",
facets = c("Rater", "Criterion"),
score = "Score"
)
conn$connected
# Fit Rating Scale Model (RSM) via MML with Warm's (1989) WLE person scoring
fit <- fit_mfrm(
ratings,
person = "Person",
facets = c("Rater", "Criterion"),
score = "Score",
model = "RSM",
method = "MML",
person_score = "WLE"
)
print(fit)
fit$facets[, c("Facet", "Level", "ObsCount", "Estimate", "ModelSE", "RealSE", "FairM", "InfitMnSq")]Non-person facets carry negative sign (Sign = -1) by
default so higher rater estimates denote stricter (more severe)
scoring and higher criterion estimates denote harder
criteria. Use standard S3 methods to extract intervals,
covariances, and predictions under arbitrary conditions:
confint(fit, component = "facets", se_type = "real")
predict(fit, newdata = data.frame(theta = c(-1, 0, 1), Rater = "R01", Criterion = "Content"))ggplot2 diagnosticsEvery plot() method returns a customizable
ggplot object using color-vision-safe
"okabe_ito", "viridis", or strict grayscale
"monochrome" palettes paired with distinct point
shape and linetype encodings:
plot(fit, type = "wright", palette = "okabe_ito")
plot(fit, type = "raters", palette = "monochrome")
plot(fit, type = "category_curves", palette = "viridis")
G-Study /
D-Study)# FACETS 4.5.3 RajuSA-Welch 2-way local bias & pairwise contrasts
bias <- estimate_bias(fit, interaction_facets = c("Rater", "Criterion"), df_method = "facets")
head(bias$pairwise, 4)
# Observed-score Generalizability & Decision Study (Henderson Method 1 / urGENOVA)
gt <- mfrm_g_study(
ratings,
scores = "Score",
person = "Person",
facets = c("Rater", "Criterion"),
method = "urgenova"
)
mfrm_d_study(gt, design_grid = expand.grid(Rater = 1:4, Criterion = 2:4))
confint(gt)Before interpreting intervals or classification, inspect
summary(fit)$readiness: optimizer convergence alone does
not establish usable inference. Prediction SEs condition on the supplied
or fitted person ability. For unbalanced G-Studies, intervals use a
Gaussian plug-in covariance for the actual assignments and remain
approximations; unidentified designs are rejected. See
?"mfrmr-s3-methods" for these uncertainty definitions and
?fair_average_table for comparisons under an explicit
common reference panel.
| Pillar | Entry points |
|---|---|
| Data & connectivity | load_mfrmr_data(), describe_mfrm_data(),
check_mfrm_connectivity(),
interrater_agreement() |
| Calibration, GMFRM, & linking | fit_mfrm(), mfrm_batch_fit(),
fit_mfrm_drift(), compare_mfrm(),
apply_empirical_bayes_shrinkage(),
make_anchor_table(), anchor_to_baseline(),
detect_anchor_drift() |
| Diagnostics, bias, DFF, & cuts | diagnose_mfrm(), fair_average_table(),
compute_person_fit_indices(),
compute_information(), classification_table(),
estimate_bias(), analyze_dff() |
| G-Study & D-Study | mfrm_g_study(), mfrm_d_study() |
| Analysis workflow | mfrm_analysis(), mfrm_workflow(),
step_mfrm_measure(), step_mfrm_gtheory(),
step_mfrm_diagnose() |
| Tables & reporting | tidy(), glance(), augment(),
format_mfrm_table(), render_mfrm_report() |
| Standard S3 generics | predict(), coef(), vcov(),
confint(), anova(), plot(),
summary(), print(), fitted(),
residuals(), logLik(), AIC(),
BIC(), nobs(),
as.data.frame() |
Statistical fit indices (Infit/Outfit),
severity estimates, and DFF contrasts support formative rater training,
rubric clarification, and targeted second-scoring; they must not be used
for automated high-stakes rater exclusion without qualitative review
(Eckes, 2015). Observed-score \(G\) and
\(\Phi\) decompose raw score variance
(Brennan, 2001) and answer different questions from model-adjusted
latent reliability.
Use citation("mfrmr") and see release
notes and roadmap.
Licensed under the MIT
License.
mfrmr has benefited from discussion and methodological
input from Dr. Atsushi Mizumoto and Dr. Taichi Yamashita.