This class contains methods to handle multiple linear regression. You can find more information about the linear regression in the link bellow: https://en.wikipedia.org/wiki/Linear_regression
formula
A formula to show the relationship between dependent and independent variables.
data
A data.frame to give the values of variables.
reg_coeffs
A matrix of regression coefficients.
fitted_value
A matrix of predicted values for dependent variable.
resids
A matrix that contains the differences between predicted and actual values of dependent variable.
df
A numeric scalar that shows the degree of freedom.
resids_var
A matrix that shows the variance of residuals.
reg_coef_var
A matrix that shows the variance of regression coefficients.
t_values
A matrix that shows t values.
p_values
A matrix of p values.
coef()
printing regression coefficients
initialize(formula, data)
initializing regression calculations
plot()
ploting residuals and scaled residuals vs fitted values
pred()
printing vector of fitted values
print()
print regression coefficients
resid()
printing vector of resisuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.