Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
LICENSE.txt
README.md
Rallfun-v30.txt
paired_example.RData
rgar_stats.txt
rgar_utils.txt
rgar_visualisation.txt
typical_difference_demo.R
wilcox_modified.txt

README.md

R code for my blog post on difference distributions: https://garstats.wordpress.com/2016/07/19/typical-differences/

typical_difference_demo.R generates all the figures presented in the post.

All the dependencies are listed at the beginning of the file: in addition to packages ggplot2, cowplot & tidyr, a few house-made toolboxes are provided as text files.

The main R functions are available on Rand Wilcox’s website - I’ve included the official current version, as of writing, as Rallfun-v30.txt. Most functions were covered in previous posts, except for these functions on the asymmetry of difference distributions:

  • independent groups cbmhd qwmwhd
  • dependent groups Dqdif difQpci difQplot

Datasets are either generated in the demo file, or loaded from an .rds file - ensure all the files in this folder are in your working directory.