I wish to be able to visualize the rejection area in R for a one- and two-tailed p-value of 0.05
in the following chi-squared density curve:
curve(dchisq(x,24), xlim=c(5,50), ylim=c(0,.06))
It will also be great if anybody has a generic way to do it for other test statistics as well.
Thanks in advance
Tonio