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.5-any)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'))

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

Pkgdown site:https://lukece.github.io

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:

Conda:

4.00 score 172 downloads 14 exports 8 dependencies

Last updated 1 years agofrom:087a5122af. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 30 2025
R-4.5-winOKMar 30 2025
R-4.5-macOKMar 30 2025
R-4.5-linuxOKMar 30 2025
R-4.4-winOKMar 30 2025
R-4.4-macOKMar 30 2025
R-4.4-linuxOKMar 30 2025
R-4.3-winOKMar 30 2025
R-4.3-macOKMar 30 2025

Exports:alralrInvclrclrInvCoDa_pathCoDa_seqilrilrInvImpactslmCoDaShareRatioElasticitiesToSimplexVariationScenarioVariationTable

Dependencies:bayesmcompositionsDEoptimRMASSRcppRcppArmadillorobustbasetensorA

“Pairwise share-ratio interpretations of compositional regression models”

Rendered frompaper_Share_Ratio.Rmdusingknitr::rmarkdownon Mar 30 2025.

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

Getting started with CoDaImpact

Rendered fromVignette.Rmdusingknitr::rmarkdownon Mar 30 2025.

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