chi2testuniform {detpack}R Documentation

Goodness-of-Fit Test for Uniform Distribution

Description

Pearson's Chi-square test for goodness-of-fit of a uniform distribution.

Usage

chi2testuniform(x, alpha)

Arguments

x

vector with normalized data between 0 and 1.

alpha

significance level.

Value

Object with test outcome h = TRUE/FALSE meaning rejection/acceptance of uniform null hypothesis, and p-value or confidence level of acceptance.


[Package detpack version 1.1.3 Index]