Re: [R] empirical null distribution

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue, 29 Apr 2008 06:41:31 -0400

On 29/04/2008 4:13 AM, mad_bassie wrote:
> It's not really homework :)
> It's just an a little extra I want to explore.
> I allready compared the empirical null distribution and the theoritical null
> distribution by comparing their quantiles. The results are clear... But I
> just wondered if there isn't any way to make a graph of it...so you don't
> really need to compare numbers...that the image speaks for itself.
> I'm kind of a newbie in "R"...I did learn many things allready but this
> graphics stuff is kind of complex to me...

QQ plots are a natural way to compare distributions.

You didn't say what statistic you are using, but if you are working with p-values, the theoretical null is probably uniform, so a simple histogram is useful.

Duncan Murdoch



R-help_at_r-project.org mailing list
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. Received on Tue 29 Apr 2008 - 10:44:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Apr 2008 - 12:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive