[R] plot - central limit theorem

Yihui Xie xieyihui at gmail.com
Sun Oct 19 14:39:00 CEST 2008

Thanks, Duncan, I agree with you in terms of doing the tests
independently. I've modified the code and updated the package at

As for the choice of vertical bars or points, you are free to provide
the option "type = 'h'" or "type = 'p'" in the function.

Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China

On Fri, Oct 17, 2008 at 2:26 AM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> My suggestion (and this is a matter of taste) would be to do the tests
> independently, rather than using the same dataset plus new observations each
> time.  It is hard to understand the behaviour of p-values even without
> complicating things by giving a correlated sequence of them.
> And this is even more a matter of taste:  I'd plot the p-values as points,
> not as vertical bars.  Showing that a p-value of 0.8 is twice as big as a
> p-value of 0.4 isn't useful for interpreting them.
> Duncan Murdoch

More information about the R-help mailing list