Hi,
A really stupid question so pls brace yourself. I can not seem to create an average for each year for my pool variables. I have forecasted etc and now want to create a group average for each year for each region.
my syntax is
smpl 1990 2018
poolmain1.makegroup(urban_south_america) exp(argentina_urban) exp(bolivia_urban) exp(brazil_urban) exp(colombia_urban) exp(ecuador_urban) exp(paraguay_urban) exp(peru_urban) exp(suriname_urban) exp(uruguay_urban) exp(venezuela_urban) exp(chile_urban)
poolmain1.genr south_us= @mean(urban_south_america)
I would really appreciate it if you could let me know how I create an average for each year within my group please.
I apologise again for this basic question.
average of pool
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: average of pool
Do it outside of the group and use the @rmean function.
http://www.eviews.com/help/helpintro.ht ... tions.html
http://www.eviews.com/help/helpintro.ht ... tions.html
Re: average of pool
Will that give me the mean across the group for each year? It's so easy to do but somehow not working for me.
poolmain1.genr urban_s_am= @rmean(argentina_urban, bolvia_urban)
says not enough arguments
poolmain1.genr urban_s_am= @rmean(argentina_urban, bolvia_urban)
says not enough arguments
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: average of pool
As I said, do it outside of the pool.
Code: Select all
series mymeans = @rmean(mygroup)
Re: average of pool
You actually said outside the group not pool
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: average of pool
Indeed, apologies.
Who is online
Users browsing this forum: No registered users and 2 guests
