This is a multiple linear regression model that take two inputs (formula,data) to initialize.
Initializes object with class "linreg" that estimates regression coefficients, standard error, t-value, p-value and residueal standard error from a given formula and data frame
formula
formula with predictors and responses (compulsory input)
data
data frame with observations (compulsory input)
data_name
name of data frame
coefficients
estimated regression coefficients
resids
residuals (difference between observed and fitted y values)
predictors
fitted y values
df
degrees of freedom
summ
summary of results
resid_se
Residual Standard Error
res_var
standard deviation of residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.