tstests

Time Series Tests

https://github.com/tsmodels/tstests

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

forecasting r statistical-tests
Last synced: 6 months ago · JSON representation

Repository

Time Series Tests

Basic Info
  • Host: GitHub
  • Owner: tsmodels
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 11.3 MB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
forecasting r statistical-tests
Created almost 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.md

tstests

R-CMD-check Last-changedate packageversion CRAN_Status_Badge

tstests

The tstests package provides a number of tests for evaluating the goodness of fit of estimated time series models as well as forecast evaluation tests. In addition to a standard print method, each test has an as_flextable method for pretty printing to various document formats. The table below provides an overview of the implemented tests, some of which were ported over from rugarch, others re-written and some are new.

| Test | Function | Reference | |:---|:--:|---:| | Berkowitz Forecast Density Test | berkowitztest | Berkowitz (2001) | | Non Parametric Density Test | honglitest | Hong and Li (2005) | | Directional Accuracy Tests | dactest | Pesaran (1992), Anatolyev (2005) | | GMM Orthogonality Test | gmmtest | Hansen (1982) | | Mincer-Zarnowitz Test | minzartest | Mincer (1969) | | Sign Bias Test | signbiastest | Engle (1993) | | Nyblom-Hansen Parameter Constancy Test | nyblomtest | Nyblom (1989) | | Expected Shortfall Test | shortfalldetest | Du (2017) | | Value at Risk Test | varcp_test | Christoffersen (1998,2004) |

Installation

The package can be installed from CRAN or the tsmodels repo.

r install.packages("tstests") remotes::install_github("tsmodels/tstests", dependencies = TRUE)

Note, that in order to make use of symbolic output in some of the tests, flextable requires equatags to be installed which has a dependency on xlst which in turn has SystemRequirements libxslt. Therefore, if you are seeing NA printed in place of symbols, then it is likely that xlst is not installed.

References

Berkowitz,J. (2001). Testing density forecasts, with applications to risk management. Journal of Business & Economic Statistics, 19(4), 465–474.

Hong, Y., and Li, H. (2005), Nonparametric specification testing for continuous-time models with applications to term structure of interest rates, Review of Financial Studies, 18(1), 37–-84.

Pesaran,M.H., Timmermann,A. (1992). A simple nonparametric test of predictive performance. Journal of Business & Economic Statistics, 10(4), 461–465

Anatolyev,S., Gerko,A. (2005). A trading approach to testing for predictability. Journal of Business & Economic Statistics, 23(4), 455–461.

Hansen,L.P. (1982). Large sample properties of generalized method of moments estimators. Econometrica, 50(4), 1029–1054.

Mincer JA, Zarnowitz V (1969). The evaluation of economic forecasts. In Economic forecasts and expectations: Analysis of forecasting behavior and performance, 3–46. NBER.

Nyblom,J. (1989). Testing for the constancy of parameters over time. Journal of the American Statistical Association, 84(405), 223–230.

Du Z, Escanciano JC (2017). Backtesting expected shortfall: accounting for tail risk. Management Science, 63(4), 940–958.

Christoffersen PF (1998). Evaluating interval forecasts. International Economic Review, 841–862.

Christoffersen,P., Pelletier,D. (2004). Backtesting value-at-risk: A duration-based approach. Journal of Financial Econometrics, 2(1), 84–108.

Engle RF, Ng VK (1993). Measuring and testing the impact of news on volatility. The Journal of Finance, 48(5), 1749–1778.

Owner

  • Name: tsmodels framework
  • Login: tsmodels
  • Kind: organization

A framework for time series forecasting models

GitHub Events

Total
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 2
Last Year
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 17
  • Total Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 17
  • Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Alexios Galanos a****s@4****m 17
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: about 2 months
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: about 2 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • waynelapierre (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 667 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: tstests

Time Series Goodness of Fit and Forecast Evaluation Tests

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 667 Last month
Rankings
Dependent packages count: 28.9%
Dependent repos count: 35.7%
Average: 50.0%
Downloads: 85.3%
Maintainers (1)
Last synced: 6 months ago