Statistics Toolbox | ![]() ![]() |
Mean and variance for the F distribution
Syntax
Description
[M,V] = fstat(V1,V2)
returns the mean and variance for the F distribution with parameters specified by V1
and V2
. Vector or matrix inputs for V1
and V2
must have the same size, which is also the size of M
and V
. A scalar input for V1
or V2
is expanded to a constant matrix with the same dimensions as the other input.
The mean of the F distribution for values of 2 greater than 2 is
The variance of the F distribution for values of 2 greater than 4 is
The mean of the F distribution is undefined if 2 is less than 3. The variance is undefined for
2 less than 5.
Examples
fstat returns NaN
when the mean and variance are undefined.
See Also
![]() | frnd | fsurfht | ![]() |