Description Usage Arguments Value References Examples
dDPTreeRealize
returns
the value of density function of realized distribution from D-P tree at certain given point on copula space.
1 | dDPTreeRealize(d, x)
|
d |
A 2^m by 2^m matrix, m being the approximating level. Normalized measures for all 2^m by 2^m sub-partititons on copula space
given by the realized distribution from D-P tree, as returned by |
x |
An array of dimension n by 2. The points on copula space for density function evluation. Should be between 0 and 1. |
An array of length n. The values of PDF of the input D-P tree distribution evaluated at the input points.
DPtreeDPtree
1 | dDPTreeRealize(DPTreePMeanDensity(DPTreePrior(m=2, z=1)),c(0.5,0.5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.