loc0.test: Log-likelihood ratio test for zero location parameter
Description
Log-likelihood ratio test for zero location parameter.
Usage
loc0.test(y, tol = 1e-7)
Value
A vector with the test statistic and its associated p-value.
Arguments
y
A vector with integer values.
tol
The tolerance value to terminate the maximization algorithm.
Author
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Details
We perform a log-likelihood ratio test to test whether the location parameter can be assumed zero or not.
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.