powered by
DPTreePrior returns a standard D-P Tree prior based on specified hyperparameters.
DPTreePrior
DPTreePrior(m = 4, z = 1)
A positive integer. The finite approximation level for D-P tree. Default m=4.
A positive number. On i-th level, the hyperparameter for D-P tree prior is \(z\times i^2\). Default z=1.
A list.
An array containing the hyperparameters of D-P trees.
DPtreeDPtree
# NOT RUN { DPTreePrior(m=6, z=1) # }
Run the code above in your browser using DataLab