get_ic: Get Information Criterion

View source: R/get_ic.R

get_icR Documentation

Get Information Criterion

Description

Function to compute AIC, BIC and GCV.

Usage

get_ic(nll, df, n = NA, ic)

Arguments

nll

final negative loglikelihood value (on the sum scale).

df

Degrees of freedom (typically, number of estimated parameters, though may differ under fusion)

n

number of observations (denominator of nll)

ic

string specifying the criterion selected.

Value

a number representing the requested information criterion.


hreed7/SemiCompRisksPen documentation built on Dec. 15, 2024, 5:41 p.m.