The discrete time version of a Vasicek model is equivalent to an AR(1) model with opportunely chosen parameters, as showed in this paper: http://www.damianobrigo.it/toolboxweb.pdf.
Following this procedure, having fitted an AR(1) model I can recover the parameter of a Vasicek model, but what about the standard errors? Is there a way to obtain them from the AR(1) estimates as well?
Since I'm interested in the regime-switching version of these processes, I cannot use the usual MLE, and all the R or MATLAB packages have implementation just for the regime-switching AR model.