fun.nclass.e: Estimates the number of classes or bins to smooth over in the...

fun.nclass.eR Documentation

Estimates the number of classes or bins to smooth over in the discretised method of fitting generalised lambda distribution to data.

Description

Support function for discretised method of fitting distribution to data.

Usage

fun.nclass.e(x)

Arguments

x

Vector of data.

Details

This function calculates the mean and variance of the discretised data from 1 to the very last observation and chooses the best number of categories that represent the mean and variance of the actual data set through the criterion of squared deviations.

Value

A numerical value suggesting the best number of class that can be used to represent the mean and variane of the original data set.

Note

This is not designed to be called directly by end user.

Author(s)

Steve Su

See Also

fun.disc.estimation

Examples

fun.nclass.e(rnorm(100,3,2))

GLDEX documentation built on Aug. 21, 2023, 9:08 a.m.

Related to fun.nclass.e in GLDEX...