The {ordinalsimr} package is intended to assist applied statisticians with running simulation studies on ordinal data. This Shiny application provides a point-and-click approach to setting simulation parameters including setting the number of iterations, the total sample size, the group size ratio between group 1 and group 2, and the distribution probabilities of the ordinal endpoint for each group.
If the Shiny application is not flexible enough for your purposes, this package also provides a variety of helper functions. See the package for vignettes for more information on coding your own simulation studies.
vignette("coding-simulations", package = "ordinalsimr")
vignette("ordinalsimr", package = "ordinalsimr")
stats::wilcox.test()
stats::fisher.test()
stats::chisq.test(correct = FALSE)
stats::chisq.test(correct = TRUE)
rms::lrm()
coin::independence_test(ytrafo = coin::rank_trafo)
This page is for parameter entries, and includes a “Run Test” button to press once all parameters have been determined. Processing is completed when the p-value tables at the bottom of the page appear.
Results of a simulation run can be seen here included a visualization of the p-value densities by test as well as Power, Type II error, Type I error, and associated confidence intervals for these values. The CI percentiles can be adjusted as well as the nominal significance level .
Experimental page: will include a report generated from the simulation results.
This page is under development, but does currently include an option
to download the metadata (i.e. input parameters), p-values from tests,
summary statistics, and the ggplot as an .rds
file.