descriptiveSummary {gbs}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.

Sample coefficient of variation (CV):

mbox{CV}=frac{S}{overline{X}}times 100 quad (rm{in} %).

Sample coefficient of skewness (CS):

mbox{CS}=frac{1}{n}frac{sum_{i=1}^{n}(X_i-overline{X})^3}{S^3}.

Sample coefficient of kurtosis (CK):

mbox{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)

Barros, Michelli <michelli.karinne@gmail.com>
Leiva, Victor <victor.leiva@uv.cl, victor.leiva@yahoo.com>
Paula, Gilberto A. <giapaula@ime.usp.br>

Examples

## Generates a sample from the GBSD with normal kernel
x <- rgbs(300, alpha = 1.0, beta = 1.0, nu = 1.0, kernel = "normal")

## Produces a descriptive statistics of the data x
descriptiveSummary(x)

[Package gbs version 1.0 Index]