Example of testing for a difference in medians using bootstrapping
let's see if there's a difference in presets applied by platform
observationally there's some difference in the mean and median but not sure if it's statistically significant. we can check though
testing the means (welch's t test)
Generating the data for the median test
this generates a data frame of the samples based on the attributes we define
the distributions are normalish looking (play around with the number of samples and/or number of draws to see how the histograms change
this also a great example of how the CLT works
from here we can just run a regular t test on the average median from the sampled data