I want to draw one graph with cdfs of the standardized chi-square distribution with degrees of freedom $df \in {1, 3, 5, 10, 100}$.
I know that the standardized chi-square distribution is given by
$$T=\frac{\chi^{2}_{df}-df}{\sqrt{2df}}$$
I tried drawing the chi-square distribution on one plot using lines(),
z_score <- seq(-3,3,by=0.1)
plot((pchisq(z_score,10)-10)/(sqrt(2*10)),type = "l")
lines((pchisq(z_score,5)-5)/(sqrt(2*5)))
lines((pchisq(z_score,100)-100)/(sqrt(2*100)))
lines((pchisq(z_score,3)-3)/(sqrt(2*3)))
lines((pchisq(z_score,1)-1)/(sqrt(2*1)))
but the lines are not adding in. It's not the case of different limits on the axis I think. Can you help me?
