A dynamic approach to the statistical analysis of point processes