vblpcmKL function

print and returns the Kullback-Leibler divergence from the fitted vblpcm object to the true LPCM posterior

print and returns the Kullback-Leibler divergence from the fitted vblpcm object to the true LPCM posterior

vblpcmKL(x)

Arguments

  • x: The fitted values; output from vblpcmfit() or vblpcmstart()

Author(s)

Michael Salter-Townshend

Details

The normalising constant of the posterior is unknown and therefore the Kullback-Leibler divergence is missing a constant.

  • Maintainer: Michael Salter-Townshend
  • License: GPL (>= 2)
  • Last published: 2023-03-22