View source: R/dependencemeasures.R
corrob | R Documentation |
Compute robust estimates of the correlation between two variables using the Orthogonalized Gnanadesikan-Kettenring pairwise estimator.
corrob(t, u)
t |
a numeric vector containing the data for the fisrt variable. |
u |
a numeric vector containing the data for the second variable. |
This function uses the covRob
function from the robust package.
Value of the robust correlation.
Martin Bilodeau (bilodeau@dms.umontreal.ca) and Pierre Lafaye de Micheaux (lafaye@unsw.edu.au)
Jiahui Wang, Ruben Zamar, Alfio Marazzi, Victor Yohai, Matias Salibian-Barrera, Ricardo Maronna, Eric Zivot, David Rocke, Doug Martin, Martin Maechler and Kjell Konis. (2013). robust: Robust Library. R package version 0.4-11. https://CRAN.R-project.org/package=robust
covrob
, dcov
data(stackloss)
corrob(stackloss$Air.Flow,stackloss$Water.Temp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.