standrc_priors: Priors for standrc model parameters

Description Usage Arguments Details Author(s) See Also

Description

Definition of prior distributions for standrc model parameters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  standrc_priors(b="normal(pb, 100)",
                 c="normal(pc, 100)",
                 d="normal(pd, 100)",
                 e="normal(pe, 100)",
                 f="normal(pf, 100)",
                 sy="inv_gamma(0.001, 0.001)",
                 sb="inv_gamma(0.001, 0.001)",
                 sc="inv_gamma(0.001, 0.001)",
                 sd="inv_gamma(0.001, 0.001)",
                 se="inv_gamma(0.001, 0.001)",
                 sf="inv_gamma(0.001, 0.001)",
                 pb=NULL,
                 pc=NULL,
                 pd=NULL,
                 pe=NULL,
                 pf=NULL)

Arguments

b

prior for the slope parameter (on log scale)

c

prior for the asymptote parameter

d

prior for the 2nd asymptote parameter

e

prior for the effective dose parameter

f

prior for the asymmetry parameter (on log scale)

sy

prior for the residual standard deviation

sb

prior for the slope random effect standard deviation

sc

prior for the asymptote random effect standard deviation

sd

prior for the 2nd asymptote random effect standard deviation

se

prior for the effective doserandom effect standard deviation

sf

prior for the asymmetry random effect standard deviation

pb

prior mean vector for the slope parameter (if NULL, it is drived from the data)

pc

prior mean vector for the asymptote parameter (if NULL, it is drived from the data)

pd

prior mean vector for the 2nd asymptote parameter (if NULL, it is drived from the data)

pe

prior mean vector for the effective dose parameter (if NULL, it is drived from the data)

pf

prior mean vector for the asymmetry parameter (if NULL, it is drived from the data)

Details

The priors are defined by character strings, containing stan code with the distributional assumptions for each parameter. pb, pc, pd, pe, pf contain the automatically derived prior means and can be replaced by supplying vectors for the arguments pb, ..., pf.

Author(s)

Daniel Gerhard

See Also

standrm


daniel-gerhard/standrc documentation built on May 14, 2019, 3:39 p.m.