Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generalize applyStatisticalTests #87

Open
jakobbossek opened this issue Mar 25, 2018 · 0 comments
Open

generalize applyStatisticalTests #87

jakobbossek opened this issue Mar 25, 2018 · 0 comments

Comments

@jakobbossek
Copy link
Owner

Generalize. Basically we split a data.frame by a categorical variable (here prob), split again pairwise by another categorical variable (here algorithm) and apply tests to one or more numeric columns (e.g., HV, ONVG). So basically, we can write a function dfTest = function(df, by.col, pair.col, val.cols)
This would enable to apply the function not only to result of computeIndicators, but also for results of e.g. computeDominanceRanking.

Example:

ranks = computeDominanceRanking(df)
test.ranks = dfTest(ranks, by.col = "prob", pair.col = "algorithm", val.cols = "rank")

...

inds = computeIndicators(df, unary.inds = list(list(fun = emoaIndHV), list(fun = emoaIndONVG)))
test.inds = dfTest(inds, by.col = "prob", pair.col = "algorithm", val.cols = c("HV", "ONVG"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant