Distribution and extrapolation of time series by related series using logarithms and smoothing penalties