Skewness and Kurtosis

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
rbelhach95
Posts: 115
Joined: Sat Feb 09, 2013 9:30 am

Skewness and Kurtosis

Unread post by rbelhach95 »

Dear Tom,

Is there a way to compute the skewness and kurtosis of the distribution of simulated returns? The table instruction does not provide these values. Please advise
Rachid
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Skewness and Kurtosis

Unread post by TomDoan »

"Skewness" and "Kurtosis" are both in the index. You use the STATISTICS instruction, not TABLE. (TABLE only does a more limited set of statistics).
rbelhach95
Posts: 115
Joined: Sat Feb 09, 2013 9:30 am

Re: Skewness and Kurtosis

Unread post by rbelhach95 »

Many thank , I generated N= 5000 replications for vector series R1, yes, the Statistics instruction can give summary statistics for R1(1), R1(2)...., but I was wondering if you could get summary statistics for all R1. Thanks
Rachid
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Skewness and Kurtosis

Unread post by TomDoan »

I'm not sure what you mean. You have R1(1),...,R1(5000) each of which is a series? Or you have R1(1),...,R1(n) each of which has 5000 entries? And what is it for which you want the statistics.
rbelhach95
Posts: 115
Joined: Sat Feb 09, 2013 9:30 am

Re: Skewness and Kurtosis

Unread post by rbelhach95 »

Thanks Tom, I have R1(1),...,R1(5000) each of which is a series, and would like to compute the overall skewness and kurtosis of R1 vector series .
Many thanks
Rachid
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Skewness and Kurtosis

Unread post by TomDoan »

You would have to glue them into a single series. I'm not sure I understand what that's supposed to tell you. If you want to get a really good estimate of the process skewness and kurtosis just generate a series of length 1000000 and compute the statistics on that.

You originally referenced the TABLE instruction. TABLE does separate statistics on each series. How would that have helped if it did compute skewness and kurtosis?
rbelhach95
Posts: 115
Joined: Sat Feb 09, 2013 9:30 am

Re: Skewness and Kurtosis

Unread post by rbelhach95 »

Thanks for your inputs. my in-sample data has high kurtosis and relatively high negative skeweness, when I generate the returns of my model, I would like to know if I am generating the right numbers by looking at those two measures. I am currently doing it the you have suggested.
Thanks
Rachid
Post Reply