Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mattm
Created August 8, 2016 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattm/aa2ff32402e8912305fe963737877287 to your computer and use it in GitHub Desktop.
Save mattm/aa2ff32402e8912305fe963737877287 to your computer and use it in GitHub Desktop.
return "pass" if total_participants >= 10000
if gaussian?(participants_a, conversions_a) && gaussian?(participants_b, conversions_b)
if p_value(participants_a, conversions_a, participants_b, conversions_b) >= 0.99
return "yes"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment