Use a Beta distribution for set probabilities along a path

getBetaStepProbs(steps, alpha, beta)

Arguments

steps

Number of steps

alpha

Alpha parameter

beta

Beta parameter

Value

Vector of probabilities

Details

The density is sampled from a Beta distribution between 0 and 1. Infinite densities at edges are adjusted and then the values are scaled to give probabilities.