Package: tscopula 0.4.2

tscopula: Time Series Copula Models

Functions for the analysis of time series using copula models. The package is based on methodology described in the following references. McNeil, A.J. (2021) <doi:10.3390/risks9010014>, Bladt, M., & McNeil, A.J. (2021) <doi:10.1016/j.ecosta.2021.07.004>, Bladt, M., & McNeil, A.J. (2022) <doi:10.1515/demo-2022-0105>.

Authors:Alexander McNeil [aut, cre], Martin Bladt [aut]

tscopula_0.4.2.tar.gz
tscopula_0.4.2.zip(r-4.5)tscopula_0.4.2.zip(r-4.4)tscopula_0.4.2.zip(r-4.3)
tscopula_0.4.2.tgz(r-4.4-any)tscopula_0.4.2.tgz(r-4.3-any)
tscopula_0.4.2.tar.gz(r-4.5-noble)tscopula_0.4.2.tar.gz(r-4.4-noble)
tscopula_0.4.2.tgz(r-4.4-emscripten)tscopula_0.4.2.tgz(r-4.3-emscripten)
tscopula.pdf |tscopula.html
tscopula/json (API)

# Install 'tscopula' in R:
install.packages('tscopula', repos = c('https://ajmcneil.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ajmcneil/tscopula/issues

Datasets:
  • bitcoin - Bitcoin price data 2016-19
  • cpi - CPI inflation data 1959-2020

On CRAN:

5.45 score 2 stars 8 scripts 236 downloads 103 exports 51 dependencies

Last updated 29 days agofrom:1008de9d1b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 08 2024
R-4.5-winNOTEOct 08 2024
R-4.5-linuxNOTEOct 08 2024
R-4.4-winNOTEOct 08 2024
R-4.4-macNOTEOct 08 2024
R-4.3-winOKOct 08 2024
R-4.3-macOKOct 08 2024

Exports:acf2pacfAICcarma2dvinearmacopulaarmafit2dvinecoefcoerceddoubleweibulldgaussdgauss0dlaplacedlaplace0dmargdsdoubleweibulldslaplacedsstdstdst0dvinecopuladvinecopula2dvinecopula3dvinecopulavtedffitglagkendallkfilterkpacf_arfimakpacf_armakpacf_fbnkpacf_sarma12kpacf_sarma4logLikmarginnon_invertnon_statpacf2acfpacf2arpcoincidepdoubleweibullpedfpgausspgauss0plaplaceplaplace0plotpmargpredictprofilefulcrumpsdoubleweibullpslaplacepsstpstpst0qdoubleweibullqgaussqgauss0qlaplaceqlaplace0qmargqsdoubleweibullqslaplaceqsstqstqst0quantilerdoubleweibullresidrgaussrgauss0rlaplacerlaplace0rsdoubleweibullrslaplacersstrstrst0safe_sessarma2armasarma2dvinesarmacopulasetwcopulashowsigmastarmasimstochinversestrankswncopulatscmV2bV2pV3bV3pVdegeneratevdownprobvgradientvinverseVlinearVsymmetricvtparlistvtransvtscopulavtscopula_objective

Dependencies:actuararfimaassertthatBHclicvarEQLexpintextraDistrfansifastICAfBasicsfGarchFKFgbutilsgluegsskde1dkdensitylatticelifecyclelogitnormltsamagrittrMASSMatrixnakagamipillarpkgconfigpolynomrandtoolboxrbibutilsRcppRcppEigenRcppThreadRdpackrlangrngWELLrvinecopulibspatialstabledisttibbletimeDatetimeSeriesttutilsunivariateMLutf8vctrswdmxtszoo

Basic Time Series Copula Processes

Rendered fromtscopulas.Rmdusingknitr::rmarkdownon Oct 08 2024.

Last update: 2022-03-18
Started: 2021-06-29

Bitcoin Analysis

Rendered frombitcoin.Rmdusingknitr::rmarkdownon Oct 08 2024.

Last update: 2022-03-18
Started: 2021-01-11

Copula Processes with V-Transforms

Rendered fromvtscopulas.Rmdusingknitr::rmarkdownon Oct 08 2024.

Last update: 2021-07-03
Started: 2021-06-29

Models with Margins

Rendered fromtscm_models.Rmdusingknitr::rmarkdownon Oct 08 2024.

Last update: 2022-03-18
Started: 2021-01-11

Readme and manuals

Help Manual

Help pageTopics
Compute partial autocorrelations from autocorrelationsacf2pacf
Akaike Corrected Information CriterionAICc
Transform an armacopula into a dvinecopula or dvinecopula2 objectarma2dvine
Constructor function for ARMA copula processarmacopula
ARMA copula processesarmacopula-class coef,armacopula-method kendall,armacopula-method predict,armacopula-method show,armacopula-method sim,armacopula-method
Transform a fitted armacopula into a fitted dvinecopula or dvinecopula2 objectarmafit2dvine
Bitcoin price data 2016-19bitcoin
Convert tscopula object to tscm objectcoerce,tscopula,tscm-method
Convert tscopulafit object to be tscmfit objectcoerce,tscopulafit,tscmfit-method
CPI inflation data 1959-2020cpi
Compute density of marginal modeldmarg
Double Weibull distributionddoubleweibull doubleweibull pdoubleweibull qdoubleweibull rdoubleweibull
Constructor function for dvinecopula processdvinecopula
D-vine copula processescoef,dvinecopula-method dvinecopula-class kendall,dvinecopula-method predict,dvinecopula-method show,dvinecopula-method sim,dvinecopula-method
Constructor function for dvinecopula2 processdvinecopula2
D-vine copula processes of type 2coef,dvinecopula2-method dvinecopula2-class kendall,dvinecopula2-method predict,dvinecopula2-method show,dvinecopula2-method sim,dvinecopula2-method
Constructor function for dvinecopula3 processdvinecopula3
D-vine copula processes of type 3coef,dvinecopula3-method dvinecopula3-class kendall,dvinecopula3-method predict,dvinecopula3-method show,dvinecopula3-method sim,dvinecopula3-method
Constructor function for dvinecopulavt processdvinecopulavt
D-vine copula processes with v-transformscoef,dvinecopulavt-method dvinecopulavt-class kendall,dvinecopulavt-method predict,dvinecopulavt-method show,dvinecopulavt-method sim,dvinecopulavt-method
Construct empirical marginedf
Generic for estimating time series modelsfit
Fit method for margin classfit,margin-method
Fit method for tscm classfit,tscm-method
Fit method for tscopulafit classfit,tscopulafit-method
Fit method for tscopulaU classfit,tscopulaU-method
Fit method for vtscopula classfit,vtscopula-method
Gaussian distributiondgauss gauss pgauss qgauss rgauss
Centred Gaussian distributiondgauss0 gauss0 pgauss0 qgauss0 rgauss0
Generalized lagging functionglag
Generic for Kendall correlationskendall
Kalman filter for ARMA copula modelkfilter
KPACF of ARFIMA processkpacf_arfima
KPACF of ARMA processkpacf_arma
KPACF of fractional Brownian noisekpacf_fbn
KPACF of monthly seasonal ARMA processkpacf_sarma12
KPACF of quarterly seasonal ARMA processkpacf_sarma4
Laplace distributiondlaplace laplace plaplace qlaplace rlaplace
Centred Laplace distributiondlaplace0 laplace0 plaplace0 qlaplace0 rlaplace0
Constructor function for marginmargin
Marginal model for time seriescoef,margin-method margin-class show,margin-method sim,margin-method
Fitted marginal model for time serieslogLik,marginfit-method marginfit-class
Check for invertibility of ARMA processnon_invert
Check for causality of ARMA processnon_stat
Compute autocorrelations from partial autocorrelationspacf2acf
Compute autoregressive coefficients from partial autocorrelationspacf2ar
Compute coincidence probability for v-transformpcoincide
Adjusted empirical distribution functionpedf
Plot method for marginfit classplot,marginfit,missing-method
Plot method for tscmfit classplot,tscmfit,missing-method
Plot method for tscopulafit classplot,tscopulafit,missing-method
Plot method for Vtransform classplot,Vtransform,missing-method
Compute CDF of marginal modelpmarg
Profile likelihood for fulcrum parameterprofilefulcrum
Compute quantiles of marginal modelqmarg
Quantile calculation method for VT-ARMA modelsquantile,tscmfit-method
Rosenblatt backward function with v-transformsRbackward
Inverse Rosenblatt forward function with v-transformsRforwardI
Calculate standard errors safelysafe_ses
Transform a sarmacopula object into an armacopula objectsarma2arma
Transform a sarmacopula into a dvinecopula2 objectsarma2dvine
Constructor function for SARMA copula processsarmacopula
SARMA copula processescoef,sarmacopula-method kendall,sarmacopula-method predict,sarmacopula-method sarmacopula-class show,sarmacopula-method sim,sarmacopula-method
Skew double Weibull distributiondsdoubleweibull psdoubleweibull qsdoubleweibull rsdoubleweibull sdoubleweibull
Standard deviation of innovations for armacopulasigmastarma
Generic for simulating time series copula modelssim
Skew Laplace distributiondslaplace pslaplace qslaplace rslaplace slaplace
Skew Student t distributiondsst psst qsst rsst sst
Student t distributiondst pst qst rst st
Centred Student t distributiondst0 pst0 qst0 rst0 st0
Stochastic inverse of a v-transformstochinverse
Calculate standardized ranks of datastrank
Constructor function for strict white noise copula processswncopula
Strict white noise copula processcoef,swncopula-method show,swncopula-method sim,swncopula-method swncopula-class
Constructor function for time seriestscm
Full modelscoef,tscm-method kendall,tscm-method predict,tscm-method show,tscm-method sim,tscm-method tscm-class
Fitted tscm modellogLik,tscmfit-method predict,tscmfit-method resid,tscmfit-method tscmfit-class
Time series copula processestscopula-class
Fitted time series copula processescoef,tscopulafit-method kendall,tscopulafit-method logLik,tscopulafit-method predict,tscopulafit-method resid,tscopulafit-method show,tscopulafit-method sim,tscopulafit-method tscopulafit-class
Time series copulas of class tscopulaUtscopulaU-class
Constructor function for 2-parameter beta v-transformV2b
Constructor function for 2-parameter v-transformV2p
Constructor function for 3-parameter beta v-transformV3b
Constructor function for 3-parameter v-transformV3p
Constructor function for degenerate v-transformVdegenerate
Calculate conditional down probability of v-transformvdownprob
Calculate gradient of v-transformvgradient
Calculate inverse of v-transformvinverse
Constructor function for linear v-transformVlinear
Constructor function for symmetric v-transformVsymmetric
Evaluate a v-transformvtrans
Class of v-transformscoef,Vtransform-method show,Vtransform-method Vtransform-class
Class of invertible v-transformsVtransformI-class
Constructor function for vtscopula objectvtscopula
Time series copula processes with v-transformscoef,vtscopula-method kendall,vtscopula-method predict,vtscopula-method show,vtscopula-method sim,vtscopula-method vtscopula-class