getSegmentProb function

(Internal) Convert a theta distribution to segment-wise classification probabilities

(Internal) Convert a theta distribution to segment-wise classification probabilities

getSegmentProb is an internal function for converting a theta distribution to segment-wise classification probabilities This is used for BIGM-BAYESIAN exposure control.

getSegmentProb(posterior_sample, simulation_constants)

Arguments

  • posterior_sample: a vector containing values in a Markov chain.
  • simulation_constants: a named list containing simulation constants.

Returns

getSegmentProb returns a vector of segment-wise classification probabilities.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22