Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get power.ACE.test() to print the value of the parameter being dropped #111

Closed
tbates opened this issue Mar 19, 2020 · 1 comment
Closed

Comments

@tbates
Copy link
Owner

tbates commented Mar 19, 2020

Be nice to print the original value of the parameter being tested in ACE power test.
(current output)

power.ACE.test(update= "a", value= sqrt(.2), AA= .5, CC= 0)

For 80% power you need 463 MZ and 463 DZ pairs
   method = ncp
        n = 926
    power = 0.8
sig.level = 0.05
statistic = LRT
@tbates
Copy link
Owner Author

tbates commented Mar 19, 2020

now says:

power.ACE.test(update= "a", value= sqrt(.2), AA= .5, CC= 0, try="no")

For 80% power to detect 'a_r1c1' of size 0.5, you need 463 MZ and 463 DZ pairs
   method = ncp
        n = 926
    power = 0.8
sig.level = 0.05
statistic = LRT

@tbates tbates closed this as completed Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant