Learn R Programming

bayesWatch (version 0.1.4)

get_point_estimate: Create an estimate on posterior distribution of change-points.

Description

Given a bayesWatch object and a probability cutoff, finds change-points.

Usage

get_point_estimate(regime_fit_object, prob_cutoff)

Value

vector. Indicator values corresponding to change-point locations.

Arguments

regime_fit_object

bayesWatch object. Fit with the bayesWatch method.

prob_cutoff

float in (0,1). Posterior probabilities above this cutoff will be considered changepoints.