simulation

A 1-post collection

Simulating Distribution Equivalence

By Conor Neilson |  Sep 13, 2024  | r, simulation
Been a long time since I did any simulation in R! Today I was presented with a nice opportunity too. I received a message from my brother today saying “sqrt(rand()) gives you the same probabilities as max(rand(), rand()) assuming rand() returns a number between 0 and 1.” I was immediately intrigued as this didn’t make intuitive sense to me. However, no need for intuition! This is a data-driven blog, so lets look at this in a data-driven way.
Continue Reading...