Package: nonstat
Type: Package
Title: Detecting Nonstationarity in Time Series
Version: 0.0.6
Authors@R: c(
    person(given = "Martin", family = "Hecht", email = "martin.hecht@hsu-hh.de", role = c("aut", "cre")),
    person(given = "Steffen", family = "Zitzmann", email = "steffen.zitzmann@medicalschool-hamburg.de", role = "aut"))
Maintainer: Martin Hecht <martin.hecht@hsu-hh.de>
Description: Provides a nonvisual procedure for screening time series for nonstationarity in the context of intensive longitudinal designs, such as ecological momentary assessments. The method combines two diagnostics: one for detecting trends (based on the split R-hat statistic from Bayesian convergence diagnostics) and one for detecting changes in variance (a novel extension inspired by Levene's test). This approach allows researchers to efficiently and reproducibly detect violations of the stationarity assumption, especially when visual inspection of many individual time series is impractical. The procedure is suitable for use in all areas of research where time series analysis is central. For a detailed description of the method and its validation through simulations and empirical application, see Zitzmann, S., Lindner, C., Lohmann, J. F., & Hecht, M. (2024) "A Novel Nonvisual Procedure for Screening for Nonstationarity in Time Series as Obtained from Intensive Longitudinal Designs" <https://www.researchgate.net/publication/384354932_A_Novel_Nonvisual_Procedure_for_Screening_for_Nonstationarity_in_Time_Series_as_Obtained_from_Intensive_Longitudinal_Designs>.
License: GPL-3
Depends: R (>= 3.5.0)
NeedsCompilation: no
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.3.2
Packaged: 2025-03-30 20:01:40 UTC; martin
Author: Martin Hecht [aut, cre],
  Steffen Zitzmann [aut]
Repository: CRAN
Date/Publication: 2025-04-01 15:50:02 UTC
Built: R 4.6.0; ; 2026-04-25 20:48:44 UTC; unix
