Description Usage Arguments Value Author(s) Examples
Identify regression beta using different cost functions.
1 2 |
y |
Vector of target data, can be ts object. |
X |
Matrix of explanatory data, each variable is a column. |
constant |
If TRUE then a constant is added to the model. |
cost |
Cost function to use: 1. "MAE" - Mean Absolute Error [Default]; 2. "MdAE" - Median Absolute Error; 3. "MSE" - Mean Squared Error; 4. "MdSE" - Median Squared Error; 5. "ME" - Mean Error; 6. "MdE" - Median Error |
outplot |
If TRUE plot regression fit. |
b |
Regression coefficients. |
Nikolaos Kourentzes
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.