ci_r2: Creates a confidence interval for the squared multiple...

View source: R/confidence_intervals.R

ci_r2R Documentation

Creates a confidence interval for the squared multiple correlation.

Description

Creates a confidence interval for the squared multiple correlation.

Usage

ci_r2(r2, df1, df2, conf = 0.95, fixed = FALSE)

Arguments

r2

The estimated squared multiple correlation.

df1

The numerator degrees of freedom.

df2

The denominator degrees of freedom.

conf

The desired (1-α) confidence level. Default is .95.

fixed

Specifies whether the predictors in the regression model are either fixed or random. The default is random predictors.

Value

Returns the lower and upper endpoints of the confidence interval.

Examples

ci_r2(r2=.20, df1 = 3, df2 = 20)

jbiesanz/fabs documentation built on July 15, 2022, 11:02 p.m.