hi, i have a question:
if i have a datapanel for example:
Period Company Sales
jan A 32
feb A 35
March A 39
Jan b 25
Feb b 31
March b 34
how can i make a trending model: Log(Sales) c @Trend for each company for each period separatly? for example:
log(sales) for company A = bo + b1@trend
losg(sales) for company b = b0 + b1@trend.
thanks for answer.
Panel data and trending
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Panel data and trending
Just change the sample each time you estimate. Something like if country="A", then if country="B"
-
felix.casares
- Posts: 23
- Joined: Fri Jun 21, 2013 11:34 am
Re: Panel data and trending
how can i make that? im trying this: ls log(sales) c @trend if company = "A" but doesn´t work.Just change the sample each time you estimate. Something like if country="A", then if country="B"
i´m interesting to calculate each period to, for example: log(sales) c @trend for 2010q1 2011q4 for company A // log(sales) c @trend for 2012q1 2013q2 for company.
Please help.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Panel data and trending
When you estimate, there is a sample box on the estimation dialog. Use that to change the sample.
http://www.eviews.com/Learning/estimation_a.html
(slides 12-13)
http://www.eviews.com/Learning/estimation_a.html
(slides 12-13)
Who is online
Users browsing this forum: No registered users and 2 guests
