Hello,
I would like to compute the geometric mean of a group of series. For the arithmetic mean I found commands @mean (series mean) and @rmean (mean for a group of series) but I can not find how to compute the row-wise geometric mean.
Thanks for your help on that.
Best regards,
Gloria
row-wise geomtric mean of a group of series
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: row-wise geomtric mean of a group of series
There is not a function built in for it. You'll have to do it manually - probably by converting to matrices and doing a row at a time.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: row-wise geomtric mean of a group of series
Assuming positivity of values, I'd make a group with the logs of the series, and take the antilog of the row-wise mean.
Re: row-wise geomtric mean of a group of series
Ok, thanks for the idea!
Who is online
Users browsing this forum: No registered users and 2 guests
