Samsara\Fermat\Stats\Types > Distribution
No description available
Methods
Instanced Methods
public Distribution->randomSample(int $sampleSize)
randomSample
$sampleSize
- type
- int
- description
return
- type
- Samsara\Fermat\Core\Types\NumberCollection
- description
- No description available
public Distribution->rangeRandom(int|float|string|Decimal $min, int|float|string|Decimal $max, int $maxIterations)
rangeRandom
$min
- type
- int|float|string|Decimal
- description
- No description available
$max
- type
- int|float|string|Decimal
- description
- No description available
$maxIterations
- type
- int
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->cdf(int|float|string|Decimal $x, int $scale)
cdf
$x
- type
- int|float|string|Decimal
- description
- No description available
$scale
- type
- int
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->getMean()
getMean
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->getMedian()
getMedian
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->getMode()
getMode
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->getVariance()
getVariance
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Distribution->random()
random
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available