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

Add representative DV values for DV bins for calculation of a continuous expected DV #26

Open
gdcutting opened this issue Feb 11, 2019 · 0 comments

Comments

@gdcutting
Copy link
Contributor

"Directed, Fit: Add representative DV values for DV bins for the calculation of a continuous expected DV.
Explanation & Algorithm: If the DV was originally quantitative and was binned, then an expected calculated continuous DV value can be calculated as <DV|IV> = sum over DV states_i{ q(DV_i|IV) * DVrep_i }, where DVrep_i is the representative DV value for the i-th DV bin. User should be able to specify these representative values by a string of values on the web input page for Fit instead of the "calculate expected DV" line. Have the new line that replaces it read "Representative values for DV bins (optional)" followed by a box in which the user can write values -- e.g., for a DV with cardinality three, the user might input something like "1.4,2.7,3.9". (Reading this in should tolerate white spaces on either side of the commas.) Do this expected value calculation in Fit if and only if the user has specified these representative DV values. It should also be possible to specify these representative values in the Occam input file with the following syntax (the first line indicates that parameters follow in the second line):"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant