Multivariable OLS regression of a response on two or more predictors: the
coefficient table (estimate, standard error, t-statistic, p-value) plus the
overall model fit (R-squared, adjusted R-squared and the F-test). The
many-predictor generalisation of linearRegression. Computed via
the same QR decomposition as base R, so the coefficients, R-squared and F
reproduce stats::lm / summary.lm bit-for-bit and statsmodels OLS to
machine precision.
Value
A data frame with one row per term (term, estimate, std_error,
statistic, p_value), carrying r_squared, adj_r_squared,
f_statistic, df1, df2, f_p_value and n as attributes.