View source: R/api-simulation.R
| recommend_mfrm_design | R Documentation |
Recommend a design condition from simulation results
recommend_mfrm_design(
x,
facets = c("Rater", "Criterion"),
min_separation = 2,
min_reliability = 0.8,
max_severity_rmse = 0.5,
max_misfit_rate = 0.1,
min_convergence_rate = 1,
prefer = c("n_person", "raters_per_person", "n_rater", "n_criterion")
)
x |
Output from |
facets |
Facets that must satisfy the planning thresholds. |
min_separation |
Minimum acceptable mean separation. |
min_reliability |
Minimum acceptable mean reliability. |
max_severity_rmse |
Maximum acceptable severity recovery RMSE. |
max_misfit_rate |
Maximum acceptable mean misfit rate. |
min_convergence_rate |
Minimum acceptable convergence rate. |
prefer |
Ranking priority among design variables. Earlier entries are optimized first when multiple designs pass. |
This helper converts a design-study summary into a simple planning table.
A design is marked as recommended when all requested facets satisfy all
selected thresholds simultaneously.
If multiple designs pass, the helper returns the smallest one according to
prefer (by default: fewer persons first, then fewer ratings per person,
then fewer raters, then fewer criteria).
A list of class mfrm_design_recommendation with:
facet_table: facet-level threshold checks
design_table: design-level aggregated checks
recommended: the first passing design after ranking
thresholds: thresholds used in the recommendation
Run evaluate_mfrm_design().
Review summary.mfrm_design_evaluation() and plot.mfrm_design_evaluation().
Use recommend_mfrm_design(...) to identify the smallest acceptable design.
evaluate_mfrm_design(), summary.mfrm_design_evaluation, plot.mfrm_design_evaluation
sim_eval <- evaluate_mfrm_design(
n_person = c(30, 50),
n_rater = 4,
n_criterion = 4,
raters_per_person = 2,
reps = 1,
maxit = 15,
seed = 123
)
rec <- recommend_mfrm_design(sim_eval)
rec$recommended
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.