bic: Extract the Bayesian Information Criterion

View source: R/output_functions.R

bicR Documentation

Extract the Bayesian Information Criterion

Description

This function extract the BIC value from a fitted object..

Usage

bic(x, digits = 3)

Arguments

x

An object of class ExtDep_Bayes.

digits

Integer indicating the number of decimal places to be reported.

Value

A vector.

Author(s)

Simone Padoan, simone.padoan@unibocconi.it, https://faculty.unibocconi.it/simonepadoan/; Boris Beranger, borisberanger@gmail.com https://www.borisberanger.com;

See Also

fExtDep

Examples

## Not run: 
data(pollution)
Hpar.hr <- list(mean.lambda = 0, sd.lambda = 3)
PNS.hr <- fExtDep(x = PNS, method = "BayesianPPP", model = "HR", 
                  Nsim = 5e+4, Nbin = 3e+4, Hpar = Hpar.hr, 
                  MCpar = 0.35, seed = 14342)
bic(PNS.hr)

## End(Not run)

ExtremalDep documentation built on Aug. 21, 2025, 5:57 p.m.