runshinyApp: runshinyApp, a function to run shiny apps found in bcdstats

View source: R/runshinyApp.R

runshinyAppR Documentation

runshinyApp, a function to run shiny apps found in bcdstats

Description

Several Shiny apps are available in this package. They are useful as instructional tools for visualizations in an interactive/dynamic framework. Use the app name as the argument in the runshinyApp function.

Usage

runshinyApp(appname)

Arguments

appname

The name of the shiny app (IN QUOTES)

Probability Distribution Apps

These can be used to find probabilities or to find quantiles. All apps provide a visulization with appropriate regions of the distribution shown.

  • stdnormal: The standard normal distribution

  • binomial: The binomial distribution

  • tdist: The student's t distribution (central t)

  • chisqdist: The Chi squared distribution

  • fdist: The F distribution

Univariate Descriptive Statistics and Graphical depiction (EDA)

Examples of univariate plot types and several data sets.

  • describe: Visualize several types of frequency histograms, boxplots, violinplots, etc

Sums of Squares

Visualize the Sums of Squares and Variance calculation

  • vizualizess: A geometric approach to understanding Sums of Squares and Variance

Sampling Distribution Simulation

Visualize sampling distributions of several descriptive statistics using differing initial random variable distributions.

  • sampdist: Simulate sampling distributions of several descriptive statistics

Visualize distribution overlap and effect sizes for two populations

  • effectsizes_overlap: Examine overlap indices and visualize normal distribution overlap

Visualize P value distributions under various hypotheses

  • pvaluedistribution: Simulate sampling distributions P values for a one sample test

Confidence Interval Visualization

Visualize confidence intervals, "in the long run":

  • confidence: Simulate confidence intervals based on either t or z distributions

  • ci_overlap: Confidence Interval Overlap and - p values - Inference by eye?

Type I and II error visualization

Visualize null and alternative sampling distributions of various characteristics and consequent Type I and II error rates:

  • betaprob: Simulate overlapping null/alternative sampling distributions to visualize Type I and II error rates

Correlation/Regression Simulation Apps

Simulate bivariate data and visualize the components of bivariate correlation/covariance and simple regression:

  • rectangles: Visualize the Covariance/SP components

  • corrsim: Simulate bivariate correlation and simple regression. Visualize yhats.

Trend Analysis

Visualize components of orthogonal polynomial trend:

  • trend: Simulate application of orthogonal polynomial trend to a one-factor ANOVA design.

Interaction and Moderation

Visualize interactions, moderator effects, simple effects:

  • mod2: In two-IV linear models (regression and ANOVA), visualize two-way interactions with simple effects, simple slopes, and regression surfaces.

Author(s)

Bruce Dudek bruce.dudek@albany.edu

Examples


## Not run: 
runshinyApp("stdnormal")
# to see the list of available apps
runshinyApp()

## End(Not run)

bcdudek/bcdstats documentation built on Jan. 3, 2024, 10:09 p.m.