par_draw: Draw parameters

Description Usage Arguments Details Value

Description

Update parameters using their prior (given by kineticParPrior) - update those those parameters whose index is in "updates"

Usage

1
par_draw(updates, current_pars, kineticParPrior)

Arguments

updates

the parameters corresponding to indeces of kineticParPrior

current_pars

current kinetic parameters some which will be overwritten

kineticParPrior

parameters for the proposal distribution of each kinetic parameter

Details

Options for these parameters are: -@-@ unif: uniform in log-space: par_1 = lowerbound, par_2 = upperbound. draw in log2 space and exponentiate back to linear space -@-@ norm: lognormal: in log2 space draw a value from mean = par_1, sd = par_2 -@-@ SpSl: spike and slab (In log2 space: the spike is a point mass at zero with p = par_3, the slab is a normal with mean = par_1 and sd = par_2)

Value

updated kinetic parameters


shackett/simmer documentation built on May 29, 2019, 8:06 p.m.