compreg estimates a compositional regression with isometric log-ratio (ILR) transformation of the components. Compositional regression with isometric log-ratio (ILR) transformation is a statistical method used when dealing with compositional data, independent variables represent parts of a whole and sum up to a constant, e.g. 1, 100%, or any number.

ilr computes a isometric log-ratio (ILR) transformation on a set of variables (n>2). ILR transformation is a mathematical technique used in compositional data analysis.

onedrive locates a user’s Microsoft OneDrive directory and sets Stata’s working directory to that location. The command is useful for running do-files saved in OneDrive across different computers (e.g., office or home) or shared between colleagues without the need to manually amend the working directory in the do-file.