fcdf
F cumulative distribution function
Syntax
p = fcdf(x,v1,v2)
p = fcdf(x,v1,v2,'upper')
Description
p = fcdf(x,v1,v2)
computes the
F cdf 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 are
all the same size. A scalar input is expanded to a constant matrix with the same
dimensions as the other inputs. v1
and v2
parameters must contain real positive values, and the values in x
must lie on the interval [0 Inf]
.
p = fcdf(x,v1,v2,'upper')
returns the complement of the
F cdf at each value in x
, using an algorithm
that more accurately computes the extreme upper tail probabilities.
The F cdf is
The result, p, is the probability that a single observation from an F distribution with parameters ν1 and ν2 will fall in the interval [0 x].
Examples
Extended Capabilities
Version History
Introduced before R2006a