Skip to content
Prev 312456 / 398506 Next

Confidence intervals for estimates of all independent variables in WLS regression

Hello,

You don't have to exchange 'object' by the name of your model, you call 
the function with the name of your model:

x <- 1:20
y <- x + rnorm(20)
fit <- lm(y ~ x)

ci_lm(fit)
                  beta      lower    upper
(Intercept) 0.6741130 -0.9834827 2.331709
x           0.9575906  0.8192171 1.095964

Hope this helps,

Rui Barradas
Em 30-11-2012 01:07, Torvon escreveu: