Estimation of sedimentary proxy records together with associated uncertainty