Skip to content

Samsara\Fermat\Stats\Types > DiscreteDistribution

No description available

Inheritance

Extends

  • Samsara\Fermat\Stats\Types\Distribution

Methods

Instanced Methods

public DiscreteDistribution->pmf(Samsara\Fermat\Core\Types\Decimal|string|int|float $k, int $scale)

pmf

$k

type
Samsara\Fermat\Core\Types\Decimal|string|int|float
description
No description available

$scale

type
int
description
No description available

return

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

Inherited 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