Code for the choosing your randomization unit post - https://ianwhitestone.work/choosing-randomization-unit/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To anyone reading this who came from the blog post, there's two things in this code that I didn't actually talk about (because they'll be leveraged in a future post and I was too lazy to remove them):
run_simulation
function I have these arguments:This lets me specify a decay function that maps the relationship between sessions per user and conversion rate - i.e. something like this: