Description Usage Arguments Details Examples
This method function computes (empirical) best linear unbiased predictions from fitted dose-response meta-analytical models represented in objects of class "dosresemta".
1 2 | ## S3 method for class 'dosresmeta'
blup(object, ...)
|
object |
objects of classe " |
... |
further arguments passed to or from other methods. |
The method function blup produces (empirical) best linear unbiased predictions from dosresmeta objects. Predictions are expressed in terms of study-specific deviations as random effects. Predicted random effects from blup are a shrunk version of study-specific realizations, where study-specific predictions borrow strength from the assumption of an underlying distribution in a (usually hypothetical) population of studies. Blup are not avaialable for fixed-effects models since the are meaningless in that context.
1 2 3 4 5 6 7 8 9 10 | ## Load data and run the linear and quadratic models
data("alcohol_cvd")
lin <- dosresmeta(formula = logrr ~ dose, type = type, id = id,
se = se, cases = cases, n = n, data = alcohol_cvd)
quadr <- dosresmeta(formula = logrr ~ dose + I(dose^2), type = type, id = id,
se = se, cases = cases, n = n, data = alcohol_cvd)
## blup prediction for the previous models
blup(lin)
blup(quadr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.