Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: