Learn R Programming

NetworkChange (version 1.0.0)

BreakPointLoss: Compute the Average Loss of Hidden State Changes from Expected Break Points

Description

Compute the Average Loss of Hidden State Changes from Expected Break Points

Usage

BreakPointLoss(model.list, waic = FALSE, display = TRUE)

Value

BreakPointLoss returns five objects. They are: ave.loss the expected loss for each model computed by the mean sqaured distance of hidden state changes from the expected break points. logmarglike the natural log of the marginal likelihood for each model; State sampled state vectors; Tau expected break points for each model; and Tau.samp sampled break points from hidden state draws.

Arguments

model.list

MCMC output objects. These have to be of class mcmc and have a logmarglike attribute. In what follows, we let M denote the total number of models to be compared.

waic

If waic is TRUE, waic(Watanabe information criterion) will be reported.

display

If display is TRUE, a plot of ave.loss will be produced.

BreakPointLoss. ave.loss, logmarglike, State, Tau, Tau.samp

References

Jong Hee Park and Yunkyun Sohn. 2020. "Detecting Structural Change in Longitudinal Network Data." Bayesian Analysis. Vol.15, No.1, pp.133-157.