PHP Class MathPHP\Probability\Distribution\Continuous\StandardNormal

This is a special case when μ = 0 and σ = 1,
Inheritance: extends Continuous
Exibir arquivo Open project: markrogoyski/math-php Class Usage Examples

Public Methods

Method Description
CDF ( number $z ) : float Cumulative distribution function P value for a z score.
PDF ( number $z ) : float Probability density function
mean ( ) : integer Mean of the distribution

Method Details

CDF() public static method

Cumulative distribution function P value for a z score.
public static CDF ( number $z ) : float
$z number random variable
return float f(z|μ,σ)

PDF() public static method

Probability density function
public static PDF ( number $z ) : float
$z number random variable
return float f(z|μ,σ)

mean() public static method

μ = 0
public static mean ( ) : integer
return integer 0