IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v021i04.html
   My bibliography  Save this article

Enjoy the Joy of Copulas: With a Package copula

Author

Listed:
  • Yan, Jun

Abstract

Copulas have become a popular tool in multivariate modeling successfully applied in many fields. A good open-source implementation of copulas is much needed for more practitioners to enjoy the joy of copulas. This article presents the design, features, and some implementation details of the R package copula. The package provides a carefully designed and easily extensible platform for multivariate modeling with copulas in R. S4 classes for most frequently used elliptical copulas and Archimedean copulas are implemented, with methods for density/distribution evaluation, random number generation, and graphical display. Fitting copula-based models with maximum likelihood method is provided as template examples. With the classes and methods in the package, the package can be easily extended by user-defined copulas and margins to solve problems.

Suggested Citation

  • Yan, Jun, 2007. "Enjoy the Joy of Copulas: With a Package copula," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 21(i04).
  • Handle: RePEc:jss:jstsof:v:021:i04
    DOI: http://hdl.handle.net/10.18637/jss.v021.i04
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v021i04/v21i04.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v021i04/copula_0.5-7.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v021i04/v21i04.R.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v021.i04?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Peter Xue‐Kun Song, 2000. "Multivariate Dispersion Models Generated From Gaussian Copula," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 27(2), pages 305-320, June.
    2. Ali, Mir M. & Mikhail, N. N. & Haq, M. Safiul, 1978. "A class of bivariate distributions including the bivariate logistic," Journal of Multivariate Analysis, Elsevier, vol. 8(3), pages 405-412, September.
    3. Hüsler, Jürg & Reiss, Rolf-Dieter, 1989. "Maxima of normal random vectors: Between independence and complete dependence," Statistics & Probability Letters, Elsevier, vol. 7(4), pages 283-286, February.
    4. Bouye, Eric & Durlleman, Valdo & Nikeghbali, Ashkan & Riboulet, Gaël & Roncalli, Thierry, 2000. "Copulas for finance," MPRA Paper 37359, University Library of Munich, Germany.
    5. Fermanian, Jean-David, 2005. "Goodness-of-fit tests for copulas," Journal of Multivariate Analysis, Elsevier, vol. 95(1), pages 119-152, July.
    6. Genest, Christian & Rivest, Louis-Paul, 2001. "On the multivariate probability integral transformation," Statistics & Probability Letters, Elsevier, vol. 53(4), pages 391-399, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:21:i04 is not listed on IDEAS
    2. Fabrizio Cipollini & Robert F. Engle & Giampiero M. Gallo, 2016. "Copula--based Specification of vector MEMs," Papers 1604.01338, arXiv.org.
    3. Fabrizio Cipollini & Robert F. Engle & Giampiero M. Gallo, 2006. "Vector Multiplicative Error Models: Representation and Inference," NBER Technical Working Papers 0331, National Bureau of Economic Research, Inc.
    4. Faugeras, Olivier P., 2009. "A quantile-copula approach to conditional density estimation," Journal of Multivariate Analysis, Elsevier, vol. 100(9), pages 2083-2099, October.
    5. Mendes, Beatriz Vaz de Melo & Arslan, Olcay, 2006. "Multivariate Skew Distributions Based on the GT-Copula," Brazilian Review of Econometrics, Sociedade Brasileira de Econometria - SBE, vol. 26(2), November.
    6. Kole, Erik & Koedijk, Kees & Verbeek, Marno, 2007. "Selecting copulas for risk management," Journal of Banking & Finance, Elsevier, vol. 31(8), pages 2405-2423, August.
    7. Zhang, Shulin & Okhrin, Ostap & Zhou, Qian M. & Song, Peter X.-K., 2016. "Goodness-of-fit test for specification of semiparametric copula dependence models," Journal of Econometrics, Elsevier, vol. 193(1), pages 215-233.
    8. MICHIELS, Frederik & DE SCHEPPER, Ann, 2007. "A copula test space model: How to avoid the wrong copula choice," Working Papers 2007027, University of Antwerp, Faculty of Business and Economics.
    9. Cipollini, Fabrizio & Gallo, Giampiero M., 2010. "Automated variable selection in vector multiplicative error models," Computational Statistics & Data Analysis, Elsevier, vol. 54(11), pages 2470-2486, November.
    10. Abdulhamid A. Alzaid & Weaam M. Alhadlaq, 2023. "A New Family of Archimedean Copulas: The Half-Logistic Family of Copulas," Mathematics, MDPI, vol. 12(1), pages 1-18, December.
    11. Boubaker, Heni & Sghaier, Nadia, 2013. "Portfolio optimization in the presence of dependent financial returns with long memory: A copula based approach," Journal of Banking & Finance, Elsevier, vol. 37(2), pages 361-377.
    12. Fabrizio Cipollini & Robert F. Engle & Giampiero M. Gallo, 2017. "Copula–Based vMEM Specifications versus Alternatives: The Case of Trading Activity," Econometrics, MDPI, vol. 5(2), pages 1-24, April.
    13. Hurlimann, Werner, 2004. "Fitting bivariate cumulative returns with copulas," Computational Statistics & Data Analysis, Elsevier, vol. 45(2), pages 355-372, March.
    14. Huard, David & Evin, Guillaume & Favre, Anne-Catherine, 2006. "Bayesian copula selection," Computational Statistics & Data Analysis, Elsevier, vol. 51(2), pages 809-822, November.
    15. Capéraà, Philippe & Fougères, Anne-Laure & Genest, Christian, 2000. "Bivariate Distributions with Given Extreme Value Attractor," Journal of Multivariate Analysis, Elsevier, vol. 72(1), pages 30-49, January.
    16. Jie Huang & Haiming Zhou & Nader Ebrahimi, 2022. "Bayesian Bivariate Cure Rate Models Using Copula Functions," International Journal of Statistics and Probability, Canadian Center of Science and Education, vol. 11(3), pages 1-9, May.
    17. F. Marta L. Di Lascio & Andrea Menapace & Roberta Pappadà, 2024. "A spatially‐weighted AMH copula‐based dissimilarity measure for clustering variables: An application to urban thermal efficiency," Environmetrics, John Wiley & Sons, Ltd., vol. 35(1), February.
    18. Gaißer, Sandra & Schmid, Friedrich, 2010. "On testing equality of pairwise rank correlations in a multivariate random vector," Journal of Multivariate Analysis, Elsevier, vol. 101(10), pages 2598-2615, November.
    19. Furman, Edward & Landsman, Zinoviy, 2010. "Multivariate Tweedie distributions and some related capital-at-risk analyses," Insurance: Mathematics and Economics, Elsevier, vol. 46(2), pages 351-361, April.
    20. Jaeun Choi & A. James O'Malley, 2017. "Estimating the causal effect of treatment in observational studies with survival time end points and unmeasured confounding," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 66(1), pages 159-185, January.
    21. Warne, Anders, 2023. "DSGE model forecasting: rational expectations vs. adaptive learning," Working Paper Series 2768, European Central Bank.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:021:i04. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.