Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
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: