Description Usage Arguments Value Author(s) References See Also

Method for sample-based prediction using the output of `MfU.Sample.Run`

.

1 2 3 4 5 6 7 8 |

`object` |
Object of class "MfU" (output of |

`fpred` |
Prediction function, accepting a single value for the state vector and producing a vector of outputs. |

`start` |
Which iteration to start from for calculating sample statistics. |

`end` |
Last iteration to use for calculating sample statistics. Defaults to last iteration. |

`thin` |
One out of |

`quantiles` |
Values for which sample-based quantiles are calculated. |

`x` |
An object of class "summary.predict.MfU". |

`n` |
Number of rows of prediction matrix to print. |

`...` |
Arguments passed to/from other functions. |

`predict.MfU`

produces a matrix with number of rows equal to the length of prediction vector produces by `fpred`

. Its numnber of columns is equal to the number of samples used within the user-specified range, and after thinning (if any). `summary.predict.MfU`

produces sample-based prediction mean, standard deviation, quantiles, and effective sample size.

Alireza S. Mahani, Mansour T.A. Sharabiani

Mahani A.S and Sharabiani M.T.A. (2017). Multivariate-From-Univariate MCMC Sampler: The R Package MfUSampler. Journal of Statistical Software, Code Snippets, 78(1), 1-22. doi:10.18637/jss.v078.c01

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.