akaike.all: LOESS regression parameters selection through AIC...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function applies Akaike Information Criterion (AIC) to varying α and degree in LOESS regression for multiple taxa. The final result contains alpha and degree values that minimize AIC for each taxon LOESS regression as a function of the environmental parameter.

Usage

1
akaike.all(x, y, interval = c(0.15, 1, 0.05))

Arguments

x

A vector containing the environmental gradient value for each sample or location.

y

A matrix containing the observed taxa abundances along the environmental gradient. Taxa are in columns and samples in rows.

interval

α values to be evaluated. Three numbers in the following order: lower and upper limits of the sequence of α values to be evaluated, and increment of the sequence.

Details

See akaike.l for details. This procedure is less computation intensive than cross-validation, but the resulting parameters do not provide the LOESS regression that best fit the data. Instead, it selects the parameters that best fit the data conditioned to simplicity of the model.

Value

A matrix containing the values of α and degree that minimize AIC of the LOESS regression for each taxon, and the value of the AIC.

Author(s)

Alexander Correa-Metrio, Kenneth R. Cabrera.

References

Correa-Metrio, A., M.B. Bush, L.Perez, A. Schwalb, and K. Cabrera. Accepted. Pollen distribution along climatic and biogeographic gradients in northern Central America. The Holocene

Hurvich, C.M., and J.S. Simonoff. 1998. Smoothing parameters selection in nonparametric regression using an improved Akaike information criterion. Journal of the Royal Society, Series B 60: 271-293.

Cleveland, W.S., and S.J. Devlin. 1988. Locally weighted regression: An approach to regression analysis by local fitting. Journal of the American Statistical Association 83: 596-610.

See Also

loess for details on LOESS regression, and akaike.l for details on AIC.

Examples

1
2
3
4
data(modernq)
# Calculate percentages
perq<-percenta(modernq,first=2,last=39)[,2:55]
akaike.all(modernq[,1],perq[,1:10])

paleoMAS documentation built on May 2, 2019, 6:46 a.m.