Home > freetb4matlab > statistics > fstat.m

fstat

PURPOSE ^

% Compute mean and variance of the F distribution.

SYNOPSIS ^

function [mn, v] = fstat (m, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{mn}, @var{v}] =} fstat (@var{m}, @var{n})
% Compute mean and variance of the F distribution.
%
% @subheading Arguments
%
% @itemize @bullet
% @item
% @var{m} is the first parameter of the F distribution. The elements
% of @var{m} must be positive
%
% @item
% @var{n} is the second parameter of the F distribution. The
% elements of @var{n} must be positive
% @end itemize
% @var{m} and @var{n} must be of common size or one of them must be scalar
%
% @subheading Return values
%
% @itemize @bullet
% @item
% @var{mn} is the mean of the F distribution. The mean is undefined for
% @var{n} not greater than 2
%
% @item
% @var{v} is the variance of the F distribution. The variance is undefined
% for @var{n} not greater than 4
% @end itemize
%
% @subheading Examples
%
% @example
% @group
% m = 1:6;
% n = 5:10;
% [mn, v] = fstat (m, n)
% @end group
%
% @group
% [mn, v] = fstat (m, 5)
% @end group
% @end example
%
% @subheading References
%
% @enumerate
% @item
% Wendy L. Martinez and Angel R. Martinez. @cite{Computational Statistics
% Handbook with MATLAB}. Appendix E, pages 547-557, Chapman & Hall/CRC,
% 2001.
%
% @item
% Athanasios Papoulis. @cite{Probability, Random Variables, and Stochastic
% Processes}. McGraw-Hill, New York, second edition, 1984.
% @end enumerate
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003