Showing 3 of total 3 results (show query)
pat-s
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.
Maintained by Patrick Schratz. Last updated 12 months ago.
odds-ratioprobabilitystatistics
31 stars 7.48 score 81 scripts 1 dependentscraig-parylo
plotor:Produces an Odds Ratio Plot from a Logistic Regression Model
Produces an Odds Ratio (OR) Plot to visualise the result of a logistic regression analysis. Provide it with a binomial regression model produced by 'glm()' and it will convert the estimates to odds ratios with a 95% confidence interval and plot the results using 'ggplot2'.
Maintained by Craig Parylo. Last updated 17 days ago.
ggplot2glmlogistic-regressionodds-ratio
2 stars 5.04 score 7 scriptsyoujin1207
logisticRR:Adjusted Relative Risk from Logistic Regression
Adjusted odds ratio conditional on potential confounders can be directly obtained from logistic regression. However, those adjusted odds ratios have been widely incorrectly interpreted as a relative risk. As relative risk is often of interest in public health, we provide a simple code to return adjusted relative risks from logistic regression model under potential confounders.
Maintained by Youjin Lee. Last updated 5 years ago.
logistic-regressionodds-ratiorelative-risk
3 stars 3.38 score 16 scripts