getPredictiveDistribution: Calculates predictive distribution based on the parameters

Description Usage Arguments Details Author(s) See Also

View source: R/mcmcConfidence.R

Description

Calculates predictive distribution based on the parameters

Usage

1
getPredictiveDistribution(parMatrix, model, numSamples = 1000)

Arguments

parMatrix

matrix of parameter values

model

model / function to calculate predictions. Outcome should be a vector

numSamples

number of samples to be drawn

Details

If numSamples is greater than the number of rows in parMatrix, or NULL, or FALSE, or less than 1 all samples in parMatrix will be used.

Author(s)

Florian Hartig

See Also

getPredictiveIntervals
getCredibleIntervals


BayesianTools documentation built on Dec. 10, 2019, 1:08 a.m.