FitAutocor: Fits an AR1 Autocorrelation Function Using Dichotomy
Description
This function fits the theoretical autocorrelation function of an AR1 to
the first guess of the estimated autocorrelation function estacf containing
any number of lags. The fitting relies on a dichotomial minimisation of the
mean square differences between both autocorrelation functions. It returns
the autocorrelation at lag 1 of the fitted AR1 process.