descriptiveSummary {ig}R Documentation

Descriptive summary of the data

Description

The function descriptiveSummary() gives a descriptive statistics of the data.

Usage

  descriptiveSummary(x)

Arguments

x Vector of observations.

Details

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.

Value

The function descriptiveSummary() carries out a descriptive summary of the data

Author(s)

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>.

References

Sanhueza, A., Leiva, V., Balakrishnan, N. (2008). A new class of inverse Gaussian type distributions. Metrika (in press).

Examples

## 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)

[Package ig version 1.2 Index]