Estimating time-series models from irregularly spaced data