powered by
This function performs a linear regression and returns a summary including:
Adjusted R-squared
Overall F-test p-value
Table with parameter estimates, confidence intervals (default 99%), p-values, and significance stars (*, **, ***)
linear_regress(formula, data, level = 0.99)
Object of class 'linear_regress'
A formula like Y ~ X1 + X2
A data frame
Confidence level (default 0.99)
data(Housing, package = "IPAG") linear_regress(MEDV ~ RM + LSTAT, data = Housing)
Run the code above in your browser using DataLab