Description Usage Arguments Value Examples
Simulations of the fiducial predictive distribution.
1 | gfilinregPredictive(fidsamples, newdata)
|
fidsamples |
fiducial samples, the output of |
newdata |
dataframe in which to look for variables with which to
predict, or |
A list with two fields: FPD
, a dataframe containing the
simulations, and weight
, their weight. This is a
gfilinreg
object.
1 2 3 4 5 6 | set.seed(666L)
x <- c(1, 2, 3, 4)
y <- x + 3 * rcauchy(4L)
gf <- gfilinreg(y ~ x, distr = "cauchy", L = 30L, nthreads = 2L)
gfpred <- gfilinregPredictive(gf, data.frame(x = c(4, 5)))
gfiSummary(gfpred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.