{ordinalsimr} Shiny Application

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.

Help Files

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")

Included Tests

Pages

Simulation

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.

Distributions

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 .

Report

Experimental page: will include a report generated from the simulation results.

Data Download

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.