ci.src: Confidence Interval for a Standardized Regression Coefficient

View source: R/ci.src.R

ci.srcR Documentation

Confidence Interval for a Standardized Regression Coefficient

Description

Function to obtain the confidence interval for a standardized regression coefficient.

Usage

ci.src(beta.k = NULL, SE.beta.k = NULL, N = NULL, K = NULL, R2.Y_X = NULL, 
R2.k_X.without.k = NULL, conf.level = 0.95, R2.Y_X.without.k = NULL, 
t.value = NULL, b.k = NULL, SE.b.k = NULL, s.Y = NULL, s.X = NULL, 
alpha.lower = NULL, alpha.upper = NULL, Suppress.Statement = FALSE, ...)

Arguments

beta.k

the standardized regression coefficient

SE.beta.k

the standard error of the standarized regression coefficient

N

sample size

K

the number of predictors

R2.Y_X

the squared multiple correlation coefficient predicting Y from the k predictor variables

R2.k_X.without.k

the squared multiple correlation coefficient predicting the kth predictor variable (i.e., the predictor of interest) from the remaining p-1 predictor variables

conf.level

desired level of confidence for the computed interval (i.e., 1 - the Type I error rate)

R2.Y_X.without.k

the squared multiple correlation coefficient predicting Y from the p-1 predictor variable with the kth predictor of interest excluded

t.value

the t-value evaluating the null hypothesis that the population regression coefficient for the kth predictor equals zero

b.k

the unstandardized regression coefficient

SE.b.k

the standard error of the unstandardized regression coefficient

s.Y

standard deviation of Y, the dependent variable

s.X

standard deviation of X, the predictor variable of interest

alpha.lower

the Type I error rate for the lower confidence interval limit

alpha.upper

the Type I error rate for the upper confidence interval limit

Suppress.Statement

TRUE or FALSE statement specifying whether or not a statement should be printed that identifies the type of confidence interval formed

...

optional additional specifications for nested functions

Details

For standardized variables, do not specify the standard deviation of the variables and input the standardized regression coefficient for b.k.

Value

Returns the confidence limits specified for the regression coefficient of interest from the standard approach to confidence interval formation or from the noncentral approach to confidence interval formation using the noncentral t-distribution.

Note

This function calls upon ci.reg.coef in MBESS, but has a different naming scheme. See ci.reg.coef for more details.

To form a confidence interval for the unstandardized regression coefficient, use ci.rc. This function is used to form a confidence interval for the standardized regression coefficient.

Not all of the values need to be specified, only those that contain all of the necessary information in order to compute the confidence interval (options are thus given for the values that need to be specified).

Author(s)

Ken Kelley (University of Notre Dame; KKelley@ND.Edu)

References

Kelley, K. (2007). Constructing confidence intervals for standardized effect sizes: Theory, application, and implementation. Journal of Statistical Software, 20 (8), 1–24.

Kelley, K., & Maxwel, S. E. (2003). Sample size for Multiple Regression: Obtaining regression coefficients that are accurate, not simply significant. Psychological Methods, 8, 305–321.

Kelley, K., & Maxwell, S. E. (2008). Sample Size Planning with applications to multiple regression: Power and accuracy for omnibus and targeted effects. In P. Alasuuta, J. Brannen, & L. Bickman (Eds.), The Sage handbook of social research methods (pp. 166–192). Newbury Park, CA: Sage.

Smithson, M. (2003). Confidence intervals. New York, NY: Sage Publications.

Steiger, J. H. (2004). Beyond the F Test: Effect size confidence intervals and tests of close fit in the Analysis of Variance and Contrast Analysis. Psychological Methods, 9, 164–182.

See Also

ss.aipe.reg.coef, conf.limits.nct, ci.reg.coef, ci.rc


MBESS documentation built on Oct. 26, 2023, 9:07 a.m.