Description Usage Arguments Format Details Value Note Author(s) References See Also Examples
Following the glm or glm.nb commands, toRR() displays a table of incidence rate ratios and related statistics including exponentiated model confidence intervals.
1 | toRR(object)
|
object |
name of the fitted glm function model |
The only argument is the name of the fitted glm or glm.nb function model
incidence rate ratio of predictor
Model standard error using delta method
z-statistic
probability-value based on normal distribution
Exponentialed lower model confidence interval
Expontiated upper model confidence interval
toRR is a post-estimation function, following the use of glm() with the Poisson or negative.binomial families, and following glm.nb().
list
toRR must be loaded into memory in order to be effectve. As a function in LOGIT, it is immediately available to a user.
Joseph M. Hilbe, Arizona State University, and Jet Propulsion Laboratory, California Institute of technology
Hilbe, Joseph M. (2015), Practical Guide to Logistic Regression, Chapman & Hall/CRC.
Hilbe, Joseph M. (2014), Modeling Count Data, Cambridge University Press.
1 2 3 4 5 6 7 |
Call:
glm(formula = los ~ white + hmo + factor(age80), family = poisson,
data = medpar)
Deviance Residuals:
Min 1Q Median 3Q Max
-4.1497 -1.7828 -0.6709 0.8897 18.8565
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 2.49348 0.02607 95.636 < 2e-16 ***
white -0.18587 0.02731 -6.805 1.01e-11 ***
hmo -0.14485 0.02375 -6.100 1.06e-09 ***
factor(age80)1 -0.07124 0.02032 -3.506 0.000456 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
(Dispersion parameter for poisson family taken to be 1)
Null deviance: 8901.1 on 1494 degrees of freedom
Residual deviance: 8800.5 on 1491 degrees of freedom
AIC: 14524
Number of Fisher Scoring iterations: 5
rr delta zscore pvalue exp.loci. exp.upci.
(Intercept) 12.1033 0.3156 95.6360 0e+00 11.5003 12.7379
white 0.8304 0.0227 -6.8049 0e+00 0.7871 0.8760
hmo 0.8651 0.0205 -6.0996 0e+00 0.8258 0.9064
factor(age80)1 0.9312 0.0189 -3.5056 5e-04 0.8949 0.9691
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.