Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\Math\Statistic\Variance Class Reference

Static Public Member Functions

static population (array $population)
 Population variance Use when all possible observations of the system are present.
 

Member Function Documentation

◆ population()

static Phpml\Math\Statistic\Variance::population ( array $population)
static

Population variance Use when all possible observations of the system are present.

If used with a subset of data (sample variance), it will be a biased variance.

 ∑⟮xᵢ - μ⟯²

σ² = -------— N


The documentation for this class was generated from the following file: