Optimal filtering of doubly stochastic auto-regressive processes