Académique Documents
Professionnel Documents
Culture Documents
You can find EVIEWS 4.1 on the Manchester Computer Clusters as follows All Programs Programs Faculty FSSL Econometric & Statistical This document will give a general introduction into the workings of EVIEWS. It does not work through a particular example, but you can use the data which are provided in the EVIEWS Tutorial data.xls spreadsheet to practice the basic techniques. There is an additional document eviews tutorial.doc which gives you a few problems to work through with these data.
/opt/scribd/conversion/tmp/scratch679/68953151.doc
Page 1 of 5
While each workfile will contain several data series, each data series is stored as its own object. Each workfile comes with a default data series "resid" and a coefficient vector c, which, at any time, will store the residuals and coefficient estimates of the regression last run (the or in some versions , are an indication from EVIEWS that this object is a parameter vector, whereas the small stylised line plot in the symbol to resid indicates a series of data) . When you create or import new data series, they will appear as new data series, just as "resid" does. Double-clicking on a data series opens a window where you van view (spreadsheet, statistics and graphics) the data series. If you want to perform an operation, which involves more than one data series, you got to highlight the data series in question (using the shift or control key) and then DMC. Choose open group if you want to display the time series or open equation if you want to run a regression involving the time series. When the operation you want to perform with the chosen set of variables is finished, close the group again. Note, that this does not delete the individual variables. Well get back to this once we imported a few more data series. The white area beneath the command menu is called the command line. Some actions can be performed by typing a short command in this line, which can be quicker than using the menus. The more you familiarise yourself with EVIEWS the more often you will use these commands.
Importing Data
Two alternative strategies exist to import data. Both strategies will be described in turn. From Excel Have the Excel file ready with data in columns. Memorise the first data cell (eg A2), the name of the data sheet (if multiple sheets) and the number of variables to be imported. In EVIEWS: PROCS - IMPORT - READ TEXT LOTUS EXCEL Then choose file (which has to be closed in Excel) Confirm available information In the "Names of series " field either enter the requested names of the data series or just the number of data series to be imported. In the latter case EVIEWs will assign names automatically. OK Copy and Paste Copy data into clipboard from spreadsheet or text editor In EVIEWS: QUICK - EMPTY GROUP (EDIT SERIES) LMC on upper left cell RMC and PASTE Instead of pasting data into the spreadsheet you can also just type data into the spreadsheet. On the top of the window you can see an Edit+/- button. This locks or unlocks the spreadsheet for editing. EVIEWS will give the new series names like SER01 and unfortunately you wont be able to change the names right here. The following procedure will enable you to rename the series to more sensible names.
/opt/scribd/conversion/tmp/scratch679/68953151.doc
Page 2 of 5
Close the group by clicking on the X in the top right corner of the Group window and confirm that you want to delete this group (recall that this will not delete the data themselves!). You will then see the new data series icons in your worksheet file. RMC on the data series for which you want to change the name and choose the Rename option. Give the data series a sensible name. If you have plenty of data series, you should put some thought into how to name the series such that you remember what is what. OK
/opt/scribd/conversion/tmp/scratch679/68953151.doc
Page 3 of 5
Regression
There are several ways to run a regression. Assume you have two variables "y" and "x" in your workfile and you want to regress "y" on "x", ie. you want to estimate the parameters and in yt = + xt + t. Select "y" and "x". DMC and Open equation In the equation specification window you will see "y x c". "y" and "x" are the variables you selected. EVIEWS automatically chucks in the constant "c". The convention is, that the first variable is the dependent variable and all following variables are the independent variables. If you want to estimate without a constant term you just delete the "c". If you want to add further variables you type them into the window. If you want to add xt-1 you simply have to add "x(-1)" without the need to first create this time series. OK You will receive a standard regression output, which you should be able to interpret. In any doubt, consult your Data Analysis notes or a standard statistics textbook.. Again you can perform this operation from the command line ls y c x enter and you receive the same output. The View button on the top left of the Equation window now gives you a list of options in order to visualise your regression results and to perform a variety of tests. If you want to re-estimate the equation with a slightly different specification, choose the Estimate button. Sometimes you will need the regression residuals for further manipulation and you will want to store them. Recall that the "resid" time series always contains the residuals of the last regression. If you want to store the residuals, use the generate data option. Eg. genr res1 = resid The residuals will be stored in "res1". While the resid series will change its values as you run a new regression, the res1 series will now remain unchanged. Also note that the object in your workfile will always store the parameters of the last regression you run, much like the resid data series object. As with the residuals, if you want to store the parameter values you need to create a new coefficient vector by typing the following command in the command line: coef c_save = c, which saves a new coefficient object named c_save. You might want to save a particular specification and its results. You can do this by using the Name button. You are asked for a name of the equation you want to store. Once you did this your equation will appear as an object in the workfile. /opt/scribd/conversion/tmp/scratch679/68953151.doc Page 4 of 5
When you close a regression window you will be asked whether you want to delete the regression. Recall that this will merely delete the regression window but not the data series themselves. Hence you can safely answer yes to this, unless you want to save the entire regression specification (see previous paragraph).
/opt/scribd/conversion/tmp/scratch679/68953151.doc
Page 5 of 5