Compositional

Compositional Data Analysis

CRAN Package

Regression, classification, contour plots, hypothesis testing and fitting of distributions for compositional data are some of the functions included. We further include functions for percentages (or proportions). The standard textbook for such data is John Aitchison's (1986) "The statistical analysis of compositional data". Relevant papers include: a) Tsagris M.T., Preston S. and Wood A.T.A. (2011). "A data-based power transformation for compositional data". Fourth International International Workshop on Compositional Data Analysis. doi:10.48550/arXiv.1106.1451 b) Tsagris M. (2014). "The k-NN algorithm for compositional data: a revised approach with and without zero values present". Journal of Data Science, 12(3): 519–534. doi:10.6339/JDS.201407_12(3).0008 c) Tsagris M. (2015). "A novel, divergence based, regression for compositional data". Proceedings of the 28th Panhellenic Statistics Conference, 15-18 April 2015, Athens, Greece, 430–444. doi:10.48550/arXiv.1511.07600 d) Tsagris M. (2015). "Regression analysis with compositional data containing zero values". Chilean Journal of Statistics, 6(2): 47–57. https://soche.cl/chjs/volumes/06/02/Tsagris(2015).pdf.pdf) e) Tsagris M., Preston S. and Wood A.T.A. (2016). "Improved supervised classification for compositional data using the alpha-transformation". Journal of Classification, 33(2): 243–261. doi:10.1007/s00357-016-9207-5 f) Tsagris M., Preston S. and Wood A.T.A. (2017). "Nonparametric hypothesis testing for equality of means on the simplex". Journal of Statistical Computation and Simulation, 87(2): 406–422. doi:10.1080/00949655.2016.1216554 g) Tsagris M. and Stewart C. (2018). "A Dirichlet regression model for compositional data with zeros". Lobachevskii Journal of Mathematics, 39(3): 398–412. doi:10.1134/S1995080218030198 h) Alenazi A. (2019). "Regression for compositional data with compositional data as predictor variables with or without zero values". Journal of Data Science, 17(1): 219–238. doi:10.6339/JDS.201901_17(1).0010 i) Tsagris M. and Stewart C. (2020). "A folded model for compositional data analysis". Australian and New Zealand Journal of Statistics, 62(2): 249–277. doi:10.1111/anzs.12289 j) Alenazi A. (2021). Alenazi, A. (2023). "A review of compositional data analysis and recent advances". Communications in Statistics–Theory and Methods, 52(16): 5535–5567. doi:10.1080/03610926.2021.2014890 k) Alenazi A.A. (2022). "f-divergence regression models for compositional data". Pakistan Journal of Statistics and Operation Research, 18(4): 867–882. doi:10.18187/pjsor.v18i4.3969 l) Tsagris M. and Stewart C. (2022). "A Review of Flexible Transformations for Modeling Compositional Data". In Advances and Innovations in Statistics and Data Science, pp. 225–234. doi:10.1007/978-3-031-08329-7_10 m) Tsagris M., Alenazi A. and Stewart C. (2023). "Flexible non-parametric regression models for compositional response data with zeros". Statistics and Computing, 33(106). doi:10.1007/s11222-023-10277-5 n) Tsagris. M. (2024). "Constrained least squares simplicial-simplicial regression". doi:10.48550/arXiv.2403.19835


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,296 times in the last 30 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 70 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 9, 2025
0 downloadsMar 10, 2025
62 downloadsMar 11, 2025
17 downloadsMar 12, 2025
77 downloadsMar 13, 2025
19 downloadsMar 14, 2025
129 downloadsMar 15, 2025
9 downloadsMar 16, 2025
43 downloadsMar 17, 2025
38 downloadsMar 18, 2025
35 downloadsMar 19, 2025
17 downloadsMar 20, 2025
18 downloadsMar 21, 2025
16 downloadsMar 22, 2025
13 downloadsMar 23, 2025
68 downloadsMar 24, 2025
48 downloadsMar 25, 2025
99 downloadsMar 26, 2025
24 downloadsMar 27, 2025
196 downloadsMar 28, 2025
33 downloadsMar 29, 2025
15 downloadsMar 30, 2025
8 downloadsMar 31, 2025
77 downloadsApr 1, 2025
15 downloadsApr 2, 2025
26 downloadsApr 3, 2025
16 downloadsApr 4, 2025
64 downloadsApr 5, 2025
10 downloadsApr 6, 2025
22 downloadsApr 7, 2025
12 downloadsApr 8, 2025
70 downloadsApr 9, 2025
0 downloadsApr 10, 2025
0 downloadsApr 11, 2025
0 downloadsApr 12, 2025
8
196

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 19,776 times in the last 365 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The day with the most downloads was Aug 15, 2024 with 228 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports21 packages
  • Suggests3 packages
  • Reverse Imports4 packages