Data-Driven Locally Weighted Regression for Trend and Seasonality in TS
Overview
Various methods for the identification of trend and seasonal components in time series (TS) are provided. Among them is a data-driven locally weighted regression approach with automatically selected bandwidth for equidistant short-memory time series. The approach is a combination / extension of the algorithms by Feng (2013) doi:10.1080/02664763.2012.740626 and Feng, Y., Gries, T., and Fritz, M. (2020) doi:10.1080/10485252.2020.1759598 and a brief description of this new method is provided in the package documentation and in more detail in Schulz (2026) doi:10.32614/RJ-2026-025. Furthermore, the package allows its users to apply the base model of the Berlin procedure, version 4.1, as described in Speth (2004) https://www.destatis.de/DE/Methoden/Saisonbereinigung/BV41-methodenbericht-Heft3_2004.pdf?__blob=publicationFile. Permission to include this procedure was kindly provided by the Federal Statistical Office of Germany.
- Fixed a bug in the
predictmethod fors_semiarma()output that was experienced on machines with one machine core; it is now ensured that the number of cores used in the bootstrap procedure uses at least one core and cannot drop to zero (thanks to Henrik Bengtsson for pointing this out). - Added two arguments
ncoresandprogress_barin thepredictmethod fors_semiarma()output to control the number of cores used in the bootstrap and whether or not to show a progress bar during the bootstrap procedure. - Change in maintainer email address from dominik.schulz@uni-paderborn.de to dominik.schulz.r@gmail.com; the maintainer is, however, still the same person.
- Further updates to the general documentation of the package, so that it is easier to find the package's GitHub repository, to cite the package, etc.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 60includes a package overview page
- Examples that run
- 56%19 run in a plain check · 15 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 70%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 8%
Downloads
Repository
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dschulz13/deseats on 2026-10-18.
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1.3Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.2
- 1.1.12025-06-23 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.1.0
- RR 4.4.0 released · 2024-04-24
- 1.0.02023-11-08
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-11-08
- Total releases
- 5 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 28 KB / 15 files
- Download size
- 311 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("deseats")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/rj-2026-025, 10.32614/cran.package.deseats.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.