- Model wrappers no longer accept arguments they cannot pass on to
ForecastBaselines.jl.
LSDModel()dropstrend_correction,IDSModel()dropsthresholdandSTLModel()dropstrend, none of which exists in Julia;KDEModel()dropsbandwidthandkernelandSTLModel()dropsrobust, which are estimation settings thatfit_baseline()does not expose;ARMAModel()dropsinclude_mean, as the intercept is always estimated; andETSModel()dropsdamped, since damping is requested throughtrend_type = "Ad"or"Md". These arguments were accepted and then discarded, so a model built with them was identical to one built without them (#7). ETSModel(error_type = "M")now returns a multiplicative-error model, anderror_type = "N"is rejected: every ETS model has an error term. In 0.1.0 the argument reached a ForecastBaselines.jl constructor that read"N"as multiplicative and every other string as additive, soerror_type = "N"— documented there as "none" — gave multiplicative errors while"M"gave additive ones. Code written against 0.1.0 should read"N"as"M", and"M"as"A".setup_ForecastBaselines()dropsinstall_package, which it accepted and then ignored: the package always initialises Julia against the pinned project it ships ininst/julia.LSDModel()defaultswindow_widthto 0, matching ForecastBaselines.jl. The previous default of 1 averaged in the time points either side of each seasonal position, blurring the seasonal profile without saying so.- The package now talks to Julia through juliabridge, which replaces
juliaready. Model, interval method, transformation and
TemporalInfo()constructors return a description of the Julia call, built in Julia only when it is used, so they no longer start Julia. Printing one shows the Julia code it stands for, and$kwargsholds its arguments under their ForecastBaselines.jl names, as inLSDModel(s = 12)$kwargs$w.as_julia_object()builds the Julia object for inspecting it, so thatas_julia_object(LSDModel(s = 12))$wreads the field as before. add_intervals(),add_trajectories()andfilter_levels()return forecasts that thehas_*(),add_*()and filter functions can act on. They used to return forecasts those functions refused.
-
has_converged()reports whether a fit converged.fit_baseline()issues an R warning if the fit did not converge. -
ARMAModel()passesinclude_driftthrough to Julia, which adds a linear trend to the mean of the series (#7). -
ARMAModel()andINARCHModel()gaink, the number of harmonic waves representing seasonality. Values above 1 allow sharper, asymmetric seasonal shapes than a single sinusoid (#7). -
INARCHModel()gainss(seasonal period) andnb(negative binomial conditional distribution for overdispersed counts) (#7).
-
The pinned ForecastBaselines.jl moves from a build of August 2025 to one that fixes four problems this package used to work around or document. ETS error types are chosen by
"A"and"M"rather than through"N"; ARMA starts its mean parameters at the level of the data, so seasonal fits no longer settle far from it; INARCH evaluates each seasonal harmonic at its own frequency when forecasting, so forecasts reflect the seasonality that was estimated; and STL reports the minimum length it enforces, which its own documentation used to contradict. The wrappers drop the workaround and the warnings those problems needed, soINARCHModel(k > 1)no longer warns. -
Quantile levels are rounded to the decimals they stand for, so
scoringutilscan find them.levels = 0.9gave 0.049999999999999989 instead of 0.05, and scoringutils droppedinterval_coverage_90from the scores with a warning. -
add_temporal_info()matches the ForecastBaselines.jl method it calls: it dropstarget_date, which Julia derives from the reference date, the forecast's horizon andresolution; takesresolutionas a keyword argument rather than positionally; and converts aDatereference date into a JuliaDaterather than letting it reach Julia as aFloat64. Every previous call failed with aMethodError(#14). -
The help pages and error message of
transform_data()andtransform_model(), the vignettes and the README now link to the articles instead of callingvignette(), because that call fails for a plain install (#23).