DPTreePMeanDensity function

Calculating sub-partition probabiltiy measures for the posterior mean distribution from D-P tree.

Calculating sub-partition probabiltiy measures for the posterior mean distribution from D-P tree.

DPTreePMeanDensity returns the probablity measures in the finest sub-partitions of the posterior mean from D-P tree.

DPTreePMeanDensity(prior)

Arguments

  • prior: A list. D-P tree specification. Should be in same format as returned from DPTreePrior or DPTreePosterior.

Returns

A 2m2^m by 2m2^m matrix. Normalized measures for all 2m2^m by 2m2^m sub-partititons on copula space given by the posterior mean distribution from D-P tree.

Examples

DPTreePMeanDensity(DPTreePrior(m=2, z=1))

References

Rdpack::insert_ref(key="DPtree",package="DPtree")

  • Maintainer: Shaoyang Ning
  • License: MIT + file LICENSE
  • Last published: 2018-06-19

Useful links