Discrete stochastic processes and time series.- Trend definition.- Finite AR(1) stochastic process.- Monte Carlo experiments. - Monte Carlo statistical ensembles.- Numerical generation of trends.- Numerical generation of noisy time series.- Statistical hypothesis testing.- Testing the i.i.d. property.- Polynomial fitting.- Linear regression.- Polynomial fitting.- Polynomial fitting of artificial time series.- An astrophysical example.- Noise smoothing.-...