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
formulaA formula to show the relationship between dependent and independent variables.
dataA data.frame to give the values of variables.
reg_coeffsA matrix of regression coefficients.
fitted_valueA matrix of predicted values for dependent variable.
residsA matrix that contains the differences between predicted and actual values of dependent variable.
dfA numeric scalar that shows the degree of freedom.
resids_varA matrix that shows the variance of residuals.
reg_coef_varA matrix that shows the variance of regression coefficients.
t_valuesA matrix that shows t values.
p_valuesA 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.