Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] Make sign test show test statistics

Johan A. Stenberg

2007-05-14

Replies:

When I perform a two-tailed sign test with the following simple syntax,

binom.test(59,100)

R returns a P-value (0.088) but nothing else. As I want the result for a
one-tailed test I take P/2 = 0.044). However, the journal to which I've
submitted my results requests the test statistics, not just the
P-values. How can I make R return the test statistics?

Best regards,
Johan Stenberg, Umea University, Sweden

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.