Add a confidence interval to the reg_table
of a
robumeta::robu object.
Arguments
- robu_fit
Object of class robumeta::robu.
- ci_level
Confidence level to use for the confidence interval (defaults to 0.95).
Examples
# example model from robumeta::robu()
hier_mod <- robumeta::robu(effectsize ~ binge + followup + sreport + age,
data = robumeta::hierdat, studynum = studyid,
var.eff.size = var, modelweights = "HIER",
small = TRUE)
robu_ci(hier_mod)
#> param estimate se ci_lower ci_upper p_value
#> 1 X.Intercept. 0.39695130 0.6580061223 -1.675340360 2.469242958 0.58816304
#> 2 binge 0.45158407 0.1016414122 0.156275299 0.746892833 0.01438447
#> 3 followup 0.00133090 0.0007225729 -0.001731258 0.004393058 0.20481776
#> 4 sreport 0.53875845 0.1433975062 0.153235110 0.924281796 0.01696253
#> 5 age -0.04371413 0.0378744671 -0.172347635 0.084919375 0.34044554