Non-normal shock distributions

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Non-normal shock distributions

Postby Jason23 » Thu Oct 29, 2009 3:36 pm

Hi

I was wondering how I might go about specifying non-normal distributions for my shocks. For example, some of the variables in the model are financial returns and I'd like for the distributions of the shocks to these variables to have excess kurtosis.

Thank you!
Jason23
 
Posts: 1
Joined: Thu Oct 29, 2009 3:31 pm

Re: Non-normal shock distributions

Postby pakocica » Sun Nov 29, 2009 7:04 pm

I think that you have a good idea, thank you for that! In order to get another distribution than normal, you can use the following transformation:

You want to simulate the variable x. First, define the exogenous variable y with std = 1. That means, y ~ N(0,1). Let U(y) be the cumulate distribution of N(0,1) and let F(x) be your desired cumulative distribution. We want to generate x using the variable y. Thus we have

F(x) = U(y),

or equivalently

x = F^{-1} ( U(y) ),

x = (F^(-1) o U) (y).

The function U can be find in Matlab, only you need to know is the inverse cumulative distribution of your variable x.

Regards,

Pavel

PS. Can you introduce me little bit into what you are working on?
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 15 guests