Excel DISTF Equivalent in R

2

I would like to know if there is a function similar to Excel function, DISTF in the R software?

The Excel DISTF function returns the F (right-tail) probability distribution (diversity level) for two sets of data. You can use this function to determine whether two sets of data have different degrees of diversity.

DISTF is calculated as DISTF =P( F>x ) , where F is a random variable that has a F distribution with graus_liberdade1 and graus_liberdade2 freedom.

Example: DISTF = 8,49;1;40 = 0,00582

    
asked by anonymous 16.02.2018 / 21:15

1 answer

5

If you want the distribution function, you can do:

pf(8.49,1,40, lower.tail=FALSE)
0.00582054498262771
    
16.02.2018 / 23:54