From this definition, d and n can be calculated as follows:
where Φ() is the standard normal cumulative distribution function and Z1-d/n is the (1 - d/n)th quantile from the standard normal distribution.

Help created on 7/12/2018