GammaPriorCh

0th

Percentile

Compute Parameters to Calibrate a Gamma Distribution

Compute parameters to calibrate the prior distribution of a relative risk that has a gamma distribution.

Keywords
file
Usage
GammaPriorCh(theta, prob, d)
Arguments
theta

upper quantile

prob

upper quantile

d

degrees of freedom

Value

A list containing

a

shape parameter

b

rate parameter

See Also

LogNormalPriorCh

Aliases
  • GammaPriorCh
Examples
# NOT RUN {
param <- GammaPriorCh(5, 0.975,1)
curve(dgamma(x,shape=param$a,rate=param$b),from=0,to=6,n=1000,ylab="density")
# }
Documentation reproduced from package SpatialEpi, version 1.2.3, License: GPL-2

Community examples

Looks like there are no examples yet.