aic: Akaike information criterion (with correction)

View source: R/aic.R

aicR Documentation

Akaike information criterion (with correction)

Description

Calculates AIC or AICc.

Usage

aic(maxlLik, p)

aicc(maxlLik, p, n)

Arguments

maxlLik

maximum log likelihood value identified upon model convergence

p

number of parameters in the model

n

is the total number of observations of a single gene (e.g., 8 time points X 4 replicates X 4 treatments/genotypes = 128)

Value

returns the AIC or AICc values

Examples

aicc(100,5,15)

reedssorenson/RNAdecay documentation built on Oct. 28, 2023, 11:31 a.m.