Predict Method for Poisson Mixtures

1 2 |

`object` |
fitted object of class "Pmix" |

`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. |

`newexposure` |
exposure values for the predictions |

`...` |
optional arguments to predict |

The predict method for `Pmix`

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.