variable using previous year data

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

elliask
Posts: 5
Joined: Tue Nov 20, 2018 11:15 pm

variable using previous year data

Postby elliask » Wed Nov 21, 2018 7:25 pm

Hello, I apologize for the confusing title as I really don't know how to describe the problem and I'm not a native english speaker, so this is the best I can come up with.
I have a question regarding analysis using 30 years time series data and this equation : Yt = Ct-1 + rt + EXt + Gt + KGDPt
In the equation Ct-1 = consumption data from previous year, my question is how can I input the data to the equation and run the analysis? Do I need to input 31 years data or input the Ct-1 data separately or is there any specific command to do that?
I appreciate any help and feedback, thank you.

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

Re: variable using previous year data

Postby EViews Gareth » Wed Nov 21, 2018 7:27 pm

Assuming you have annual data, enter the variable as consumption(-1)
Follow us on Twitter @IHSEViews

elliask
Posts: 5
Joined: Tue Nov 20, 2018 11:15 pm

Re: variable using previous year data

Postby elliask » Wed Nov 21, 2018 9:14 pm

Thanks for replying.
If it's not bother can you elaborate this in more detail as I'm really new to eviews and all. And since i have to put -1 does it means that i need 31 years data, lets just say i need to analyze 1988-2017 so I need data from 1987-2017. This really confuses me because when you start workfile you have to decide the lenght of the analysis.

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

Re: variable using previous year data

Postby EViews Gareth » Wed Nov 21, 2018 10:02 pm

Create the workfile with however much data you have. EViews will figure out how much it can use during estimation itself.
Follow us on Twitter @IHSEViews


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 13 guests