Proposal function for MCMC random walk, taking random steps of a given size.
univ_proposal(values, lower_bounds, upper_bounds, steps, index)
| values | a vector of the parameters to be explored |
|---|---|
| lower_bounds | a vector of the low allowable bounds for the proposal |
| upper_bounds | a vector of the upper allowable bounds for the proposal |
| steps | a vector of step sizes for the proposal |
| index | numeric value for the index of the parameter to be moved from the param table and vector |
the parameter vector after step
Other proposals:
inf_hist_swap_phi(),
inf_hist_swap(),
infection_history_symmetric(),
mvr_proposal()