First time here? Check out the Help page!

Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

CalibrationReport CV-RMSE and NMBE computation

asked 3 years ago

rimas-maalka's avatar

updated 3 years ago

In the UtilityBill measure, the formulas for computing NMBE and CV-RMSE include an 'n-1' rather than just an 'n' in the denominator. For example:

Source: https://github.com/NREL/OpenStudio/bl...

result = 100.0 * std::pow(squaredError / (n - 1), 0.5) / ybar;
result = 100.0 * (sumError / (n - 1)) / ybar;

Why doesn't the formula just use 'n' as described in the definition, e.g. https://www.kw-engineering.com/how-to...

Thank you

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 3 years ago

In this case, when you are estimating the variance you don't know what the real mean is so you have to use an estimate of the mean instead of the true mean. Estimating the mean reduces the degrees of freedom (number of samples) by one so you use N-1 instead of N which results in a slightly larger estimate of the variance. This link might help a bit:

https://stats.libretexts.org/Bookshel...

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 3 years ago

Seen: 304 times

Last updated: Nov 17 '21