modelAvg {binequality}R Documentation

A function to calculate model averages

Description

This function calculates model averaged statistics using AIC and BIC.

Usage

modelAvg(fitList, ID, nonCon = TRUE)

Arguments

fitList

a (non-empty) list of fitted distributions

ID

a (non-empty) string of the ID column name.

nonCon

an optional logical, where nonCon == TRUE excludes models failing to converged and nonCon == FALSE includes them.

Details

Calculates model averaged statistics using BIC and AIC as weights.

Value

Returns a list with aic and bic values, aic and bic averages, and the aic and bic weights.

Examples

#not run, internal function

[Package binequality version 1.0.4 Index]