Description Usage Arguments Value Examples
Update a BSP prior with data and return a BSP posterior
1 | bspPosterior(bspPriorObject, data, calculateMoments = TRUE)
|
data |
An nx2 matrix of data the first column are the actual data the second column contains the censoring variable 0 - if right censored 1 - if fully observed |
calculateMoments |
A flag to indicate whether second moments should be calculated. If the posterior is a component that will be merged with other components this should be TRUE; otherwise, setting to FALSE can save time. |
bspPrior |
The BSP object that defines the BSP prior |
An object representing a Beta-Stacy Process.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.