Useful function to estimate the parameter a
foo_a(x, nb, left_bound, right_bound)
x
x.
nb
nb.
left_bound
left_bound.
right_bound
right_bound.
a numeric.