powered by
This function computes the logarithm of the Vnk weights for the Pitman-Yor model for given values of `n`, `k`, `Alpha`, and `Gama`.
log_Vnk_PY(n, k, Alpha, Gama)
A numeric value representing the logarithm of the NRMI for the specified parameters.
An integer representing the total number of observations.
An integer representing the number of clusters.
A numeric value for the concentration parameter.
A numeric value for the discount parameter.
BNPdensity:::log_Vnk_PY(7, 6, 0.5, 0.01) BNPdensity:::log_Vnk_PY(6, 5, 0.5, 0.001)
Run the code above in your browser using DataLab