Interactive Interpretation of Linear Regression Models
The implementation is based on the package rpanel and provides an interactive visualization of effects, response functions and marginal effects for different kinds of regression models. Major features are the interactive approach and the handling of the effects of categorical covariates: if two or more factors are used as covariates every combination of the levels of each factor (referred to as groups) is treated separately. The automatic calculation of marginal effects and a number of possibilities to customize the graphical output are useful features as well. In the accompanying vignette the usage is described in detail. Please refer to the documentation of the generic function
fxInteractive for available methods.
Martin Meermeyer email@example.com
Bowman, A., Crawford, E., Alexander, G., and Bowman, R. (2007). rpanel: Simple interactive controls for R functions using the tcltk package. Journal of Statistical Software, 17(9), 1-18.
The noninteractive visualization of the results for various types of regression models can be achieved with the package effects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
## Not run: ### Metric dependent variable ### data("munichrent03") model.rent <- lm(rent ~ yearc + I(yearc^2) + rooms + area*location + upkitchen, data=munichrent03) fxInteractive(model.rent) ### Binary dependent variable ### data("creditdata") model.cd <- glm(credit ~ amount + I(amount^2) + age + duration*teleph + housing, family=binomial, data=creditdata) fxInteractive(model.cd) ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.