-
Notifications
You must be signed in to change notification settings - Fork 50
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
base: master
Are you sure you want to change the base?
Conversation
… changed the name to offset from offs as to the variable is now a parameter
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. |
…as a single variable
Merge branch 'master' of https://github.com/harrelfe/rms Conflicts: R/lrm.s man/lrm.Rd
Ok, here are my fixes that seem to correct some of the remaining offset issues.
/Max