Add a lastvalue regression method