Excel DISTF equivalent in R

Asked

Viewed 83 times

2

I wonder if there is in the software R a function similar to the function of the software Excel, DISTF?

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

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

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

1 answer

5


if you want the distribution function, you can do:

pf(8.49,1,40, lower.tail=FALSE)
0.00582054498262771

Browser other questions tagged

You are not signed in. Login or sign up in order to post.