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

Warn and/or remove column when split_by is used and no values are present for a level of the splitting variable #12

Open
tyarkoni opened this issue May 8, 2016 · 0 comments

Comments

@tyarkoni
Copy link
Collaborator

tyarkoni commented May 8, 2016

Suppose we pass a variable to add_term() and set split_by='condition'. If the target variable has no valid values for one or more levels of the splitting variable, a constant term will be added to the model. This is typically not desirable. We should check for this and, at minimum, issue a warning. We should probably also implement a general check to make there is (at most) a single constant column in the design.

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