get_point_estimate: Create an estimate on posterior distribution of...

View source: R/fit_regimes.R

get_point_estimateR Documentation

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)

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.

Value

vector. Indicator values corresponding to change-point locations.


bayesWatch documentation built on June 22, 2024, 7:36 p.m.