Learn R Programming

compositions (version 1.01-1)

summary.acomp: Summarizing a compositional dataset in terms of ratios

Description

Summaries in terms of compositions are quite different from classical ones. Instead of analysing each variable individually, we must analyse each pair-wise ratio in a log geometry.

Usage

## S3 method for class 'acomp':
summary( object, \dots ,robust=getOption("robust"))

Arguments

object
a data matrix of compositions, not necessarily closed
...
not used, only here for generics
robust
A robustness description. See robustnessInCompositions for details. The parameter can be null for avoiding any estimation.

Value

  • The result is an object of type "summary.acomp"
  • meanthe mean.acomp composition
  • mean.ratioa matrix containing the geometric mean of the pairwise ratios
  • variationthe variation matrix of the dataset ({variation.acomp})
  • expsda matrix containing the one-sigma factor for each ratio, computed as exp(sqrt(variation.acomp(W))). To obtain a two-sigma-factor, one has to take its squared value. To obtain the reverse bound we compute 1/expsd
  • mina matrix containing the minimum of each of the pairwise ratios
  • q1a matrix containing the 1-Quartile of each of the pairwise ratios
  • mediana matrix containing the median of each of the pairwise ratios
  • q1a matrix containing the 3-Quartile of each of the pairwise ratios
  • maxa matrix containing the maximum of each of the pairwise ratios

Details

It is quite difficult to summarize a composition in a consistent and interpretable way. We tried to provide such a summary here.

References

Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman & Hall Ltd., London (UK). 416p.

See Also

acomp

Examples

Run this code
data(SimulatedAmounts)
summary(acomp(sa.lognormals))

Run the code above in your browser using DataLab