View source: R/api-export-bundles.R
| review_conquest_overlap | R Documentation |
mfrmr overlap bundleReview an exact-overlap ConQuest comparison against an mfrmr overlap bundle
review_conquest_overlap(
bundle,
conquest_population = NULL,
conquest_item_estimates = NULL,
conquest_case_eap = NULL,
conquest_population_term = "auto",
conquest_population_estimate = "auto",
conquest_item_id = "auto",
conquest_item_estimate = "auto",
item_id_source = c("auto", "response_var", "level"),
conquest_case_person = "auto",
conquest_case_estimate = "auto"
)
bundle |
Output from |
conquest_population |
Normalized ConQuest population-parameter table as a
data.frame, or output from |
conquest_item_estimates |
Normalized ConQuest item-estimate table as a
data.frame. Leave |
conquest_case_eap |
Normalized ConQuest case-level EAP table as a
data.frame. Leave |
conquest_population_term |
Column in |
conquest_population_estimate |
Column in |
conquest_item_id |
Column in |
conquest_item_estimate |
Column in |
item_id_source |
How |
conquest_case_person |
Column in |
conquest_case_estimate |
Column in |
This helper compares normalized ConQuest output tables against the exact-
overlap bundle produced by build_conquest_overlap_bundle(). It is
intentionally conservative:
it does not parse raw ConQuest text output automatically;
it expects already normalized data frames or output from
normalize_conquest_overlap_tables();
and it reports numerical differences and missing elements without claiming that any fixed tolerance implies software equivalence.
This is the package's external-table review path. It is distinct from
reference_case_benchmark(cases = "synthetic_conquest_overlap_dry_run"),
which only round-trips package-native tables through the same normalization
and review contract without executing ConQuest.
The intended workflow is:
export an exact-overlap bundle with build_conquest_overlap_bundle();
run the narrow matching case in ConQuest;
normalize the resulting ConQuest outputs into data frames;
pass those tables here to inspect direct differences, centered item agreement, and case-level EAP agreement.
A named list with class mfrm_conquest_overlap_review.
The returned object has class mfrm_conquest_overlap_review and includes:
overall: one-row comparison summary with missing/duplicate/non-numeric
attention-item counts and worst-row labels
population_comparison: parameter-by-parameter comparison table
item_comparison: centered item-estimate comparison table
case_comparison: case-level EAP comparison table
attention_items: missing, malformed, or unmatched elements
settings: review settings
notes: interpretation notes
Read summary(review)$review_scope first to confirm that the result is a
supplied-table review, not raw ConQuest text parsing or a software-
equivalence claim.
Population slopes and sigma2 are intended for direct comparison.
Item estimates should be interpreted after centering.
Case estimates should be interpreted as posterior EAP summaries under the fitted population model.
The overall table reports both mean and maximum absolute differences for
compared population, centered item, and case rows. The
PopulationMaxAbsParameter, ItemCenteredMaxAbsItem, and
CaseMaxAbsPerson columns identify the row where each maximum absolute
difference occurs.
Missing or non-numeric rows in attention_items indicate that the external
tables do not yet align cleanly with the exported overlap bundle.
build_conquest_overlap_bundle(),
normalize_conquest_overlap_files(), normalize_conquest_overlap_tables(),
reference_case_benchmark()
bundle <- build_conquest_overlap_bundle()
raw_pop <- data.frame(
Term = bundle$mfrmr_population$Parameter,
Est = bundle$mfrmr_population$Estimate
)
raw_item <- data.frame(
Item = bundle$mfrmr_item_estimates$ResponseVar,
Est = bundle$mfrmr_item_estimates$Estimate
)
raw_case <- data.frame(
PID = bundle$mfrmr_case_eap$Person,
EAP = bundle$mfrmr_case_eap$Estimate
)
normalized <- normalize_conquest_overlap_tables(
conquest_population = raw_pop,
conquest_item_estimates = raw_item,
conquest_case_eap = raw_case,
conquest_population_term = "Term",
conquest_population_estimate = "Est",
conquest_item_id = "Item",
conquest_item_estimate = "Est",
conquest_case_person = "PID",
conquest_case_estimate = "EAP"
)
review <- review_conquest_overlap(bundle, normalized)
summary(review)$summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.