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

ols inv when zero regressors #74

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

ols inv when zero regressors #74

wants to merge 5 commits into from

Conversation

iancharest
Copy link
Contributor

@iancharest iancharest commented Jan 20, 2021

If a condition is say only repeated every other run, we end up with design matrices with all zeros on the column for that condition on the run it wasn't presented.

This will trigger an error in 2 of our core functions fit_runs and make_project_matrix.

This PR intends to fix this.

  • handle zeros in fit_runs
  • handle zeros in make_project_matrix

@iancharest
Copy link
Contributor Author

I think this is it. I think this might also fix #47

@iancharest
Copy link
Contributor Author

tests pass.

@iancharest
Copy link
Contributor Author

iancharest commented Jan 20, 2021

ok had a quick look and it seems it doesn't fix #47. i'll look into that one now.

@iancharest
Copy link
Contributor Author

ok this branch is ready for merge is your review is positive.

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

Successfully merging this pull request may close these issues.

1 participant