Description Usage Arguments Details Value Author(s)

Predict Method for Binomial Mixtures

1 2 |

`object` |
fitted object of class "Bmix" |

`newdata` |
Values at which prediction is desired |

`Loss` |
Loss function used to generate prediction: Currently supported values: 2 to get mean predictions, 1 to get median predictions, 0 to get modal predictions or any tau in (0,1) to get tau-th quantile predictions. |

`newk` |
k values (number of trials) for the predictions |

`...` |
optional arguments to predict |

The predict method for `Bmix`

objects will compute means, quantiles or
modes of the posterior according to the `Loss`

argument. Typically,
`newdata`

would be passed to `predict`

A vector of predictions

Jiaying Gu

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.