


% -*- texinfo -*-
% @deftypefn {Function File} {[@var{m}, @var{v}] =} tstat (@var{n})
% Compute mean and variance of the t (Student) distribution.
%
% @subheading Arguments
%
% @itemize @bullet
% @item
% @var{n} is the parameter of the t (Student) distribution. The elements
% of @var{n} must be positive
% @end itemize
%
% @subheading Return values
%
% @itemize @bullet
% @item
% @var{m} is the mean of the t (Student) distribution
%
% @item
% @var{v} is the variance of the t (Student) distribution
% @end itemize
%
% @subheading Example
%
% @example
% @group
% n = 3:8;
% [m, v] = tstat (n)
% @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