ds.kurtosis: Kurtosis

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Computes the kurtosis of a given vector.

Usage

1
ds.kurtosis(x = NULL, datasources = NULL)

Arguments

x

a character, the name of a numerical vector

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as data frame, from opal datasources.

Details

Considering x[i] for elements of x and x* for their mean, so m[r] = ∑[i](x[i]-x*)^r/n is the sample moments of order r. Which ∑[i](x[i]-x*)^r is computed at each data node and combined by this function in the central node, also called client-side.

It is a wrapper for the server side function getKurtosis.

Value

return a numeric value.

Dependencies

getKurtosis, ds.arMean, ds.length

Author(s)

Paula Raissa Costa e Silva

Examples

1
2
3
{
kurt <- ds.kurtosis('D$birth_weight')
}

paularaissa/distStatsClient documentation built on June 19, 2019, 12:43 a.m.