Load packages library(tidyverse) Simulation based inference Simulation based inference (SBI) is an elegant way of subsuming a wide array of statistical (inference) methods under one umbrella. In addition, its simple thereby helping learners getting to the grips. Here’s a summary of the central ideas. However, this post does not aim at explaining simulation based inference, which is done elsewhere. Testing the association of two categorical variables One application of statistical tests – simulation based or classical – is testing the association of two categorical …