Generating the standard D-P Tree prior
DPTreePrior
returns a standard D-P Tree prior based on specified hyperparameters.
DPTreePrior(m = 4, z = 1)
m
: A positive integer. The finite approximation level for D-P tree. Default m=4.z
: A positive number. On i-th level, the hyperparameter for D-P tree prior is . Default z=1.A list. - a: An array containing the hyperparameters of D-P trees.
DPTreePrior(m=6, z=1)
Rdpack::insert_ref(key="DPtree",package="DPtree")
Useful links