View source: R/confidence_intervals.R
ci_beta | R Documentation |
Creates a confidence interval for the standardized regression coefficient β.
ci_beta(t, df1, df2, r2, r2x, conf = 0.95, fixed = FALSE, iter = 50)
t |
The t-test for the standardized regression coefficient. |
df1 |
The numerator degrees of freedom for the regression model. |
df2 |
The denominator degrees of freedom for the regression model. |
r2 |
The squared multiple correlation for the full regression model. |
r2x |
The coefficient of determination for the predictor of interest. This is the squared multiple correlation when the predictor of interest is predicted by all of the other variables in the regression model. 1 - tolerance. |
conf |
The desired (1-α) confidence level. The default is set to .95. |
fixed |
Specifies whether the predictors in the regression model are either fixed or random. The default is random predictors. |
iter |
Number of iterations for the stochastic approximation optimization. Default is 50. |
Returns the lower and upper endpoints of the confidence interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.