ajdmom.cpp_mom¶
Moments of a Compound Poisson Process variable
Compound Poisson Process
where \(N(t)\) is a Poisson process with rate \(\lambda\). For our purpose, I define variable \(J_n \triangleq \sum_{i=N((n-1)h)+1}^{N(nh)}j_i\) if \(N(nh) - N((n-1)h) > 0\), otherwise \(J_n \triangleq 0\).
Moment-Generating Function¶
For variable \(J_n\), its moment-generating function
where \(M_{j_i}(s)\) is the moment-generating function of normal variable \(j_i\).
MGF - CPP¶
For the first three derivatives,
I propose to represent derivative of any order as
where the leading term \(e^{\lambda h (M_{j_i}(s)-1)}\) has been omitted for notation simplicity, \(n1 < \cdots < nl\) and \(key=(i,(n1,m1),...,(nl,ml))\). Then its derivative can be computed as
where again the leading term \(e^{\lambda h (M_{j_i}(s)-1)}\) has also been omitted. Rearrage the derivative to represent it as that of \(M^{(n)}_{J_n}(s)\).
MGF - Normal Distribution¶
For the first three derivatives,
I propose to represent derivative of any order as
where the leading term \(e^{\mu_js+\frac{1}{2}\sigma_j^2s^2}\) has been omitted for notation simplicity.
Then its derivative is given as
Rearrange the derivative to represent it as that of \(M^{(n)}_{j_i}(s)\).
In summary, I defined
Functions
|
Central Moment of Compound Poisson Process of order n |
|
Update the key after multiply with \((\lambda h)M_{j_i}'(s)\) |
|
Decode intermediate poly to target poly |
|
Derivative of normal Moment-Generating Function |
|
derivative of Moment Generating Function of CPP |
|
Take derivative of each term |
|
Moment of Compound Poisson Process variable of order n |
Moment of Compound Poisson Process variable of order n |
|
|
Moment of Normal distribution |