DPTreeDensity: Calculating sub-partition probabiltiy measures for a realized...

Description Usage Arguments Value References Examples

View source: R/DPtree.R

Description

DPTreeDensity returns the probablity measures in the finest sub-partitions of a realized distribution from D-P tree prior/posterior.

Usage

1

Arguments

Z

An array of dimension of 2^m by 2^m by m, m being the approximation level. Realized Z's for all partitions at each level, as returned by RealizeDPTree.

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 realized distribution from D-P tree.

References

\insertRef

DPtreeDPtree

Examples

1
2
dp.rlz <- RealizeDPTree(DPTreePrior(m=2, z=1))
DPTreeDensity(dp.rlz)

DPtree documentation built on May 2, 2019, 2:10 p.m.

Related to DPTreeDensity in DPtree...