proposeContinuous {EDISON}R Documentation

Propose a new real hyperparameter value.

Description

This function proposes a new real values hyperparameter for the information sharing prior.

Usage

proposeContinuous(orig_beta, proposal_range, limit = 30)

Arguments

orig_beta

Current value of the hyperparameter.

proposal_range

Range for the new value.

limit

Hard limit on the range.

Value

Returns a new uniformly random value within proposal_range of orig_beta and limited by limit.

Author(s)

Frank Dondelinger

See Also

ProposeDiscrete

Examples


# Previous parameter value
param = runif(1, 0, 1)

# Propose new value within range [0, 1], with proposal width 0.1
new.param = proposeContinuous(param, 0.1, 1)


[Package EDISON version 1.1.1 Index]