Description Usage Arguments Details
Predict method for the LSBP estimated using the Gibbs sampling algorithm.
1 2 3 |
object |
An object of class |
type |
String indicating the type of prediction: |
newdata |
A new data frame containing the same variables declared in |
threshold |
Only needed if |
... |
Further arguments passed to or from other methods. |
The method predict.LSBP_Gibbs
produces a sample of predicted values, obtained by evaluating the conditional mean of the LSBP model or the predictive distribution, using the observations contained in the newdata
data frame.
If type="mean"
a sample from the posterior distribution of the LSBP mean is returned. If type="predictive"
is selected, then a sample from the predictive distribution is returned. If type="variance"
a sample from the posterior distribution of the LSBP variance is returned. If type="cdf"
a sample from the posterior distribution of the LSBP cumulative distribution function is returned, evaluated at threshold
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.