View source: R/FullModelRegression.R
| RegAnalysis | R Documentation |
Fits a multiple linear regression model and provides detailed diagnostics including ANOVA table, multicollinearity, heteroscedasticity, normality test, and diagnostic plots.
RegAnalysis(data)
data |
A data frame containing dependent variable (y) and independent variables (x's) |
A list containing:
model_summary: Summary of regression model
anova_table: ANOVA table (SSR, SSE, SST)
vif: Variance Inflation Factor values
gq_test: Goldfeld-Quandt test result
shapiro_test: Shapiro-Wilk normality test result
actual_vs_fitted: Data frame of actual vs fitted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.