Learn R Programming

PCRA (version 1.2)

KRest: Kurtosis Estimator

Description

Sample estimate of excess kurtosis, with option for ordinary kurtosis. This function will eventually have a robust estimator option.

Usage

KRest(x, excess = TRUE)

Value

numeric value of excess kurtosis or ordinary kurtosis

Arguments

x

A numeric vector

excess

A logical variable with default TRUE, which results in the computation of excess kurtosis, and FALSE results ordinary kurtosis.

Examples

Run this code
args(KRest)

Run the code above in your browser using DataLab