Expectation of folded Student's-t

Joined
10/14/13
Messages
37
Points
18
The EGARCH model is given by,
eqn1320345205.png
A detailed summary can be found in the Matlab documentation here.

If the innovation distribution is normal then,
eqn1323207573.png
I've figured out that this is true because the expectation is that of the folded normal distribution which is described on the wikipedia page here (just set the mean and standard deviation to zero and it simplifies).

I'm therefore assuming that if the EGARCH innovation distribution is student's-t, then the following relation,
eqn13203456661111.png
must be the expectation of the folded Student's-t distribution.

I am wondering how you would go about deriving this assuming the standardised Student's-t distribution is given by:
cq5x.png
From what I can guess, this is two parts:
  1. Calculate analytic form of folded Student's-t
  2. Calculate (\int_{-{\infty}}^{+{\infty}} xf(x) dx) for the expectation value
and I am stumped by the first part.
 
I don't think you need the analytic form of the folded Student's t-distribution, similarly to how you don't need the analytic form of the folded normal distribution to calculate the expected absolute value. If XfX\sim f and gg is some function (which is sufficiently nice, etc.) then the expectation of g(X)g(X) is given by the law of the unconscious statistician:
E[g(X)]=g(x)f(x)dx\mathbf E[g(X)]=\int\limits_{-\infty}^\infty g(x)f(x)\,\mathrm dx
It is not too difficult to calculate the pdf of the folded distribution though: the distribution is symmetric, so the pdf of the folded distribution is just twice the pdf of the original one for nonnegative arguments and 00 for negative arguments. More generally the pdf of a folded distribution will be f+fPf+f\circ P for positive arguments and 00 for negative arguments, with ff the original pdf and PP parity change (multiplication by 1-1), i.e.
ffolded(x)={0forx<0f(x)+f(x)forx0f_\text{folded}(x)=\begin{cases}0\quad &\text{for}\quad& x<0\\f(x)+f(-x) \quad&\text{for}\quad & x\geqslant 0\end{cases}
You may see this intuitively or with a proof: Let XfX\sim f with ff a continuous pdf and cdf FF. Then we have that the cdf of X|X| is given by
Ffolded(x)=P[Xx]=P[xXx]={0forx<0F(x)F(x)forx0F_\text{folded}(x)=\mathbf P[|X|\leqslant x]=\mathbf P[-x\leqslant X\leqslant x]=\begin{cases}0\quad&\text{for}\quad&x<0\\F(x)-F(-x)\quad&\text{for}\quad& x\geqslant 0 \end{cases}
Differentiating we get that the pdf of X|X|, the folded pdf, is given by
ffolded(x)={0forx<0F(x)F(x)=f(x)+f(x)forx0f_\text{folded}(x)=\begin{cases}0\quad &\text{for}\quad&x<0\\F'(x)--F'(-x)=f(x)+f(-x)\quad &\text{for}\quad&x\geqslant 0\end{cases}

If ztjz_{t-j} is distributed according to the standardised Student's t-distribution and fνf_\nu denotes the pdf of the standardised Student's t-distribution with ν\nu degrees of freedom, the expectation you are looking for is simply given by
 
Last edited:
ok thanks, I've never done much math with the gamma function but according to this article, the recursion relationship with the gamma function is:

Γ(n+12)=(n12)Γ(n12) \Gamma\big(n+\frac{1}{2}\big) = \big(n-\frac{1}{2}\big)\Gamma\big(n-\frac{1}{2}\big)

Therefore, from your second to last step you would get:

...=2(v1)νπΓ(ν+12)Γ(ν2)... = \frac{2}{(v-1)}\sqrt{\frac{\nu}{\pi}}\frac{\Gamma\big(\frac{\nu+1}{2}\big)}{\Gamma\big(\frac{\nu}{2}\big)}

=2(v1)(v1)2νπΓ(ν12)Γ(ν2)= \frac{2}{(v-1)}\frac{(v-1)}{2}\sqrt{\frac{\nu}{\pi}}\frac{\Gamma\big(\frac{\nu-1}{2}\big)}{\Gamma\big(\frac{\nu}{2}\big)}

=νπΓ(ν12)Γ(ν2)= \sqrt{\frac{\nu}{\pi}}\frac{\Gamma\big(\frac{\nu-1}{2}\big)}{\Gamma\big(\frac{\nu}{2}\big)}

The standardised t distribution I posted has a factor of 1(ν2)π\frac{1}{\sqrt{(\nu-2)\pi}} instead of 1πν\frac{1}{\sqrt{\pi\nu}} at the front and ν2\sqrt{\nu-2} instead of ν\nu inside the integral...
I think from looking at it the ν\nu that popped out half way through when you did a change of variables will instead pop out as ν2\nu-2 and give the following:

...=2(v1)1π(ν2)Γ(ν+12)Γ(ν2)... = \frac{2}{(v-1)}\frac{1}{\sqrt{\pi(\nu-2)}}\frac{\Gamma\big(\frac{\nu+1}{2}\big)}{\Gamma\big(\frac{\nu}{2}\big)}

=(ν2)πΓ(ν12)Γ(ν2)= \sqrt{\frac{(\nu-2)}{\pi}}\frac{\Gamma\big(\frac{\nu-1}{2}\big)}{\Gamma\big(\frac{\nu}{2}\big)}
which equals the equation given by the Matlab lot!

Thanks for the heads up on the folding of the p.d.f.!
 
Last edited:
Indeed you are right about the recurrence relation for Γ\Gamma and that if you take the pdf as you said, it works out right. Also I see now that you are right in using the pdf that you used, as it is, like you said, standardised, i.e. expectation 00, variance 11, which is what one naturally demands of the innovations.
 
Last edited:
when using the student's-t distribution in volatility models you need to modify it to include a scale parameter, γ\gamma:

\(f(x|\nu,\sigma) = \frac{\Gamma\large(\frac{\nu+1}{2}\right)}{\sqrt{\nu\pi\gamma^2}\Gamma\large(\frac{\nu}{2}\right)}\large(1+\frac{x^2}{\nu\gamma^2}\right)^{-\frac{\nu+1}{2}}\)​

the scale parameter is related to the variance by:

σ2=γ2vv2 for v>2\sigma^2=\gamma^2\frac{v}{v-2}\ for\ v>2
Then if you sub for the variance, σ2\sigma^2:

\(f(x|\nu,\sigma) = \frac{\Gamma\large(\frac{\nu+1}{2}\right)}{\sigma\sqrt{\pi(\nu-2)}\Gamma\large(\frac{\nu}{2}\right)}\large(1+\frac{x^2}{(\nu-2)\sigma^2}\right)^{-\frac{\nu+1}{2}}\)​

the innovations should have unit standard deviation because you specify the volatility in the volatility equation so just eliminate the standard deviation by setting it equal to 1.

(I got this all from wikipedia and a book by Carol Alexander "Practical Financial Econometrics", part II of the "Market Risk Analysis" series)
 
Yes thanks for the effort but in the meanwhile I had realised that as well. Good luck with your program:)
 


Write your reply...
Back
Top Bottom