View source: R/perm.elcortest.R
| Permutation based EL and EEL test for a correlation coefficient | R Documentation | 
Permutation based EL and EEL test for a correlation coefficient.
perm.elcortest(y, x, tol = 1e-07, B = 999)
perm.eelcortest(y, x, tol = 1e-07, B = 999)
| y | A numerical vector. | 
| x | A numerical vector. | 
| tol | The tolerance vlaue to terminate the Newton-Raphson algorithm. | 
| B | The numer of permutations to perform. | 
These functions compute the permutation based p-value for the hypothesis test that the Pearson correlation coefficient is equal to zero using the empirical likelihood or the exponential empirical likelihood.
A vector with two values, the test statistic and its associated permutation based p-value.
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Efron B. (1981) Nonparametric standard errors and confidence intervals. Canadian Journal of Statistics, 9(2): 139–158.
Owen A. B. (2001). Empirical likelihood. Chapman and Hall/CRC Press.
 el.cor.test, permcor
perm.eelcortest( iris[, 1], iris[, 2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.