Learn R Programming

DPtree (version 1.0.1)

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

Description

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

Usage

DPTreePMeanDensity(prior)

Arguments

prior

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

Value

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

References

DPtreeDPtree

Examples

Run this code
# NOT RUN {
DPTreePMeanDensity(DPTreePrior(m=2, z=1))
# }

Run the code above in your browser using DataLab