Page 1 of 1

Panel data and trending

Posted: Wed Oct 09, 2013 7:32 am
by felix.casares
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.

Re: Panel data and trending

Posted: Wed Oct 09, 2013 8:03 am
by EViews Gareth
Just change the sample each time you estimate. Something like if country="A", then if country="B"

Re: Panel data and trending

Posted: Wed Oct 09, 2013 8:23 am
by felix.casares
Just change the sample each time you estimate. Something like if country="A", then if country="B"
how can i make that? im trying this: ls log(sales) c @trend if company = "A" but doesn´t work.

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.

Re: Panel data and trending

Posted: Wed Oct 09, 2013 8:25 am
by EViews Gareth
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)