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

Handling of the offset parameter for the ols, lrm, Glm functions #4

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

Conversation

gforge
Copy link

@gforge gforge commented May 16, 2014

Ok, here are my fixes that seem to correct some of the remaining offset issues.

/Max

@gforge
Copy link
Author

gforge commented May 16, 2014

Sorry for all the updates, just thought that it might be useful to look at the test-cases that I added to my fork: https://github.com/gforge/rms/tree/master/tests/testthat

I've tried to think of most possible use-cases where the offset term may cause issues. I've still not yet implemented a summary() test; I tried to test against the confint() but the summary confidence intervals seem to be slightly different (probably a feature that I have missed).

I also use the testthat-package which I've found very convenient for setting up automated tests. If you want to start using it for your package you need to add a testthat.R file directly under the tests catalog.

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