Uniform weak convergence of semimartingales with applications to the estimation of a parameter in an autoregression model of the first orderстатья