MATLAB Example to Illustrate John Aitchison’s Log-Ratio Transformation, Part 1

Anyone who has ever dealt with the statistical analysis of compositional data must have stumbled across John Aitchison’s (1926-2016) log-ratio transformation. The Scottish statistician spent much of his career on the statistics of such data, wrote the famous book “The Statistical Analysis of Compositional Data” (Aitchison, 1986, 2003) and multiple papers on the same topic, with associated MATLAB 5 software package CODA available from the author at the time of publication, updated versions now available for download at CoDAWeb. Aitchison’s log-ratio transformation overcomes the close-sum problem of closed data, i.e. data expressed as proportions and adding up to a fixed total such as 100 percent. The close-sum problem causes spurious negative correlations between pairs of variables that are avoided by logarithmizing ratios of the variables. Here is a simple MATLAB example illustrating the effect of Aitchison’s log-ratio transformation on compositional data. Continue reading “MATLAB Example to Illustrate John Aitchison’s Log-Ratio Transformation, Part 1”

Multispectral Cameras, Bayer Mosaics and Image Processing with MATLAB

When editing the images of the MAPIR Survey 2 NDVI camera, I learned a lot about how cameras actually capture and store images. The knowledge was important in order to properly import the images into MATLAB, process them and compute an NDVI image of them. If you do not do it right, you can see it immediately: You do not get a nice picture! Continue reading “Multispectral Cameras, Bayer Mosaics and Image Processing with MATLAB”

Which Vector Graphics Software do you Recommend to your Students?

The excellent graphics capabilities of MATLAB make it virtually unnecessary to edit graphics with vector graphics software (see blog post “Create Publishable Graphics with MATLAB“). Only very occasionally we need such software, for example to edit graphics that have not been created with MATLAB. Which both commercial and free software do you recommend your to students for this? Continue reading “Which Vector Graphics Software do you Recommend to your Students?”

Abrupt or Gradual? Change Point Analysis of the Late Pleistocene-Holocene Climate Record from Chew Bahir, Southern Ethiopia

Our newest work on past climate change in southern Ethiopia is out, using a MATLAB-based change point analysis to define the relative abruptness of climate transitions.

Download

Please use this link to download the data and the MATLAB code.

Reference

Trauth, M.H., Foerster, V., Junginger, A., Asrat, A., Lamb, H., Schaebitz, F. (2018) Abrupt or Gradual? Change Point Analysis of the Late Pleistocene-Holocene Climate Record from Chew Bahir, Southern Ethiopia. Quaternary Research, 90, 321-330.