Home > freetb4matlab > statistics > poisstat.m

poisstat

PURPOSE ^

% Compute mean and variance of the Poisson distribution.

SYNOPSIS ^

function [m, v] = poisstat (lambda)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{m}, @var{v}] =} poisstat (@var{lambda})
% Compute mean and variance of the Poisson distribution.
%
% @subheading Arguments
%
% @itemize @bullet
% @item
% @var{lambda} is the parameter of the Poisson distribution. The
% elements of @var{lambda} must be positive
% @end itemize
%
% @subheading Return values
%
% @itemize @bullet
% @item
% @var{m} is the mean of the Poisson distribution
%
% @item
% @var{v} is the variance of the Poisson distribution
% @end itemize
%
% @subheading Example
%
% @example
% @group
% lambda = 1 ./ (1:6);
% [m, v] = poisstat (lambda)
% @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 Fri 22-May-2009 15:13:00 by m2html © 2003