getLinearRMSE | R Documentation |
Internal function that retrieves the RMSE associated with fitting a single linear regression over a series of observations.
getLinearRMSE(series)
series |
A vector of observations on which to run changepoint analysis. For this particular function, this is just representative of a single segment or two neighboring segments. |
For all regressions, the dependent variable is the series of observations and the independent variable is the index associated with each observation as part of that series.
Returns the linear regression RMSE (a numeric value).
Matthew Quinn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.