Description Usage Arguments Value See Also Examples
This function returns the best change-point parameter based model given a specific model and independent and dependent column matrices by using three different step sizes. Note that create_model
function does not use multiple step sizes.
This function is dependent on test_model
and splitter
function.
1 | create_model_2(x, y, model, step = c(10, 2, 0.5))
|
x |
A (column) matrix of outside air temperature, independent variables. |
y |
A (column) matrix of actual values(usage), dependent variables. |
model |
A charater string. Model such as '2P', '3PH', '3PC', '4P' or '5P'. |
step |
A numeric vector. Defaults to |
A list with components:
stats |
A matrix of statistical results such as RMSE, R-squared |
params |
A matrix of parameters such as basload and slopes |
cp1 |
Change point. The leftmost change point. This will be zero if |
cp2 |
Change point. The rightmost change point. This will be zero if |
model |
Model type. |
create_model
, and run_model
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.