Hi, why is it that in tables for the F distribution it is for example F0.95[6,28]=2.45 or F0.95[10,20]=2.35 but > pf(6,28,2.45) [1] 0.8854934 > pf(10,20,2.35) [1] 0.9300167 Thanks for clarifying, jeorg
... because that should have been:> pf(2.45, 6, 28)[1] 0.9503618> pf(2.35, 10, 20)[1] 0.950176 When arguments are not named, the order is significant. Andy> From: Joerg Schaber > > Hi, > > why is it that in tables for the F distribution it is for example > > F0.95[6,28]=2.45 or F0.95[10,20]=2.35 > > but > > > pf(6,28,2.45) > [1] 0.8854934 > > pf(10,20,2.35) > [1] 0.9300167 > > Thanks for clarifying, > > jeorg > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
Hello, the order of argument is not the correct one: p(2.45,6,28) [1] 0.9503618 P.A. On Thu, 19 Feb 2004, Joerg Schaber wrote:> Hi, > > why is it that in tables for the F distribution it is for example > > F0.95[6,28]=2.45 or F0.95[10,20]=2.35 > > but > > > pf(6,28,2.45) > [1] 0.8854934 > > pf(10,20,2.35) > [1] 0.9300167 > > Thanks for clarifying, > > jeorg > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Joerg Schaber wrote:> Hi, > > why is it that in tables for the F distribution it is for example > > F0.95[6,28]=2.45 or F0.95[10,20]=2.35 > > but > > > pf(6,28,2.45) > [1] 0.8854934 > > pf(10,20,2.35) > [1] 0.9300167 > > Thanks for clarifying, > > jeorgWhat you are really going to do is: pf(2.45, 6, 28) # [1] 0.9503618 pf(2.35, 10, 20) # [1] 0.950176 Uwe Ligges