Description

judge if the data obeys degenerate distribution.

Usage

1

Arguments

x

data

Details

Given a set of observations from a certain distribution, this function is used to test whether the observations are from a distribution of Degenerate distribution or not. Usually, to ensure the function works well, the sample size needs to be large enough, i.e. the result will be stable if the sample size is larger than 100.

Value

if the data possibly obeys degenerate distribution, return a value named qchisq which represents the possibility. the larger qchisq is, the larger the possibility will be; else return -1.

Note

please pay attention to the definition of parameters in our functions.