How can I calculate 95% confidence intervals for standardized beta coefficients in R?

How can I calculate 95% confidence intervals for standardized beta coefficients in R?

So far, I have used confint() but that is giving me 95% CI for unstandardized regression coefficient for a linear model: lm()

Example below:

h1a <- lm(formula = var1~ var2, data = df) # estimate value of intercept (b0) and slope (b1) and store model in variable

summary(h1a) # extract p-value for year and adjusted R^2 for model

standardCoefs(h1a) # extract standardized beta coefficient

ci_h1a <- confint(h1a, conf.level = 0.95, digits = 4)[2,] # extract confidence interval

Perhaps standardize the columns, then fit model, then observe conf int?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.