Tag Archives: curves

dchisq and dnorm Plots

I tried this for plotting out some chi-square distributions with various df and it seemed to work out: s<-seq(0,25,.01) plot(s,dchisq(s,2),type=”l”,lwd=2,col=”dodgerblue4″) lines(s,dchisq(s,5),type=”l”,lwd=2,col=”green1″) lines(s,dchisq(s,10),type=”l”,lwd=2,col=”orange1″) This should look something like this: Here’s something similar for a normal distribution (notice that I use slightly … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment