This function is used to estimate the magnitude needed for a certain direction to achieve 80% power for a proposed alternative.
Useful links