
Summarize a DIF/bias screening simulation
Source:R/api-simulation.R
summary.mfrm_signal_detection.RdSummarize a DIF/bias screening simulation
Usage
# S3 method for class 'mfrm_signal_detection'
summary(object, digits = 3, ...)Arguments
- object
Output from
evaluate_mfrm_signal_detection().- digits
Number of digits used when printing numeric summaries.
- ...
Reserved for generic compatibility.
Value
An object of class summary.mfrm_signal_detection with:
overview: run-level overviewdetection_summary: full-precision rates by design, with design-variable aliases when applicable.DIF*,DIFClass*andBiasScreen*columns retainPlanned,Available,Unavailable,Positive,MCLower,MCUpper,AllTrialsLowerandAllTrialsUpperfor target outcomes. Monte Carlo bounds are exact 95% binomial intervals conditional on availability; all-trial bounds describe unresolved outcomes, not confidence intervals.DIFNonTarget*/BiasNonTarget*retain summedPlannedandAvailablecell counts andAvailableReps, the number of trials contributing a non-target proportion. Those proportions receive equal weight across contributing trials, even with unequal cell counts; their MCSE is the sample SD of the proportions divided by the square root ofAvailableReps.TargetContrastAvailable,TargetContrastAbsAvailable,TargetBiasAvailableandTargetBiasTAvailableare denominators for the corresponding finite point summaries. All-missing means returnNA.ademp: simulation-study metadata carried forward from the original objectfacet_names: public facet labels carried from the simulation specificationdesign_variable_aliases: accepted public aliases for design variablesdesign_descriptor: role-based design-variable metadataplanning_scope: explicit record of the current planning contractplanning_constraints: explicit record of mutable/locked design variablesplanning_schema: structured planning metadatastructural_design_review: deterministic structural review of the named-facet design grid; it reports design bookkeeping rather than signal-detection performancegpcm_boundary:GPCMcaveat row when presentnotes: short interpretation notes, including the bias-side screening caveat
Examples
# Supplementary workflow: run explicitly to keep routine checks brief.
# example("summary.mfrm_signal_detection", run.dontrun = TRUE)
if (FALSE) { # \dontrun{
# One saved replication illustrates output structure, not precise rates.
# Regeneration recipe: examples/simulation-results.R in the package.
saved <- readRDS(system.file("examples", "simulation-signal-detection.rds",
package = "mfrmr", mustWork = TRUE))
# Inspect saved$generation_warnings and the result's run/status tables.
sig_eval <- saved$result
summary(sig_eval)
} # }