% -*- texinfo -*- % @deftypefn {Function File} {[@var{m}, @var{v}] =} wblstat (@var{scale}, @var{shape}) % Compute mean and variance of the Weibull distribution. % % @subheading Arguments % % @itemize @bullet % @item % @var{scale} is the scale parameter of the Weibull distribution. % @var{scale} must be positive % % @item % @var{shape} is the shape parameter of the Weibull distribution. % @var{shape} must be positive % @end itemize % @var{scale} and @var{shape} must be of common size or one of them must be % scalar % % @subheading Return values % % @itemize @bullet % @item % @var{m} is the mean of the Weibull distribution % % @item % @var{v} is the variance of the Weibull distribution % @end itemize % % @subheading Examples % % @example % @group % scale = 3:8; % shape = 1:6; % [m, v] = wblstat (scale, shape) % @end group % % @group % [m, v] = wblstat (6, shape) % @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