Hello,
my workfile consists of different pages with different sampling frequencies (1. page- daily, 2. page -monthly, 3. page - quaterly).
I am trying to copy monthly data to the quaterly data page by taking the geometric mean of every quater.
I know about the possibility "paste special..." and to select some methods.
But I did not find a way to convert the monthly data into the the geometric mean for each quater.
Does somebody have an idea?
Thank you very much in advance!
Jelena
Copy monthly data to quaterly gmean
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Re: Copy monthly data to quaterly gmean
You can try the following trick:
1) Take the logarithm of the monthly series.
2) Copy and paste special the values to your quarterly page using "Average observations" as the high-to-low frequency conversion method.
3) And take the exponential of the series.
1) Take the logarithm of the monthly series.
2) Copy and paste special the values to your quarterly page using "Average observations" as the high-to-low frequency conversion method.
3) And take the exponential of the series.
Re: Copy monthly data to quaterly gmean
Hello,
thanks for your response!
I thought of the following definition of the geometric mean:
(return 1 * return 2 *...* return n)^1/n
I think your proposed procedure doesn't really reflect this definition...
Do you maybe have another idea? I am thankful about every hint :)
thanks for your response!
I thought of the following definition of the geometric mean:
(return 1 * return 2 *...* return n)^1/n
I think your proposed procedure doesn't really reflect this definition...
Do you maybe have another idea? I am thankful about every hint :)
Re: Copy monthly data to quaterly gmean
In fact, it does:
(return 1 * return 2 *...* return n)^1/n = exp[(ln(return1) + ln(return2) + ... + ln(returnn))/n]
(return 1 * return 2 *...* return n)^1/n = exp[(ln(return1) + ln(return2) + ... + ln(returnn))/n]
Re: Copy monthly data to quaterly gmean
Thanks! It works :)
Sorry for the confusion!
Sorry for the confusion!
Who is online
Users browsing this forum: No registered users and 2 guests
