Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 186 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Variances:: (4 methods):
  VAR()
  VARA()
  VARP()
  VARPA()


Class: Variances  - X-Ref

VAR(...$args)   X-Ref
VAR.

Estimates variance based on a sample.

Excel Function:
VAR(value1[,value2[, ...]])

param: mixed ...$args Data values
return: float|string (string if result is an error)

VARA(...$args)   X-Ref
VARA.

Estimates variance based on a sample, including numbers, text, and logical values

Excel Function:
VARA(value1[,value2[, ...]])

param: mixed ...$args Data values
return: float|string (string if result is an error)

VARP(...$args)   X-Ref
VARP.

Calculates variance based on the entire population

Excel Function:
VARP(value1[,value2[, ...]])

param: mixed ...$args Data values
return: float|string (string if result is an error)

VARPA(...$args)   X-Ref
VARPA.

Calculates variance based on the entire population, including numbers, text, and logical values

Excel Function:
VARPA(value1[,value2[, ...]])

param: mixed ...$args Data values
return: float|string (string if result is an error)