Skip to content

varpa

Population variance including text and logicals.

v = varpa(value1, value2, ...)

Like var_p but counts text as 0 and logical TRUE as 1.

varpa(1, 2, 3, 'text')
  • var_p — Population variance (Excel-compatible).
  • vara — Sample variance including text and logicals.
  • stdevpa — Population standard deviation including text and logicals.