Package: graphicalMCP 0.2.9

Dong Xi

graphicalMCP: Graphical Multiple Comparison Procedures

Multiple comparison procedures (MCPs) control the familywise error rate in clinical trials. Graphical MCPs include many commonly used procedures as special cases; see Bretz et al. (2011) <doi:10.1002/bimj.201000239>, Lu (2016) <doi:10.1002/sim.6985>, and Xi et al. (2017) <doi:10.1002/bimj.201600233>. This package is a low-dependency implementation of graphical MCPs which allow mixed types of tests. It also includes power simulations and visualization of graphical MCPs.

Authors:Dong Xi [aut, cre], Ethan Brockmann [aut], Gilead Sciences, Inc. [cph, fnd]

graphicalMCP_0.2.9.tar.gz
graphicalMCP_0.2.9.zip(r-4.7)graphicalMCP_0.2.9.zip(r-4.6)graphicalMCP_0.2.9.zip(r-4.5)
graphicalMCP_0.2.9.tgz(r-4.6-any)graphicalMCP_0.2.9.tgz(r-4.5-any)
graphicalMCP_0.2.9.tar.gz(r-4.7-any)graphicalMCP_0.2.9.tar.gz(r-4.6-any)
graphicalMCP_0.2.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
graphicalMCP/json (API)

# Install 'graphicalMCP' in R:
install.packages('graphicalMCP', repos = c('https://openpharma.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/openpharma/graphicalmcp/issues

On CRAN:

Conda:

6.84 score 19 stars 40 scripts 732 downloads 37 exports 2 dependencies

Last updated from:790e830fbd. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK192
source / vignettesOK273
linux-release-x86_64OK182
macos-release-arm64OK145
macos-oldrel-arm64OK111
windows-develOK151
windows-releaseOK161
windows-oldrelOK182
wasm-releaseOK130

Exports:adjust_p_bonferroniadjust_p_hochbergadjust_p_parametricadjust_p_simesadjust_weights_hochbergadjust_weights_parametricadjust_weights_simesas_graphMCPas_igraphas_initial_graphbonferronibonferroni_holmbonferroni_holm_weightedbonferroni_weighteddunnett_closure_weighteddunnett_single_stepdunnett_single_step_weightedfallbackfallback_improved_1fallback_improved_2fixed_sequencegraph_calculate_powergraph_creategraph_generate_weightsgraph_rejection_orderingsgraph_test_closuregraph_test_shortcutgraph_updatehochberghommelhuque_etalrandom_graphsidaksimple_successive_1simple_successive_2three_doses_two_primary_two_secondarytwo_doses_two_primary_two_secondary

Dependencies:matrixStatsmvtnorm

Common multiple comparison procedures illustrated using graphicalMCP
Introduction | Bonferroni-based procedures | Bonferroni test | Weighted Bonferroni test | Holm Procedure | Weighted Holm Procedure | Fixed sequence procedure | Fallback procedure | Serial gatekeeping procedure | Parallel gatekeeping procedure | Successive procedure | Hochberg-based procedures | Hochberg procedure | Simes-based procedures | Hommel procedure | Parametric procedures | Šidák test | Dunnett test | Weighted Dunnett test | Dunnett procedure | Reference

Last update: 2025-05-06
Started: 2024-01-23

Get started
Introduction | Basic usage | Initial graph | Update graph | Perform graphical MCPs | Power simulations | References

Last update: 2025-05-06
Started: 2024-01-23

Power simulations using multiple approaches for internal validation
Introduction | Power simulations | Bonferroni tests | Hochberg tests | Simes tests | Parametric tests | Mixed tests of Bonferroni, Hochberg and Simes | Mixed tests of parametric and one of Bonferroni, Hochberg and Simes | Conclusions

Last update: 2025-05-06
Started: 2025-05-06

Graphical multiple comparison procedures based on the closure principle
Motivating example | Create a graph | Perform the graphical multiple comparison procedure based on the closure principle | Bonferroni tests | Obtain the closure | Obtain adjusted significance levels | Mixed procedures for graphical approaches | Parametric tests for primary hypotheses | Parametric tests for primary hypotheses and Simes tests for secondary hypotheses | Power calculation | Input: Marginal power for primary hypotheses | Input: Marginal power for secondary hypotheses | Input: Correlation structure to simulate test statistics | User-defined success criteria | Output: Calculate power | Reference

Last update: 2024-06-04
Started: 2024-01-23

Sequentially rejective graphical multiple comparison procedures based on Bonferroni tests
Motivating example | Create the graph | Perform the graphical multiple comparison procedure | Adjusted p-values and rejections | Obtain final and intermediate graphs after rejections | Obtain possible orders of rejections | Obtain adjusted significance levels | Power simulation | Input: Marginal power for primary hypotheses | Input: Marginal power for secondary hypotheses | Input: Correlation structure to simulate test statistics | User-defined success criteria | Output: Simulate power | Reference

Last update: 2024-03-04
Started: 2024-01-23

Glossary

Last update: 2024-02-12
Started: 2024-01-23

Readme and manuals

Help Manual

Help pageTopics
Calculate adjusted p-valuesadjust_p_bonferroni adjust_p_hochberg adjust_p_parametric adjust_p_simes
Calculate adjusted hypothesis weightsadjust_weights_hochberg adjust_weights_parametric adjust_weights_simes
Convert between graphicalMCP, gMCP, and igraph graph classesas_graphMCP as_graphMCP.initial_graph as_igraph as_igraph.initial_graph as_initial_graph as_initial_graph.graphMCP as_initial_graph.igraph
Example graphs of commonly used multiple comparison proceduresbonferroni bonferroni_holm bonferroni_holm_weighted bonferroni_weighted dunnett_closure_weighted dunnett_single_step dunnett_single_step_weighted fallback fallback_improved_1 fallback_improved_2 fixed_sequence hochberg hommel huque_etal random_graph sidak simple_successive_1 simple_successive_2 three_doses_two_primary_two_secondary two_doses_two_primary_two_secondary
Calculate power values for a graphical multiple comparison proceduregraph_calculate_power
Create the initial graph for a multiple comparison proceduregraph_create
Generate the weighting strategy based on a graphical multiple comparison proceduregraph_generate_weights
Find alternate rejection orderings (sequences) for shortcut testsgraph_rejection_orderings
Perform closed graphical multiple comparison proceduresgraph_test_closure
Perform shortcut (sequentially rejective) graphical multiple comparison proceduresgraph_test_shortcut
Obtain an updated graph by updating an initial graphical after deleting hypothesesgraph_update
S3 plot method for class 'initial_graph'plot.initial_graph
S3 plot method for the class 'updated_graph'plot.updated_graph
S3 print method for the class 'graph_report'print.graph_report
S3 print method for the class 'initial_graph'print.initial_graph
S3 print method for the class 'power_report'print.power_report
S3 print method for the class 'updated_graph'print.updated_graph