bic {remstimate}R Documentation

bic

Description

A function that returns the BIC (Bayesian Information Criterion) value in a 'remstimate' object.

Usage

bic(object, ...)

## S3 method for class 'remstimate'
bic(object, ...)

Arguments

object

is a remstimate object.

...

further arguments to be passed to the 'bic' method.

Value

BIC value of a 'remstimate' object.

Methods (by class)

Examples


# ------------------------------------ #
#       tie-oriented model: "MLE"      #
# ------------------------------------ #

# loading data
data(tie_data)

# processing event sequence with remify
tie_reh <- remify::remify(edgelist = tie_data$edgelist, model = "tie")
  
# specifying linear predictor
tie_model <- ~ 1 + 
               remstats::indegreeSender()+
               remstats::inertia()+
               remstats::reciprocity() 

# calculating statistics
tie_reh_stats <- remstats::remstats(reh = tie_reh, 
                                    tie_effects = tie_model)

# running estimation
tie_mle <- remstimate::remstimate(reh = tie_reh,
                                  stats = tie_reh_stats,
                                  method = "MLE",
                                  ncores = 1)

# BIC
bic(tie_mle) 


[Package remstimate version 2.3.9 Index]