1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
x=seq(0, 1000)/100 plot(x, dchisq(x, df=2), cex=0.3) pchisq(24, df=2) p = 1-pchisq(24, df=2) p