Description Usage Arguments Value References Examples
Implements the "smearing" estimator of Duan (1983), which fits a linear model on the log transformed outcome and transforms to an estimate of the conditional mean on the original scale.
1 | SL.smearglm(Y, X, newX, family, obsWeights, ...)
|
Y |
A numeric outcome variable |
X |
A |
newX |
A |
family |
Gaussian only |
obsWeights |
Observation-level weights |
... |
Other arguments (not currently used) |
predPredicted outcomes based on predictors in newX
fitA list with named entries object (the fitted glm regression object)
and smear_factor (the estimated smearing factor)
Duan, N. (1983) Smearing estimate: a nonparametric retransformation method. Journal of the American Statistical Association, 78, 605-610.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.