Hello, guys
I wish you a nice holiday and you achieve your goals this year!
Now I know how to plot the power vs sample size curve for a two proportional test.
I wonder how we do the same thing for a non-inferiority test (H0 p1 not equals p2; Ha: p1 = p2)?
Thank you very much
I wish you a nice holiday and you achieve your goals this year!
Now I know how to plot the power vs sample size curve for a two proportional test.
Code:
# Two proportions (Fisher-Irwin's exact conditional test) power twoproportions 0.50 (0.40 0.30 0.20), n(50(50)500) test(fisher) oneside graph
Thank you very much
Comment