Some stats demos
Usage
stat_demo_apps(
demo = c("paired ttest", "truncated correlation", "berksons paradox")
)
Details
paired ttest
Shows a paired vs un-paired ttest, and how these differences are affected by the correlation.
berksons paradox
Demo of how How sampling bias can affect estimated correlations and effects. See related Numberphile video.