Fitting a Model
CosMO supports the following regression models:
- Linear
- Polynomial (Quadradic, Cubic, Quartic)
- Exponential
In the general case a multiple regression model takes the following mathematical form:
where is the vector holding the dependent variables of the problem, is the matrix of the indepedent variables and is the regression function. This is quite similar to the simple linear regression model, but with multiple independent variables contributing to the dependent variable and hence multiple coefficients to determine and complex computation due to the added variables. The equation of multivariate regression takes the following forms for the specific aforementioned regression models.
Linear Model
where are the dependent variables, is the intercept value and are the coefficients of , respectively.
Polynomial Model (Quadratic, Cubic, Quartic)
where are the dependent variables, is the intercept value and are the coefficients of , respectively.
Exponential Model
where are the dependent variables, is the intercept value and are the coefficients of , respectively.
