oddsratio: Odds Ratio Calculation for GAM(M)s & GLM(M)s

Simplified odds ratio calculation of GAM(M)s & GLM(M)s. Provides structured output (data frame) of all predictors and their corresponding odds ratios and confident intervals for further analyses. It helps to avoid false references of predictors and increments by specifying these parameters in a list instead of using 'exp(coef(model))' (standard approach of odds ratio calculation for GLMs) which just returns a plain numeric output. For GAM(M)s, odds ratio calculation is highly simplified with this package since it takes care of the multiple 'predict()' calls of the chosen predictor while holding other predictors constant. Also, this package allows odds ratio calculation of percentage steps across the whole predictor distribution range for GAM(M)s. In both cases, confident intervals are returned additionally. Calculated odds ratio of GAM(M)s can be inserted into the smooth function plot.

AuthorPatrick Schratz
Date of publication2016-11-13 01:41:47
MaintainerPatrick Schratz <patrick.schratz@gmail.com>
LicenseMIT + file LICENSE
Version0.3.1
https://github.com/pat-s/oddsratio

View on CRAN

Files

oddsratio
oddsratio/inst
oddsratio/inst/wordpress.Rmd
oddsratio/inst/wordpress_files
oddsratio/inst/wordpress_files/figure-markdown_strict
oddsratio/inst/wordpress_files/figure-markdown_strict/unnamed-chunk-6-1.png
oddsratio/inst/wordpress_files/figure-markdown_strict/unnamed-chunk-7-1.png
oddsratio/inst/wordpress_files/figure-markdown_strict/unnamed-chunk-8-1.png
oddsratio/inst/wordpress.md
oddsratio/inst/doc
oddsratio/inst/doc/function.tutorial.Rmd
oddsratio/inst/doc/function.tutorial.R
oddsratio/inst/doc/function.tutorial.html
oddsratio/inst/Plots
oddsratio/inst/Plots/smoothing_funtion.png
oddsratio/inst/Plots/smoothing_function_oddsratio.png
oddsratio/inst/Plots/smoothing_function_oddsratio_two.png
oddsratio/tests
oddsratio/tests/testthat.R
oddsratio/tests/testthat
oddsratio/tests/testthat/test-add-oddsratio-into-plot.R
oddsratio/tests/testthat/test-calc-oddsratio-glm.R
oddsratio/NAMESPACE
oddsratio/NEWS
oddsratio/NEWS.md
oddsratio/data
oddsratio/data/data.gam.rda
oddsratio/data/data.glm.rda
oddsratio/R
oddsratio/R/pl.smooth.gam.R oddsratio/R/calc.oddsratio.gam.R oddsratio/R/helper.funs.R oddsratio/R/data.R oddsratio/R/add.oddsratio.into.plot.R oddsratio/R/calc.oddsratio.glm.R
oddsratio/vignettes
oddsratio/vignettes/function.tutorial.Rmd
oddsratio/MD5
oddsratio/build
oddsratio/build/vignette.rds
oddsratio/DESCRIPTION
oddsratio/man
oddsratio/man/no.plot.Rd oddsratio/man/pl.smooth.gam.Rd oddsratio/man/add.oddsratio.into.plot.Rd oddsratio/man/calc.oddsratio.glm.Rd oddsratio/man/calc.oddsratio.gam.Rd oddsratio/man/gam.to.df.Rd oddsratio/man/data.glm.Rd oddsratio/man/data.gam.Rd
oddsratio/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.