loc0.test {CCd} | R Documentation |
Log-likelihood ratio test for zero location parameter
Description
Log-likelihood ratio test for zero location parameter.
Usage
loc0.test(y, tol = 1e-7)
Arguments
y |
A vector with integer values. |
tol |
The tolerance value to terminate the maximization algorithm. |
Details
We perform a log-likelihood ratio test to test whether the location parameter can be assumed zero or not.
Value
A vector with the test statistic and its associated p-value.
Author(s)
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
References
Papadatos N. (2022). The characteristic function of the discrete Cauchy distribution In Memory of T. Cacoullos. Journal of Statistical Theory and Practice, 16(3): 47.
See Also
Examples
y <- round( rcauchy(100, 3, 10) )
loc0.test(y)
y <- round( rcauchy(100, 0, 10) )
loc0.test(y)
[Package CCd version 1.1 Index]