loc0.test | R Documentation |
Log-likelihood ratio test for zero location parameter.
loc0.test(y, tol = 1e-7)
y |
A vector with integer values. |
tol |
The tolerance value to terminate the maximization algorithm. |
We perform a log-likelihood ratio test to test whether the location parameter can be assumed zero or not.
A vector with the test statistic and its associated p-value.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
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.
cc.mle, dcc
y <- round( rcauchy(100, 3, 10) )
loc0.test(y)
y <- round( rcauchy(100, 0, 10) )
loc0.test(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.