  We study a non-Markovian random walk in dimension 1. It depends on two
parameters eps_r and eps_l, the probabilities to go straight on when walking to
the right, respectively to the left. The position x of the walk after n steps
and the number of reversals of direction k are used to estimate eps_r and
eps_l. We calculate the joint probability distribution p_n(x,k) in closed form
and show that, approximately, it belongs to the exponential family.
