central_moments: Calculate Central Moments

Description Usage Arguments Value

View source: R/central_moment.R

Description

Calculate the unbiased estimates of a (univariate) sample's Mean, Variance, Skewness and Kurtosis

Usage

1
central_moments(x, exkurtosis = TRUE)

Arguments

x

a numeric vector

exkurtosis

if true, calculates the ex-kurtosis instead of the kurtosis (subtract 3 from the kurtosis, to ensure the kurtosis of a Gaussian RV is 0). default True

Value

a named numeric vector consisting of the estimates for the first four centralized moments.


itamarfaran/corrfuncs documentation built on Nov. 26, 2021, 12:02 p.m.