Some minor comments [Power / Sample Size]
❝ My checks with your code against the tables in the Joulious book show total agreement for the parallel group design as well as for the 2x2 crossover.
I also checked against these tables, but I do not always get the same result as in the table. For example, using
w=0.5*0.2, sigma=0.2, design="2x2", alpha=0.05, gamma=0.05
(i.e. delta=0.5) I get 46. Julious has 45. I do get the same results if the design is "paired", but Julious obviously is talking about cross-over (df = n-2)?!
Sorry, that's just because we increase n by step. 45 is the result if we increase by 1.
Edit: Added from a follow-up post; you may edit your post within 24 hours. [Helmut]
Complete thread:
- Trials to a given precision; Sample size Ben 2011-11-14 19:16
- Sample size for a given precision of CI d_labes 2011-11-16 09:40
- Sample size for a given precision of CI Ben 2011-11-18 16:57
- Sample size for a given precision of CI Ben 2011-11-21 19:13
- Some minor comments d_labes 2011-11-22 15:37
- Some minor comments Ben 2011-11-23 21:12
- Some minor commentsBen 2011-11-25 17:28
- Using undocumented functions - PowerTOST v0.9-0 d_labes 2011-12-15 09:28
- Using undocumented functions - PowerTOST v0.9-0 Ben 2011-12-16 19:06
- Using undocumented functions - PowerTOST v0.9-0 d_labes 2011-12-15 09:28
- Some minor commentsBen 2011-11-25 17:28
- Some minor comments Ben 2011-11-23 21:12
- Some minor comments d_labes 2011-11-22 15:37
- Sample size for a given precision of CI Ben 2011-11-21 19:13
- Sample size for a given precision of CI Ben 2011-11-18 16:57
- Sample size for a given precision of CI d_labes 2011-11-16 09:40
