Package: CoDaImpact 0.1.0

Lukas Dargel

CoDaImpact: Interpreting CoDa Regression Models

Provides methods for interpreting CoDa (Compositional Data) regression models along the lines of "Pairwise share ratio interpretations of compositional regression models" (Dargel and Thomas-Agnan 2024) <doi:10.1016/j.csda.2024.107945>. The new methods include variation scenarios, elasticities, elasticity differences and share ratio elasticities. These tools are independent of log-ratio transformations and allow an interpretation in the original space of shares. 'CoDaImpact' is designed to be used with the 'compositions' package and its ecosystem.

Authors:Lukas Dargel [aut, cre], Christine Thomas-Agnan [aut], Rodrigue Nasr [ctb], Sijia Pan [ctb], Iban Rendo Barreiro [ctb], Shuyao Li [ctb]

CoDaImpact_0.1.0.tar.gz
CoDaImpact_0.1.0.zip(r-4.5)CoDaImpact_0.1.0.zip(r-4.4)CoDaImpact_0.1.0.zip(r-4.3)
CoDaImpact_0.1.0.tgz(r-4.4-any)CoDaImpact_0.1.0.tgz(r-4.3-any)
CoDaImpact_0.1.0.tar.gz(r-4.5-noble)CoDaImpact_0.1.0.tar.gz(r-4.4-noble)
CoDaImpact_0.1.0.tgz(r-4.4-emscripten)CoDaImpact_0.1.0.tgz(r-4.3-emscripten)
CoDaImpact.pdf |CoDaImpact.html
CoDaImpact/json (API)

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

Peer review:

Bug tracker:https://github.com/lukece/codaimpact/issues

Datasets:
  • car_market - French car market data
  • election - Results of french departmental elections in 2015
  • rice_yields - Data on the rice yields in the Vietnamese provinces
  • toulouse_retail - Simulated retail data for nine shopping malls in the city of Toulouse

On CRAN:

14 exports 1.33 score 8 dependencies 167 downloads

Last updated 6 months agofrom:087a5122af. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:alralrInvclrclrInvCoDa_pathCoDa_seqilrilrInvImpactslmCoDaShareRatioElasticitiesToSimplexVariationScenarioVariationTable

Dependencies:bayesmcompositionsDEoptimRMASSRcppRcppArmadillorobustbasetensorA

“Pairwise share-ratio interpretations of compositional regression models”

Rendered frompaper_Share_Ratio.Rmdusingknitr::rmarkdownon Aug 21 2024.

Last update: 2024-03-08
Started: 2023-08-30

Getting started with CoDaImpact

Rendered fromVignette.Rmdusingknitr::rmarkdownon Aug 21 2024.

Last update: 2024-03-22
Started: 2024-01-21