Description Usage Arguments Value References Examples
SampleDPTreeDensity
returns
a copula sample from a realized distribution from D-P tree.
1 | SampleDPTreeDensity(nsam, d)
|
nsam |
A positive integer. The sample size. |
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 |
An array of dimension nsam by 2. The values of PDF of the input D-P tree distribution evaluated at the input points.
DPtreeDPtree
1 | SampleDPTreeDensity(10, DPTreePMeanDensity(DPTreePrior(m=2, z=1)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.