The alpha-kernel regression for compositional response data {Compositional}R Documentation

The α-kernel regression for compositional response data

Description

The α-kernel regression for compositional response data.

Usage

akern.reg( xnew, y, x, a = seq(0.1, 1, by = 0.1), h = seq(0.1, 1, length = 10) )

Arguments

xnew

A matrix with the new predictor variables whose compositions are to be predicted.

y

A matrix with the compositional response data. Zeros are allowed.

x

A matrix with the available predictor variables.

a

The value(s) of α. Either a single value or a vector of values. As zero values in the compositional data are allowed, you must be careful to choose strictly positive vcalues of α. However, if negative values are passed, the positive ones are used only.

h

The bandwidth value(s) to consider.

Details

The α-kernel regression for compositional response variables is applied.

Value

A list with the estimated compositional response data for each value of α and h.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Michail Tsagris, Abdulaziz Alenazi and Connie Stewart (2021). Non-parametric regression models for compositional data. https://arxiv.org/pdf/2002.05137.pdf

See Also

akernreg.tune, aknn.reg, aknnreg.tune, alfa.reg, comp.ppr, comp.reg, kl.compreg

Examples

y <- as.matrix( iris[, 1:3] )
y <- y / rowSums(y)
x <- iris[, 4]
mod <- akern.reg( x, y, x, a = c(0.4, 0.5), h = c(0.1, 0.2) )

[Package Compositional version 5.2 Index]