Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: