Function to calculate the prior distribution of the parameters used in the drawdown calculations with analytical models.
prior(par, prior.pdf, prior.parameters)
| par | A numeric vector with the values of the drawdown model parameters |
|---|---|
| prior.pdf | A character vector with the names of the probability density functions for each parameters. Currently only 'unif' and 'norm' are supported. |
| prior.parameters | A matrix with the parameters of the probability density functions. If the pdf is 'unif' then the min and max must be specified, whereas in the case of a normal distribution the mean and standard deviation. |
A numeric value with the sum of the logarithms of the prior distributions
Other amcmc_auxiliary_function functions: posterior,
proposalfunction_cov,
proposalfunction,
run_adap_metropolis_MCMC