
Summarize assessment plans with their uncertainty
Source:R/api-multivariate-dstudy-summary.R
summary.mfrm_multivariate_d_study.RdRead G, Phi and measurement SEM together with their confidence intervals,
methods and limitations. Ordinary summary(d) retains its coefficient-table
return value. Request intervals explicitly, or reuse saved interval results.
Arguments
- object
A result from
mfrm_d_study().- intervals
FALSE(default) returns the original coefficient table.TRUEcalculates the selected intervals usingconfint.mfrm_multivariate_d_study(). Alternatively supply a savedconfint(d)result or a list of such results. Saved results may contain different metrics, methods, scores or reference plans, but must match this D-study's source, plans and score weights. GENOVA-adjusted results retain adjusted points alongside original-source population intervals, with separateIntervalEstimateandIntervalBasis. Saved intervals must match the component treatment too.- parm
Metrics to calculate when
intervals = TRUE. The default includes"G","Phi","RelativeSEM"and"AbsoluteSEM". Select fewer metrics when only those answer your question, particularly for explicitly requested expensive profile methods.- ...
With
intervals = TRUE, arguments toconfint(d), including the requiredassumption = "normal",scoreorcomposite,level,method,reference,drawsandseed. The default methods and score selection are those ofconfint(d). Unsupported requests fail explicitly; no alternative method is selected after a failure. With saved results orintervals = FALSE, additional arguments are rejected. For printing, arguments are passed to the displayed tables.- x
An interval-aware summary returned by this method.
- digits
Display precision passed to the printed tables;
NULLuses R's current setting. Stored estimates are unchanged.- row.names
Logical; print table row names? Defaults to
FALSE.
Value
With intervals = FALSE, the unchanged object$coefficients data
frame. Otherwise a summary.mfrm_multivariate_d_study list containing:
table: one row per returned plan, metric and method, withIntervalidentifying the entry inintervals. It retains all original interval columns, including point/interval status, qualifications and any separate REML or residual-contrastIntervalCenter. Columns not applicable to a method areNA.intervals: the complete original interval objects, retaining notes, diagnostics, reference context and their existingplot()methods.source_design,source_rows,design_grid,weightsandcomponent_diagnostics: the original design, score and review context.notes: method qualifications and interpretation reminders.print()returns the same saved summary invisibly. For G/Phi withmethod = "delta", the table retains and prints the coefficient samplingSE, distinct from measurement SEM. For GENOVA-adjusted points it is namedIntervalSEand describes the original estimator, not the adjusted point. Normal-reference bounds outside[0,1]are not clipped.
Details
The intervals describe uncertainty from the observed G-study in the population coefficient or SEM of a specified future complete plan. They do not represent data already collected under that future plan. G and Phi are dimensionless; SEM is in the selected score's units. A larger G/Phi or smaller SEM does not alone determine a worthwhile plan: consider the intended decision, score meaning and task/rater burden.
reference requests the existing paired plan-difference procedure for
each metric. It does not subtract marginal interval endpoints. Positive
G/Phi differences and negative SEM differences favor the comparison plan,
conditional on the stated model. Individual-plan and difference results
remain explicitly labeled if both are supplied as saved results.
Printing and reopening a saved summary do not calculate intervals or
refit models. Printing separates the main estimates, method qualifications
and rows with unavailable points/intervals or incomplete width formulas;
table retains all statuses and diagnostics columns. A completed approximate
interval is qualified by its method, not automatically labeled a failure.
Save the complete summary with saveRDS() to retain its
context; CSV export of table alone loses weights, notes and diagnostics.
Use plot(s$intervals[[1]]) for its existing forest plot, or supply a
suitable single-metric individual-plan result to plot(d, intervals = ...).
A summary does not create simultaneous guarantees across metrics, scores
or selected plans. Read each method's qualifications. Availability is not
proof of model validity or accurate finite-sample coverage.
Choose the operation
print(d) displays the D-study and returns it invisibly; summary(d)
returns its coefficient table. This opt-in summary collects intervals;
confint(d) calculates one metric at a time with the same inference rules.
Neither changes d. print(s) displays the saved summary without any
estimation, and s$table is the data frame for subsetting or CSV export.
Use plot(d) for planning curves and plot(s$intervals$Phi) for a saved
interval forest. A summary list itself is not a new plotting input.
This page explains the interface and reading order. Mathematical
constructions, design-specific assumptions, numerical diagnostics and
references are in confint.mfrm_multivariate_d_study().
Examples
# Supplementary workflow: run explicitly to keep routine checks brief.
# example("summary.mfrm_multivariate_d_study", run.dontrun = TRUE)
if (FALSE) { # \dontrun{
# Published synthetic data, not empirical speech-contest records.
ratings <- read.csv(system.file("extdata", "mgenova-table12.csv", package = "mfrmr"))
g <- mfrm_g_study(ratings, c("V", "W"), rater = NULL)
d <- mfrm_d_study(g, data.frame(Tasks = c(6, 12)),
weights = c(V = .5, W = .5))
# Compare dependability and measurement error under the normal-effects model.
s <- summary(d, intervals = TRUE, assumption = "normal")
print(s, digits = 3)
# One row per plan for absolute dependability; the complete table is retained.
subset(s$table, Metric == "Phi",
select = c(Tasks, Estimate, Lower, Upper, Status))
# Reuse an interval for a curve, with no interval calculation.
p <- plot(d, metric = "Phi", intervals = s$intervals$Phi, draw = FALSE)
plot_data(p, "notes")
} # }