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

Implement an option for factor-based prediction #63

Open
njsmith opened this issue Apr 14, 2015 · 1 comment
Open

Implement an option for factor-based prediction #63

njsmith opened this issue Apr 14, 2015 · 1 comment

Comments

@njsmith
Copy link
Member

njsmith commented Apr 14, 2015

Right now we can do prediction (i.e., design matrix generation) by specifying a set of data values ({"x": 1, "y": 2}). But for some purposes, like generating all pairwise categorical significance tests ("is the value of my linear predictor significantly different at a == a1 than it is at a == a2?"), it would be nice to be able to write this in terms of factor values ("is the value of my linear predictor significantly different when the C(...) factor is on level a1 compared to when it's on level a2?", without having to grovel through the AST of the factor's python code to figure out which data variables are being accessed. In particular, this would be expressed at the same representational level as factor-level metadata (see #61).

So we should have a version of predict that takes a set of specifications for factor values, and goes from there.

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