Statistical inference for piecewise-deterministic Markov processes. (2018)