descriptiveSummary {ig} | R Documentation |
The function descriptiveSummary()
gives a descriptive statistics of the
data.
descriptiveSummary(x)
x |
Vector of observations. |
The function descriptiveSummary()
gives a descriptive statistics of the
data containing: mean (overline{x}), median, mode, standard deviation (s), coefficients of
variation, skewness and kurtosis, range, minimum, maximum and the number
de observations. This function uses the command searchMode()
that allows
to find the empirical mode of the data.
Coefficient of variation (CV):
CV=frac{s}{overline{x}}times 100 quad (rm{in} %).
Coefficient of skewness (CS):
CS=frac{1}{n}frac{sum_{i=1}^{n}(x_i-overline{x})^3}{s^3}.
Coefficient of kurtosis (CK):
CK=frac{1}{n}frac{sum_{i=1}^{n}(x_i-overline{x})^4}{s^4}-3.
The function descriptiveSummary()
carries out a descriptive summary of the data
Víctor Leiva <victor.leiva@uv.cl; victor.leiva@yahoo.com>,
Hugo Hernández <hugo.hernandez.p@gmail.com> and
Antonio Sanhueza <asanhueza@ufro.cl>.
Sanhueza, A., Leiva, V., Balakrishnan, N. (2008). A new class of inverse Gaussian type distributions. Metrika (in press).
## Generates a sample from the IGTD with normal kernel x <- rigt(300, mu = 1.0, lambda = 1.0, kernel = "normal") ## Produces a descriptive statistics of the data x descriptiveSummary(x)