Estimation of the value of alpha via the profile log-likelihood | R Documentation |
\alpha
via the alfa profile log-likelihood
Estimation of the value of \alpha
via the alfa profile log-likelihood.
alfa.profile(x, a = seq(-1, 1, by = 0.01))
x |
A matrix with the compositional data. Zero values are not allowed. |
a |
A grid of values of |
For every value of \alpha
the normal likelihood (see the refernece) is computed. At the end, the plot of the values is constructed.
A list including:
res |
The chosen value of |
ci |
An asympotic 95% confidence interval computed from the log-likelihood ratio test. |
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>.
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
alfa.tune, alfa, alfainv
x <- as.matrix(iris[, 1:4])
x <- x / rowSums(x)
alfa.tune(x)
alfa.profile(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.