Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

alfa.profile

Estimation of the value of α via the alfa profile log-likelihood


Description

Estimation of the value of α via the alfa profile log-likelihood.

Usage

alfa.profile(x, a = seq(-1, 1, by = 0.01))

Arguments

x

A matrix with the compositional data. Zero values are not allowed.

a

A grid of values of α.

Details

For every value of α the normal likelihood (see the refernece) is computed. At the end, the plot of the values is constructed.

Value

A list including:

res

The chosen value of α, the corresponding log-likelihood value and the log-likelihood when α=0.

ci

An asympotic 95% confidence interval computed from the log-likelihood ratio test.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>

References

Tsagris M.T., Preston S. and Wood A.T.A. (2011). A data-based power transformation for compositional data. In Proceedings of the 4th Compositional Data Analysis Workshop, Girona, Spain. https://arxiv.org/pdf/1106.1451.pdf

See Also

Examples

x <- as.matrix(iris[, 1:4])
x <- x / rowSums(x)
alfa.tune(x)
alfa.profile(x)

Compositional

Compositional Data Analysis

v4.6
GPL (>= 2)
Authors
Michail Tsagris [aut, cre], Giorgos Athineou [aut], Abdulaziz Alenazi [ctb]
Initial release
2021-04-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.