Panel data and trending

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

felix.casares
Posts: 23
Joined: Fri Jun 21, 2013 11:34 am

Panel data and trending

Postby felix.casares » Wed Oct 09, 2013 7:32 am

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.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Panel data and trending

Postby EViews Gareth » Wed Oct 09, 2013 8:03 am

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

Postby felix.casares » Wed Oct 09, 2013 8:23 am

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.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Panel data and trending

Postby EViews Gareth » Wed Oct 09, 2013 8:25 am

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)


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests