The intensity
of a counting process is a measure of the rate of change of its predictable part. If a stochastic process
is a counting process, then it is a submartingale, and in particular its Doob-Meyer decomposition is
![{\displaystyle N(t)=M(t)+\Lambda (t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bcfcda79348f73014f65bb979cbe90d09edb7ae1)
where
is a martingale and
is a predictable increasing process.
is called the cumulative intensity of
and it is related to
by
.
Given probability space
and a counting process
which is adapted to the filtration
, the intensity of
is the process
defined by the following limit:
.
The right-continuity property of counting processes allows us to take this limit from the right.[1]
In statistical learning, the variation between
and its estimator
can be bounded with the use of oracle inequalities.
If a counting process
is restricted to
and
i.i.d. copies are observed on that interval,
, then the least squares functional for the intensity is
![{\displaystyle R_{n}(\lambda )=\int _{0}^{1}\lambda (t)^{2}dt-{\frac {2}{n}}\sum _{i=1}^{n}\int _{0}^{1}\lambda (t)dN_{i}(t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/488a655a1d6b1f4de61c87d27ddb8a597923bbaf)
which involves an Ito integral. If the assumption is made that
is piecewise constant on
, i.e. it depends on a vector of constants
and can be written
,
where the
have a factor of
so that they are orthonormal under the standard
norm, then by choosing appropriate data-driven weights
which depend on a parameter
and introducing the weighted norm
,
the estimator for
can be given:
.
Then, the estimator
is just
. With these preliminaries, an oracle inequality bounding the
norm
is as follows: for appropriate choice of
,
![{\displaystyle \|{\hat {\lambda }}-\lambda \|^{2}\leq \inf _{\beta \in \mathbb {R} _{+}^{m}}\left\{\|\lambda _{\beta }-\lambda \|^{2}+2\|\beta \|_{\hat {w}}\right\}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9663e1310c8b24f007f9454c328a8dc920edee85)
with probability greater than or equal to
.[2]