[R] empirical null distribution

Duncan Murdoch murdoch at stats.uwo.ca
Tue Apr 29 12:41:31 CEST 2008

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

More information about the R-help mailing list