Empirical and non-parametric copula models with the cort R package

Empirical and non-parametric copula models with the cort R package - Published in JOSS (2020)

https://github.com/lrnv/cort

Science Score: 93.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
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords from Contributors

correlation standardization
Last synced: 6 months ago · JSON representation

Repository

Classes and Tools For Some Empirical and Non-parametrical Copula Models.

Basic Info
Statistics
  • Stars: 7
  • Watchers: 1
  • Forks: 2
  • Open Issues: 1
  • Releases: 3
Created almost 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

CRAN status CRAN number of downloads Codecov test coverage DOI DOI tic <!-- badges: end -->

The cort package provides S4 classes and methods to fit several copula models:

  • The classic empirical checkerboard copula and the empirical checkerboard copula with known margins, see Cuberos, Masiello and Maume-Deschamps (2019) are proposed. These two models allow to fit copulas in high dimension with a small number of observations, and they are always proper copulas. Some flexibility is added via a possibility to differentiate the checkerboard parameter by dimension.

  • The last model consist of the implementation of the Copula Recursive Tree algorithm, aka. CORT, including the localised dimension reduction, which fits a copula by recursive splitting of the copula domain, see Laverny, Maume-Deschamps, Masiello and Rullière (2020).

  • We finally provide an efficient way of mixing copulas, allowing to bag the algorithm into a forest, and a generic way of measuring d-dimensional boxes with a given copula.

Installation

Edit 2023: Due to issues that I could not reproduce and therefore debug, CRAN removed the package from its archive. If you want to take a look at the issue, details are there. If you understand why, please open an issue to tell me. In the mean time, you can still download older releases from CRAN, or simply use the github version.

The upstream development version can also be installed with :

``` r

install.packages("cort") # does not work anymore.

devtools::install_github("lrnv/cort") ```

Note that the installation from github will require the system to have a compiler:

  • Windows: Rtools
  • macOS: Xcode CLI
  • Linux: r-base-dev (debian)

The vignettes are quite expressive. They give a clear overview of what can be done with this package, how it is coded and why it is useful. Please read them for more details.

How to report bugs and get support

To report a bug, feel free to open an issue on the github repository. Support can also be provided through the same chanel if you need it.

How to contribute

Every contribution is welcome, on the form of pull requests on the github repository. For large modifications, please open an issue for discussions firsts. Concerning the naming convention, the CamelCase functions usually designate classes and constructors of these classes, and all other methods are in snake_case.

Citation

If you use this work, you may cite the following references. To refer to the theory of the CORT estimator, you may cite :

bib @article{laverny2021dependence, title = {Dependence structure estimation using Copula Recursive Trees}, journal = {Journal of Multivariate Analysis}, volume = {185}, pages = {104776}, year = {2021}, issn = {0047-259X}, doi = {10.1016/j.jmva.2021.104776}, author = {Oskar Laverny and Esterina Masiello and Véronique Maume-Deschamps and Didier Rullière} }

To refer to the package itself, you may cite:

bib @article{laverny2020empirical, doi = {10.21105/joss.02653}, year = {2020}, publisher = {The Open Journal}, volume = {5}, number = {56}, pages = {2653}, author = {Oskar Laverny}, title = {Empirical and non-parametric copula models with the {cort R} package}, journal = {Journal of Open Source Software} }

Owner

  • Name: Oskar Laverny
  • Login: lrnv
  • Kind: user
  • Location: Brussels
  • Company: UCLouvain

What would be the dependence structure between quality of code and quantity of coffee ?

JOSS Publication

Empirical and non-parametric copula models with the cort R package
Published
December 04, 2020
Volume 5, Issue 56, Page 2653
Authors
Oskar Laverny ORCID
Institut Camille Jordan, Université Lyon 1, Lyon, France, SCOR SE, Paris, France
Editor
Pierre de Buyl ORCID
Tags
copula statistics

GitHub Events

Total
  • Push event: 103
Last Year
  • Push event: 103

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 224
  • Total Committers: 4
  • Avg Commits per committer: 56.0
  • Development Distribution Score (DDS): 0.027
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Oskar Laverny o****y@g****m 218
github-actions[bot] 4****] 4
Pierre de Buyl p****l@p****e 1
u009192 o****y@s****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 17
  • Total pull requests: 19
  • Average time to close issues: 2 days
  • Average time to close pull requests: 23 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.41
  • Average comments per pull request: 0.21
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lrnv (16)
  • zeileis (1)
Pull Request Authors
  • lrnv (18)
  • pdebuyl (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total docker downloads: 20,358
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: cort

Some Empiric and Nonparametric Copula Models

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Docker Downloads: 20,358
Rankings
Forks count: 21.9%
Stargazers count: 22.5%
Average: 27.4%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/tic.yml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v2 composite
  • pat-s/always-upload-cache v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-tinytex v2 composite
.github/workflows/update-tic.yml actions
  • actions/checkout v3 composite
  • peter-evans/create-pull-request v4 composite
  • r-lib/actions/setup-r v2 composite
DESCRIPTION cran
  • R >= 2.10 depends
  • Rcpp * imports
  • Rdpack * imports
  • furrr >= 0.2.0 imports
  • methods * imports
  • nloptr * imports
  • osqp * imports
  • purrr * imports
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat >= 2.1.0 suggests
check/cort.Rcheck/00_pkg_src/cort/DESCRIPTION cran
  • magrittr * imports
  • covr * suggests
  • spelling * suggests
  • testthat >= 2.1.0 suggests
check/cort.Rcheck/cort/DESCRIPTION cran
  • magrittr * imports
  • covr * suggests
  • spelling * suggests
  • testthat >= 2.1.0 suggests