prior: prior

Description Usage Arguments Value Author(s) See Also

View source: R/adaptative_mcmc_utilities.R

Description

Function to calculate the prior distribution of the parameters used in the drawdown calculations with analytical models.

Usage

1
prior(par, prior.pdf, prior.parameters)

Arguments

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.

Value

A numeric value with the sum of the logarithms of the prior distributions

Author(s)

Oscar Garcia-Cabrejo khaors@gmail.com

See Also

Other amcmc_auxiliary_function functions: posterior, proposalfunction_cov, proposalfunction, run_adap_metropolis_MCMC


khaors/pumpingtest documentation built on Nov. 15, 2019, 8:10 p.m.