Other forecast functions (e.g. forecast.Arima() or forecast.ets()) have checks on the level argument to prevent prediction intervals with negative levels or levels above 100. However, forecast.tbats() does not, so NaN is produced for the levels instead of throwing an error
Other forecast functions (e.g.
forecast.Arima()
orforecast.ets()
) have checks on thelevel
argument to prevent prediction intervals with negative levels or levels above 100. However,forecast.tbats()
does not, soNaN
is produced for the levels instead of throwing an errorShould checking the level argument and throwing an error for level > 100 or level <= 0 be added to
forecast.tbats()
?