Date: Wed, 14 Dec 2005 10:17:56 -0600
Reply-To: "Swank, Paul R" <Paul.R.Swank@UTH.TMC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Swank, Paul R" <Paul.R.Swank@UTH.TMC.EDU>
Subject: Re: how to draw f test function using sas?
Content-Type: text/plain; charset="us-ascii"
try this. You vary the df as needed. dfn = df for numerato, dfd = df for
denominator. If you need to go out further, just increase the upper end
of the loop. If you want cummulative probability, replace the p = by p =
This assumes a central F distribution.
dfn = 1;
dfd = 100;
do F = .1 to 10 by .1;
p = probf(F+.05,dfn,dfd)- probf(F-.05,dfn,dfd);
symbol i=join r=120;
plot p*f / nolegend vminor=1 hminor=0;
by dfn dfd;
Paul R. Swank, Ph.D.
Professor, Developmental Pediatrics
Director of Research, Center for Improving the Readiness of Children for
Learning and Education (C.I.R.C.L.E.)
UT Health Science Center at Houston
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Wednesday, December 14, 2005 1:25 AM
Subject: how to draw f test function using sas?
Is there anyone who can tell me how to draw a f-test curve using sas?