View source: R/hermite_estimator.R
spearmans | R Documentation |
This method utilizes the estimator (8) in the paper Stephanou, Michael and Varughese, Melvin. "Sequential estimation of Spearman rank correlation using Hermite series estimators." Journal of Multivariate Analysis (2021) <doi:10.1016/j.jmva.2021.104783> to calculate the Spearman rank correlation coefficient. It is only applicable to the bivariate Hermite estimator i.e. est_type = "bivariate".
spearmans(h_est_obj, clipped = FALSE)
h_est_obj |
A hermite_estimator_bivar object. |
clipped |
A boolean value. Indicates whether to clip Spearman's rank correlation estimates to lie between -1 and 1. |
The object must be updated with observations prior to the use of this method.
A numeric value.
## Not run:
hermite_est <- hermite_estimator(N = 10, standardize = TRUE,
est_type="bivariate", observations = matrix(rnorm(30*2), nrow=30,
ncol=2, byrow = TRUE))
spearmans_est <- spearmans(hermite_est)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.