Learn R Programming

⚠️There's a newer version (5.5) of this package.Take me there.

Compositional (version 1.4)

Compositional Data Analysis

Description

A collection of functions for compositional data analysis.

Copy Link

Version

Install

install.packages('Compositional')

Monthly Downloads

1,183

Version

1.4

License

GPL (>= 2)

Maintainer

Michail Tsagris

Last Published

July 8th, 2016

Functions in Compositional (1.4)

Hypothesis testing for two or more compositional mean vectors

Hypothesis testing for two or more compositional mean vectors
Contour plot of the kernel density estimate in S^2

Contour plot of the kernel density estimate in $S^2$
The k-NN algorithm for compositional data

The k-NN algorithm for compositional data
Estimating location and scatter parameters for compositional data

Estimating location and scatter parameters for compositional data
Ridge regression with the alpha-transformation plot

Ridge regression plot
Multivariate regression with compositional data

Multivariate regression with compositional data
bMixture model selection via BIC

Mixture model selection via BIC
Contour plot of the t distribution in S^2

Contour plot of the t distribution in $S^2$
Regularised discriminant analysis for compositional data using the alpha-transformation

Regularised discriminant analysis for compositional data using the $\alpha$-transformation
Cross validation for the regularised discriminant analysis with compositional data using the alpha-transformation

Cross validation for the regularised discriminant analysis with compositional data using the $\alpha$-transformation
Exponential empirical likelihood hypothesis testing for two mean vectors

Exponential empirical likelihood hypothesis testing for two mean vectors
Exponential empirical likelihood for a one sample mean vector hypothesis testing

Exponential empirical likelihood for a one sample mean vector hypothesis testing
Compositional-package

Compositional Data Analysis
Tuning of the k-NN algorithm for compositional data

Tuning of the he k-NN algorithm for compositional data
Log-likelihood ratio test for a Dirichlet mean vector

Log-likelihood ratio test for a Dirichlet mean vector
Contour plot of a Dirichlet distribution in S^2

Contour plot of a Dirichlet distribution in $S^2$
Dirichlet regression

Dirichlet regression
Empirical likelihood for a one sample mean vector hypothesis testing

Empirical likelihood for a one sample mean vector hypothesis testing
Fitting a Dirichlet distribution via Newton-Rapshon

Fitting a Dirichlet distribution via Newton-Rapshon
Principal component generalised linear models

Principal component generalised linear models
The Helmert sub-matrix

The Helmert sub-matrix
Tuning the principal components with GLMs

Tuning the principal components with GLMs
Empirical likelihood hypothesis testing for two mean vectors

Empirical likelihood hypothesis testing for two mean vectors
Kullback-Leibler divergence and Bhattacharyya distance between two Dirichlet distributions

Kullback-Leibler divergence and Bhattacharyya distance between two Dirichlet distributions
iiting a Dirichlet distribution

Fiiting a Dirichlet distribution
James multivariate version of the t-test

James multivariate version of the t-test
Divergence based regression for compositional data

Divergence based regression for compositional data
hotel1T2

Hotelling's multivariate version of the t-test
Contour plot of a Gaussian mixture model in S^2

Contour plot of a Gaussian mixture model in $S^2$
Tuning of the bandwidth h of the kernel using the maximum likelihood cross validation

Tuning of the bandwidth h of the kernel using the maximum likelihood cross validation
Principal components regression

Principal components regression
MLE for the multivarite t distribution

MLE for the multivarite t distribution
Hotelling's multivariate version of the t-test

Hotelling's multivariate version of the t-test
Multivariate kernel density estimation

Multivariate kernel density estimation
Multivariate linear regression

Multivariate linear regression
Contour plot of the normal distribution in S^2

Contour plot of the normal distribution in $S^2$
Multivariate analysis of variance

Multivariate analysis of variance
Non linear least squares regression for compositional data

Non linear least squares regression for compositional data
Multivariate analysis of variance (James test)

Multivariate analysis of variance (James test)
Ridge regression plot

Ridge regression plot
Gaussian mixture models for compositional data

Gaussian mixture models for compositional data
Regularised discriminant analysis for Euclidean data

Regularised discriminant analysis for Euclidean data
Multivariate t random values simulation on the simplex

Multivariate t random values simulation on the simplex
Cross validation for the ridge regression

Cross validation for the ridge regression
Dirichlet random values simulation

Dirichlet random values simulation
Tuning the parameters of the regularised discriminant analysis

Tuning the parameters of the regularised discriminant analysis
Multivariate normal random values simulation on the simplex

Multivariate normal random values simulation on the simplex
Tuning of the principal components regression

Tuning of the principal components regression
Multivariate skew normal random values simulation on the simplex

Multivariate skew normal random values simulation on the simplex
Multivariate t random values simulation

Multivariate t random values simulation
Spatial median for Euclidean data

Spatial median for Euclidean data
Contour plot of the skew skewnormal distribution in S^2

Contour plot of the skew skewnormal distribution in $S^2$
Ridge regression

Ridge regression
Spatial median regression

Spatial median regression
Simulation of compositional data from Gaussian mixture models

Simulation of compositional data from Gaussian mixture models
Ternary diagram

Ternary diagram
Multivariate normal random values simulation

Multivariate normal random values simulation
Log-likelihood ratio test for a symmetric Dirichlet distribution

Log-likelihood ratio test for a symmetric Dirichlet distribution
Spatial sign covariance matrix

Spatial sign covariance matrix