Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

fpdf - F probability density function

Syntax

Y = fpdf(X,V1,V2)

Description

Y = fpdf(X,V1,V2) computes the F pdf at each of the values in X using the corresponding numerator degrees of freedom V1 and denominator degrees of freedom V2. X, V1, and V2 can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other inputs. The parameters in V1 and V2 must all be positive integers, and the values in X must lie on the interval [0 ∞).

The probability density function for the F distribution is

Examples

y = fpdf(1:6,2,2)
y =
  0.2500  0.1111  0.0625  0.0400  0.0278  0.0204

z = fpdf(3,5:10,5:10)
z =
  0.0689  0.0659  0.0620  0.0577  0.0532  0.0487

See Also

pdf, fcdf, finv, fstat, frnd

F Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS