View source: R/fuzzy_inference.R
compute_ci | R Documentation |
Compute confidence intervals for regression coefficients
compute_ci(beta_hat, se_beta, df, alpha = 0.05)
beta_hat |
Numeric vector. Estimated regression coefficients. |
se_beta |
Numeric vector. Standard errors of coefficients. |
df |
Integer. Degrees of freedom. |
alpha |
Numeric. Significance level (default: 0.05). |
A list containing lower and upper bounds of confidence intervals.
beta_hat <- c(0.5, 1.2) # Example regression coefficients
se_beta <- c(0.1, 0.2) # Example standard errors
df <- 30 # Example degrees of freedom
ci <- compute_ci(beta_hat, se_beta, df)
print(ci)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.