Function that returns the correct weights for weighted bootstrap

getWeights(weights, draw_weights, cluster_index)

Arguments

weights

vector of existing regression weights

draw_weights

whether draw random exponential weights

cluster_index

number of weights to draw