# Transforms of random variates

June 4, 2020 — May 14, 2021

Hilbert space
Lévy processes
Markov processes
probability
SDEs
stochastic processes

I have a nonlinear transformation of a random process. What is its distribution?

Related: What is the gradient of the transform? That is the topic of the reparameterization trick and other MC grad estimators. This is very commonly seen in the context of transforms of Gaussians when it produces results like the delta method and extended Kalman filtering.

## 1 Taylor expansion

Not complicated but subtle .

Consider a general nonlinear differentiable transformation $$g$$ and its second order Taylor expansion. Consider the mapping $$g:\mathbb{R}^{n_{x}}\to\mathbb{R}^{n_{z}}$$ applied to a variable $$x,$$ defining $$z:=g(x).$$ Let $$\mathrm{E}(x)=\mu_{x}$$ and $$\operatorname{Var}(x)=P_{x}.$$ The Hessian of the $$i^{\text {th }}$$ component of $$g$$ is denoted $$g_{i}^{\prime \prime}.$$ $$[x_i]_i$$ is a vector where the $$i$$th element is $$x_i$$. We will approximate $$z$$ using the Taylor expansion, $z=g\left(\mu_{x}\right)+g^{\prime}\left(\mu_{x}\right)\left(x-\mu_{x}\right)+\left[\frac{1}{2}\left(x-\mu_{x}\right)^{T} g_{i}^{\prime \prime}\left(\mu_{x}\right)\left(x-\mu_{x}\right)\right]_{i}.$ Leaving aside questions of when this is convergent for now. Then the first moment of $$z$$ is given by $\mu_{z}=g\left(\mu_{x}\right)+\frac{1}{2}\left[\operatorname{tr}\left(g_{i}^{\prime \prime}\left(\mu_{x}\right) P_{x}\right)\right]_{i}$ Further, let $$x \sim \mathcal{N}\left(\mu_{x}, P_{x}\right)$$, then the second moment of $$z$$ is given by $P_{z}=g^{\prime}\left(\mu_{x}\right) P_{x}\left(g^{\prime}\left(\mu_{x}\right)\right)^{T}+\frac{1}{2}\left[\operatorname{tr}\left(g_{i}^{\prime \prime}\left(\mu_{x}\right) P_{x} g_{j}^{\prime \prime}\left(\mu_{x}\right) P_{x}\right)\right]_{i j}$ with $$i, j=1, \ldots, n_{z}.$$

This is commonly seen in the context of transforms of Gaussians.

## 2 Unscented transforms

Typically seen for Gaussian RVs. Ebeigbe et al. (2021) claims to have devised a method for more general RVs.

## 3 Stein’s lemma

As seen in Stein’s method. Gives us the special case of certain exponential RVS (typically Gaussian) under certain matched transforms. Long story.

## 4 Stochastic Itô-Taylor expansion

Taylor expansions for stochastic processes. See stochastic taylor expansion. tl;dr: Usually more trouble than it is worth.

## 6 References

Aït-Sahalia, Hansen, and Scheinkman. 2010. In Handbook of Financial Econometrics: Tools and Techniques.
Ariffin, and Rosli. 2017. Malaysian Journal of Fundamental and Applied Sciences.
Collard, and Juillard. 2001. Journal of Economic Dynamics and Control.
Easley, and Berry. 2020. arXiv:2006.13429 [Cs, Math].
Ebeigbe, Berry, Norton, et al. 2021. ArXiv.
Gustafsson, and Hendeby. 2008. In 2008 IEEE International Conference on Acoustics, Speech and Signal Processing.
———. 2012. IEEE Transactions on Signal Processing.
Jacob, and Schilling. 2001. In Lévy Processes: Theory and Applications.
Jin, Judd, and Insitution. n.d. “Perturbation Methods for General Dynamic Stochastic Models.”
Kloeden, P. E., and Platen. 1991. Mathematische Nachrichten.
Kloeden, Peter E., and Platen. 1992. In Numerical Solution of Stochastic Differential Equations. Applications of Mathematics.
Kloeden, P. E., Platen, and Wright. 1992. Stochastic Analysis and Applications.
Lin, Khan, and Schmidt. 2019. arXiv:1910.13398 [Cs, Stat].
Majumdar, and Majumdar. 2019. Heliyon.
Papapantoleon, and Siopacha. 2010. arXiv:0906.5581 [Math, q-Fin].
Rößler. 2004. Stochastic Analysis and Applications.
Roth, Hendeby, and Gustafsson. 2016. Journal of Advances in Information Fusion.
Schmitt-Grohe, and Uribe. n.d. “Perturbation Methods for the Numerical Analysis of DSGE Models: Lecture Notes.”
Schmitt-Grohé, and Uribe. 2004. Journal of Economic Dynamics and Control.
Schoutens, Leuven, and Studer. 2001.
Wolter. 2007. Introduction to Variance Estimation. Statistics for Social and Behavioral Sciences.