View source: R/param_transformations.R
draw_from_radius | R Documentation |
draw_from_radius description Stan starts initial values by drawing random values within a radius (+/-2) around zero this script will have a fun, that will draw a range of parameters from this, that you can feed into your model to run deterministically to identify problem parameters when you
draw_from_radius(
n = 10,
lower_bound = -Inf,
upper_bound = Inf,
minus_init_radius = -2,
plus_init_radius = 2
)
n |
number of starting values |
lower_bound |
Lower bound of parameter |
upper_bound |
Upper bound of parameter |
minus_init_radius |
lower bound of radius to draw unconstrained starting values |
plus_init_radius |
upper bound of radius to draw unconstrained starting values |
start_values for model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.