## Denmark Curiosa (1 in 90% CI in 0.8-1.25) [Power / Sample Size]

Dear zizou,

One minor comment to your code:
The number of sims you used (1e4 as far as I could see) is a little bit low. Especially if you come into regions with power <=0.05.

Another comment to the Danish requirement:
Already in the early days of the evolution of (bio)equivalence tests it was dicovered that another construction of the CI may be used, namely

CI+ = (low, 1)    if high is < 1 CI+ = (1, high)   if low is >1 CI+ = (low, high) if low is <=1 and high is >=1

where low and high are the conventional confidence interval limits.
This construction of the CI always contains GMR=1 and corresponds - like the conventional CI - to a size alpha TOST.
This observation makes the Danish requirement statistical nonsense.
Unfortunately this alternative CI hasn't got further support in the history.

Berger, Hsu
"Bioequivalence Trials, Intersection-Union Tests and Equivalence Confidence Sets"
Statist. Sci. Volume 11, Number 4 (1996), 283-319.

Regards,

Detlew