Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stats_cdf_beta(3) [php man page]

STATS_CDF_BETA(3)							 1							 STATS_CDF_BETA(3)

stats_cdf_beta - CDF function for BETA Distribution. Calculates any one parameter of the beta distribution given values for the others.

SYNOPSIS
float stats_cdf_beta (float $par1, float $par2, float $par3, int $which) DESCRIPTION
Method Cumulative distribution function (P) is calculated directly by code associated with the following reference. DiDinato, A. R. and Morris, A. H. Algorithm 708: Significant Digit Computation of the Incomplete Beta Function Ratios. ACM Trans. Math. Softw. 18 (1993), 360-373. Computation of other parameters involve a search for a value that produces the desired value of P. The search relies on the mono- tonicity of P with the other parameter. Note The beta density is proportional to t^(A-1) * (1-t)^(B-1) Arguments P -- The integral from 0 to X of the chi-square distribution. Input range: [0, 1]. Q -- 1-P. Input range: [0, 1]. P + Q = 1.0. X -- Upper limit of integration of beta density. Input range: [0,1]. Search range: [0,1] Y -- 1-X. Input range: [0,1]. Search range: [0,1] X + Y = 1.0. A -- The first parame- ter of the beta density. Input range: (0, +infinity). Search range: [1D-100,1D100] B -- The second parameter of the beta density. Input range: (0, +infinity). Search range: [1D-100,1D100] STATUS -- 0 if calculation completed correctly -I if input parameter number I is out of range 1 if answer appears to be lower than lowest search bound 2 if answer appears to be higher than greatest search bound 3 if P + Q .ne. 1 4 if X + Y .ne. 1 BOUND -- Undefined if STATUS is 0 Bound exceeded by parameter number I if STATUS is negative. Lower search bound if STATUS is 1. Upper search bound if STATUS is 2. PARAMETERS
o $par1 - o $par2 - o $par3 - o $which - Integer indicating which of the next four argument values is to be calculated from the others. Legal range: 1..4 which = 1 : Calculate P and Q from X,Y,A and B which = 2 : Calculate X and Y from P,Q,A and B which = 3 : Calculate A from P,Q,X,Y and B which = 4 : Calculate B from P,Q,X,Y and A RETURN VALUES
STATUS -- 0 if calculation completed correctly -I if input parameter number I is out of range 1 if answer appears to be lower than lowest search bound 2 if answer appears to be higher than greatest search bound 3 if P + Q .ne. 1 4 if X + Y .ne. 1 PHP Documentation Group STATS_CDF_BETA(3)

Check Out this Related Man Page

std::uniform_real_distribution< _RealType >(3cxx)						 std::uniform_real_distribution< _RealType >(3cxx)

NAME
std::uniform_real_distribution< _RealType > - SYNOPSIS
Classes struct param_type Public Types typedef _RealType result_type Public Member Functions uniform_real_distribution (_RealType __a=_RealType(0), _RealType __b=_RealType(1)) uniform_real_distribution (const param_type &__p) result_type a () const result_type b () const result_type max () const result_type min () const template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng) template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng, const param_type &__p) param_type param () const void param (const param_type &__param) void reset () Detailed Description template<typename _RealType = double>class std::uniform_real_distribution< _RealType > Uniform continuous distribution for random numbers. A continuous random distribution on the range [min, max) with equal probability throughout the range. The URNG should be real-valued and deliver number in the range [0, 1). Definition at line 1782 of file random.h. Member Typedef Documentation template<typename _RealType = double> typedef _RealType std::uniform_real_distribution< _RealType >::result_type The type of the range of the distribution. Definition at line 1789 of file random.h. Constructor &; Destructor Documentation template<typename _RealType = double> std::uniform_real_distribution< _RealType >::uniform_real_distribution (_RealType__a = _RealType(0), _RealType__b = _RealType(1)) [inline], [explicit] Constructs a uniform_real_distribution object. Parameters: __min [IN] The lower bound of the distribution. __max [IN] The upper bound of the distribution. Definition at line 1828 of file random.h. Member Function Documentation template<typename _RealType = double> result_type std::uniform_real_distribution< _RealType >::max () const [inline] Returns the inclusive upper bound of the distribution range. Definition at line 1880 of file random.h. template<typename _RealType = double> result_type std::uniform_real_distribution< _RealType >::min () const [inline] Returns the inclusive lower bound of the distribution range. Definition at line 1873 of file random.h. template<typename _RealType = double> template<typename _UniformRandomNumberGenerator > result_type std::uniform_real_distribution< _RealType >::operator() (_UniformRandomNumberGenerator &__urng) [inline] Generating functions. Definition at line 1888 of file random.h. References std::uniform_real_distribution< _RealType >::operator()(), and std::uniform_real_distribution< _RealType >::param(). Referenced by std::uniform_real_distribution< _RealType >::operator()(). template<typename _RealType = double> param_type std::uniform_real_distribution< _RealType >::param () const [inline] Returns the parameter set of the distribution. Definition at line 1858 of file random.h. Referenced by std::uniform_real_distribution< _RealType >::operator()(), std::operator==(), and std::operator>>(). template<typename _RealType = double> void std::uniform_real_distribution< _RealType >::param (const param_type &__param) [inline] Sets the parameter set of the distribution. Parameters: __param The new parameter set of the distribution. Definition at line 1866 of file random.h. template<typename _RealType = double> void std::uniform_real_distribution< _RealType >::reset () [inline] Resets the distribution state. Does nothing for the uniform real distribution. Definition at line 1844 of file random.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::uniform_real_distribution< _RealType >(3cxx)
Man Page