GithubHelp home page GithubHelp logo

petercraigmile / spectral Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 1.23 MB

R routines for carrying out the univariate spectral analysis of time series

License: GNU General Public License v3.0

R 35.24% C 1.12% Fortran 63.49% Makefile 0.15%

spectral's Introduction

Spectral

Email questions about the code to pfc <AT> stat.osu.edu

A R package for carrying out the spectral analysis of univariate time series. The package is contained in the spectral folder. Different versions of the R package are in the releases folder.

Now includes R functions for carrying out spectral-based tests of periodicity. Extra code used in Wei and Craigmile (2010) are contained in the folder spectral_tests_of_periodicity. Code testing some of the function in the R package are in tests.

Supported by the National Science Foundation under award number DMS-0604963 and DMS-0906864.

Installation

Please make sure you have a C and Fortran compiler installed for your version of R. Then, after installing the devtools R package, you can install this R package using

devtools::install_github("petercraigmile/spectral/spectral")

After installation, type library(spectral) to use the R library.

Issues:

The following functions used for spectral-based tests of periodicity are undocumented.

 Deni.Wald.crit Deni.Wald.setup Deni.Wald.stat Thomson.test
 global.Ftest hcrits hearing.stat hearing.stat.crit
 hearing.stat.pvalue local.Ftest local.Ftest.Satterthwaite

The documentation for Thomson.stat is incorrect.

References:

D. R. Brillinger. Time Series: Data Analysis and Theory. Holt, New York, NY, 1981.

D. Percival and A. Walden. Spectral Analysis for Univariate Time Series. Cambridge University Press, Cambridge, 2020.

M. B. Priestley. Spectral Analysis and Time Series. (Vol. 1): Univariate Series. Academic Press, London, UK, 1981.

A. T. Walden, E. J. McCoy and D. B. Percival (1995), The Effective Bandwidth of a Multitaper Spectral Estimator, Biometrika, 82, 201-14

L. Wei and P. F. Craigmile (2010). Global and local spectral-based tests for periodicities. Biometrika, 97, 223-230.

P. F. Craigmile, and W. M. King (2004). Periodogram based tests for distortion products otoacoustic emission. The Journal of the Acoustical Society of America, 116, 442-451

spectral's People

Contributors

petercraigmile avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.