Description Usage Arguments Value Warning Author(s) References See Also Examples
This function computes the Coefficient of Variation for a vector of observations and corresponding weights.
1 | weighted.coeffvar(x, w)
|
x |
a vector of observations. |
w |
a vector of weights. |
cv |
returns the coefficient of variation without bias correction. |
bccv |
returns the coefficient of variation with bias correction. |
Weighting is not properly accounted for in the sample adjustment of bccv!
Alexander Sohn
Atkinson, A.B. and Bourguignon, F. (2000): Income Distribution and Economics, in: Atkinson and Bourguignon (eds.), Handbook of Income Distribution, pp. 1-86, Elsevier, Amsterdam.
1 2 3 4 |
Loading required package: gamlss
Loading required package: splines
Loading required package: gamlss.data
Attaching package: 'gamlss.data'
The following object is masked from 'package:datasets':
sleep
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
********** GAMLSS Version 5.1-3 **********
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'Hmisc'
The following objects are masked from 'package:base':
format.pval, units
[1] "Warning: weighting is not properly accounted for in the sample adjustment of bccv!!"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.