Skip to content

Approximation for Standardized Difference #26

Description

@sprivite

The linear optimizer cannot do standardized mean difference, but there is a good approximation it can use, namely:

SMD = (mean(pool) - mean(target))/ (sqrt(var(pool) + var(target))
\approx (mean(pool) - mean(target))/ (sqrt(2 var(target))= (absolute mean difference) / (sqrt(2 var(target))

When distance(pool, target) >> 1, this is a poor approximation, but the approximation becomes increasingly good as pool --> target, which is anyway what the optimizer is doing.

Implement this as an option to ConstraintSatisfactionMatcher

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions