You can use probchi() to generate the data points, then use
proc gplot to draw the curve:
do x=0 to 20 by 0.1;
proc gplot data=xx;
On Mon, 16 Aug 2010 12:38:50 -0400, Randall Powers <powers_r@BLS.GOV> wrote:
>I've been asked to generate a graph with four overlad density plots.
>One plot will be for a chi-square distribution with two degrees of freedom,
>one for four degrees of freedom, one for eight degrees of freedom and one
>for 16 degrees of freedom.
>My question is: Does SAS have some kind of function relevant to the Chi
>squared density plot that will make this simpler than coding up the
>textbook definition of f(x) for x>0? Using SAS Help online and using the
>Google turned up nothing.