Description Usage Arguments Details Value Author(s) References Examples
This function computes Standard Deviation for quantifying diversity as separation.
1 | std.deviation(X, min, max)
|
X |
A numeric vector with group data. |
min |
The minimum value for the random variable. |
max |
The maximum value for the random variable. |
std.deviation
computes Standard Deviation for a group. It also provides maximum values for the statistic and normalized Standard Deviation.
The function returns a list of class deviation
with following
components:
call |
Function call. |
data |
Original data vector. |
min |
Minimum value for the random variable. |
max |
Maximum value for the random variable. |
std.dev |
Standard Deviation. |
std.dev.max |
Maximum value of Standard Deviation. |
std.dev.norm |
Normalized value of Standard Deviation. |
Antonio Solanas, Rejina M. Selvam, Jose Navarro and David Leiva.
Solanas, A., Selvam, R. M., Navarro, J., & Leiva, D. (2010). On the measurement of diversity in organizations. Unpublished manuscript.
1 2 3 4 5 6 7 8 9 10 11 | g.3 <- c(1,1,9)
std.deviation(g.3,1,9)
g.4 <- c(2,4,5,6)
std.deviation(g.4,1,9)
g.5 <- c(rep(1,2),rep(9,3))
std.deviation(g.5,1,9)
g.10 <- c(rep(1,4),rep(9,5),2)
std.deviation(g.10,1,9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.