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

Fix calculation of p-rule for DV cardinality > 2 #25

Open
gdcutting opened this issue Feb 11, 2019 · 1 comment
Open

Fix calculation of p-rule for DV cardinality > 2 #25

gdcutting opened this issue Feb 11, 2019 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed high priority

Comments

@gdcutting
Copy link
Contributor

"Directed, Fit: Fix the calculation of p-rule when the cardinality of the DV is greater than 2.
Explanation & Algorithm: Right now, p-rule is the p-value from comparing q(DV|IV), the calculated conditional probability distribution of the DV, given the IV state, with a uniform distribution. For |DV|=2 this is fine, but for |DV|>2, it actually isn't adequate. The new algorithm does this comparison with a uniform distribution as a first step, but if the p-value < p-cutoff, and it thus passes this first test, it then does a second test which compares the two highest q(DV|IV) values with (.5, .5), after first normalizing these two highest values so that they sum to 1. Call the p-value for the first test p-value1 and the p-value for the second test p-value2. If the first test fails, Occam should report p-value1. If the first test passes, then report p-value2. Indicate somehow (e.g., with some special character after the p-value) which p-value is being reported."

@gdcutting gdcutting added the bug Something isn't working label Feb 11, 2019
@BartMassey BartMassey added help wanted Extra attention is needed high priority labels Apr 3, 2024
@BartMassey
Copy link
Member

This seems like kind of a big deal. Can somebody who knows RA take a look at it ASAP?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed high priority
Projects
None yet
Development

No branches or pull requests

2 participants