aic: Model selection for Gaussian mixture models

Description Usage Arguments Value

Description

Calculate the AIC, corrected AIC, or BIC for a curve fit with a Gaussian mixture model by nonlinear least squares optimization. This function permits the calculation of the AIC/AICc/BIC after rejecting some Gaussians in the model, for example because their centres are outside the bounds of the profile.

Usage

1
2
3
4
5
gaussian_aic(coefs, chromatogram)

gaussian_aicc(coefs, chromatogram)

gaussian_bic(coefs, chromatogram)

Arguments

coefs

the coefficients of the Gaussian mixture model, output by fit_gaussians

chromatogram

the raw elution profile

Value

the AIC, corrected AIC, or BIC of the fit model


fosterlab/PrInCE-R documentation built on Dec. 11, 2020, 3:51 p.m.