Y = UPSIDECORRELATION(Y) returns the upside correlation for columns of variable Y.
Y = UPSIDECORRELATION(Y, m) returns the upside correlation using vector m as expected value for columns of variable Y.
====================================================
Upside correlation is defined as the upside covariance divided by the squared root of the product of upside variances:
E[min(yi - mi, 0) min(yj - mj), 0] / sqrt{E[min(yi - mi, 0) ^ 2]} / sqrt{E[min(yj - mj, 0) ^ 2]}
If omitted, m is the sampe mean of Y.
====================================================
See also VAR, STD, COV, CORRCOEF.
|