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:

4.70 score 142 downloads 14 exports 8 dependencies

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

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:alralrInvclrclrInvCoDa_pathCoDa_seqilrilrInvImpactslmCoDaShareRatioElasticitiesToSimplexVariationScenarioVariationTable

Dependencies:bayesmcompositionsDEoptimRMASSRcppRcppArmadillorobustbasetensorA

“Pairwise share-ratio interpretations of compositional regression models”

Rendered frompaper_Share_Ratio.Rmdusingknitr::rmarkdownon Oct 31 2024.

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

Getting started with CoDaImpact

Rendered fromVignette.Rmdusingknitr::rmarkdownon Oct 31 2024.

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