On the convergence of the estimated posterior density weighted algorithm