aic: Akaike information criterion (with correction)

Description Usage Arguments Value Examples

View source: R/aic.R

Description

Calculates AIC or AICc.

Usage

1
2
3
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

1
aicc(100,5,15)

RNAdecay documentation built on Nov. 8, 2020, 5:52 p.m.