Skip to content

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

Open
gforge wants to merge 15 commits intoharrelfe:masterfrom
gforge:master
Open

Handling of the offset parameter for the ols, lrm, Glm functions#4
gforge wants to merge 15 commits intoharrelfe:masterfrom
gforge:master

Conversation

@gforge
Copy link
Copy Markdown

@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
Copy Markdown
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