Exact or not, that‘s the question [Power / Sample Size]
❝ The only thing I wanted to conclude here is that nQuery does not use AS 243 and I wanted so see whether nQuery uses AS 184 or not.
Actually we simply don’t know. Couldn’t find a hint in the code… Are you good in reverse-engineering?
❝ For the latter one would need a C lib or something similar (yeh I like C ).
Rather a decompiler.

❝ […] but let me ask two more things.
❝ First, there still are some discrepancies, e.g. in case of T/R=1, CV=7.5% (see e.g. #4266): for n=4 power.TOST "exact" gives 0.7290143 whereas nQuery gives 0.71559 (for n=6: 0.9869919 vs. 0.97943). I guess it's just not the same exact method that is implemented? (rounding?)
No idea.

❝ Secondly, on your lecture slide 33 (see above) you wrote Diletti et al. (1991) uses method "noncentr. t" and algorithm "Owen's Q". Shouldn't it then be method "exact"?
Well, cough. This presentation is history. I’m not a fan of rewriting the past.
In future presentations I will try to make it more clear…
- Strictly speaking the ‘exact’ method based on Owen’s Q is also numeric approximation of the difference of two integrals of the bivariate noncentral t (which are not solvable in closed form).
- Methods based on the noncentral t (approximating the above).
- Methods based on the shifted t (approximating the above).
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Exact and approximate method Ben 2012-03-02 15:12 [Power / Sample Size]
- Sorry for the confusion caused Helmut 2012-03-02 17:21
- Thanks for clarifying Ben 2012-03-02 18:14
- Owen’s Q (Anders, are you there?) Helmut 2012-03-02 19:38
- Owen’s Q Ben 2012-03-03 13:35
- Exact or not, that‘s the questionHelmut 2012-03-03 15:34
- Owen’s Q implementation issues d_labes 2012-03-13 12:01
- Owen’s Q implementation issues Ben 2012-03-13 21:52
- Owen’s Q Ben 2012-03-03 13:35
- Owen’s Q (Anders, are you there?) Helmut 2012-03-02 19:38
- Sorry for the confusion caused ElMaestro 2012-03-04 21:56
- Sorry for the confusion caused Helmut 2012-03-05 01:57
- AS 184 without wasting bucks d_labes 2012-03-05 15:28
- Thanks for clarifying Ben 2012-03-02 18:14
- PowerTOST_0.9-4 on CRAN now d_labes 2012-03-05 15:17
- Sorry for the confusion caused Helmut 2012-03-02 17:21