Calculate the variance of a Net Promoter Score

Description

This function calculates the Net Promoter Score variance, taking a vector of length three, with numbers or proportions of Detractors, Passives, and Promoters, respectively.

Usage

1
npvar(x)

Arguments

x

A vector of length three, with numbers or proportions of Detractors, Passives, and Promoters, respectively

Value

numeric. The variance of the distribution, ranging from 0 to 1.

Author(s)

Brendan Rocks rocks.brendan@gmail.com

See Also

nps.var, a version which works on raw Recommend responses