Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nr_bins_equipartition

Function for selecting the default number of atoms for equipartition


Description

Function selects the default number of atoms by sample size, being min(n,60+0.5*floor(sqrt(n)))

Usage

nr_bins_equipartition(n)

Arguments

n

Sample size

Details

Function returns the default number of atoms (bins of sample space partition) for tests performed over a large number of observations. The default number of atoms is min(n,60+0.5*floor(sqrt(n))).

Value

Default number of atoms by sample size.

Author(s)

Barak Brill

Examples

nr_bins_equipartition(100)

HHG

Heller-Heller-Gorfine Tests of Independence and Equality of Distributions

v2.3.2
GPL-3
Authors
Barak Brill & Shachar Kaufman, based in part on an earlier implementation by Ruth Heller and Yair Heller.
Initial release
2019-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.