Dear fellow R-users, I?m using the Glm function (gamma family of distributions) from the rms package to compare 2 groups on costs data. Although the summary function does provide the mean cost difference and standard errors, I believe these values were in the (natural) log ratio format. Is there a function to express these values into the original scale of the response variable (i.e., dollars) such that I could obtain the mean adjusted cost difference (and the 95%CI)? Many thanks to everyone in advance! YH -- View this message in context: http://r.789695.n4.nabble.com/Summary-values-from-Glm-function-rms-package-tp4494456p4494456.html Sent from the R help mailing list archive at Nabble.com.
Dear fellow R-users, I?m using the Glm function (gamma family of distributions) from the rms package to compare 2 groups on costs data. Although the summary function does provide the mean cost difference and standard errors, I believe these values were in the (natural) log ratio format. Is there a function to express these values into the original scale of the response variable (i.e., dollars) such that I could obtain the mean adjusted cost difference (and the 95%CI)? Many thanks to everyone in advance! YH -- View this message in context: http://r.789695.n4.nabble.com/Summary-values-from-Glm-function-rms-package-tp4494458p4494458.html Sent from the R help mailing list archive at Nabble.com.
The smearingEst function in the Hmisc package, given a set of residuals, can compute the smearing estimator of the mean. To get the confidence interval for the mean or difference in the mean will take some work (unless you have no covariates to adjust for; in that case you can just bootstrap the original data install of using the gamma model). See the Hmisc function areg.boot and associated functions for example code. Frank ----- Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Summary-values-from-Glm-function-rms-package-tp4494458p4495359.html Sent from the R help mailing list archive at Nabble.com.
Seemingly Similar Threads
- can not use plot.Predict {rms} reproduce figure 7.8 from Regression Modeling Strategies (http://biostat.mc.vanderbilt.edu/wiki/pub/Main/RmS/course2.pdf)
- problem with installing rms package
- rms: getting adjusted R^2 from ols object
- plot methods for summary of rms objects
- Odds Ratios in rms package