Description Usage Arguments Value References Examples
Computes Somers' D on a given cartesian product Y x f(X), where Y consists of the components of y
and f(X) consists of the components of fx
. Furthermore, the asymptotic standard error as well as the modified asymptotic standard error to test the null hypothesis that the measure is zero are provided as defined in Goktas and Oznur (2011).
1 | SomersD(y, fx)
|
y |
a vector of realized categories. |
fx |
a vector of predicted values of the ranking function f. |
A list of length three is returned, containing the following components:
val |
Somers' D |
ASE |
the asymptotic standard error of Somers' D |
ASE0 |
the modified asymptotic error of Somers' D under the null hypothesis. |
Goktas, A., Oznur, I., 2011. A Comparison of the Most Commonly Used Measures of Association for Doubly Ordered Square Contingency Tables via Simulation. Metodoloski zvezki 8 (1), 17-37
1 |
$val
[1] 0.7
$ASE0
[1] 0.1505545
$ASE
[1] 0.3146721
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.