Nonparametric method for testing the equality of the spectral densities of two time series of possibly different lengths. The time series are preprocessed with the discrete cosine transform and the variance stabilising transform to obtain an approximate Gaussian regression setting for the log-spectral density function. The test statistic is based on the squared L2 norm of the difference between the estimated log-spectral densities. The test returns the result, the statistic value, and the p-value. It also provides the estimated empirical quantile and null distribution under the hypothesis of equal spectral densities. An example using EEG data is included. For details see Nadin, Krivobokova, Enikeeva (2026), <doi:10.48550/arXiv.2602.10774>.
| Version: | 0.0.1.0 |
| Depends: | R (≥ 3.5) |
| Imports: | dtt, stats |
| Suggests: | doParallel, foreach, parallel, testthat (≥ 3.0.0) |
| Published: | 2026-02-23 |
| DOI: | 10.32614/CRAN.package.sdf.test |
| Author: | Ilaria Nadin [aut, cre], Tatyana Krivobokova [aut], Farida Enikeeva [aut], Karolina Klockmann [aut] |
| Maintainer: | Ilaria Nadin <ilaria.nadin at gmail.com> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | no |
| CRAN checks: | sdf.test results |
| Reference manual: | sdf.test.html , sdf.test.pdf |
| Package source: | sdf.test_0.0.1.0.tar.gz |
| Windows binaries: | r-devel: sdf.test_0.0.1.0.zip, r-release: sdf.test_0.0.1.0.zip, r-oldrel: sdf.test_0.0.1.0.zip |
| macOS binaries: | r-release (arm64): sdf.test_0.0.1.0.tgz, r-oldrel (arm64): sdf.test_0.0.1.0.tgz, r-release (x86_64): sdf.test_0.0.1.0.tgz, r-oldrel (x86_64): sdf.test_0.0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=sdf.test to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.