How do you calculate the correct sample size for a test, to achieve the correct "power"?
For more sophisticated tests, ones less likely to be seen in an A/B scenario, you might not be able to reverse the mathematics and get a direct answer, so often people will run simulation studies to guess at the needed sample size.
I wrote something about it here: http://www.databozo.com/2013/10/12/Finding_a_sample_size_for...
EDIT: typo