We build penalized least-squares estimators of the marginal density of a stationary process, using the slope algorithm and resampling penalties. When the data are or -mixing, these estimators satisfy oracle inequalities with leading constant asymptotically equal to 1.
View on arXiv