Professional Documents
Culture Documents
1. System Requirements
(Website: www.eviews.com\student)
1
3. Installing EViews to your PC [But you still need to insert the CD into your
PC each time to start EViews!!!]
2
Now, you are asked to choose a destination location for the EViews
software. The default drive and folder are “C:\EViews3s\”. You can
browse to another destination on your PC, if you wish. When you are
ready, click “Next”
In the “Select Program Folder” box, you will probably want to select
the default Program Folder name. So click on “Next”
3
The EViews files should load, and on completion the “Setup
Complete” box will appear. Click on “Finish”. You have now
successfully installed EViews
4
4. EViews Documents
[Choose “View Online PDF Docs” in the “EViews Student Version CD-
ROM” box] OR [Choose “Docs” from “C:\EViews” (this is the default
destination of EViews) – see below]
You are encouraged to print out EViews UGSV.pdf which is the Student
Version User’s Guide.
“EViews UGSV.pdf” is the standard version user’s guide (638 pages!!!).
5
The Basics
Get the file (wage1.wf1) from the course website (or from the textbook website) and save it
under a:\eviews.
6
EViews will open the requested file, and provide a list of variables and objects in
the file. The open box on the screen is called the workfile box.
7
[2] Saving an EViews Workfile
To SAVE a file,
Click on FILE - SAVE or FILE- SAVE AS to change the name of the file
Alternatively, Click SAVE or SAVE AS on the toolbar on the workfile
box.
Click on the name educ in the workfile window, and then press CTRL (from your
keyboard) and click on exper, female, married, and wage. All five variables
should be highlighted:
8
Now place the cursor anywhere in the highlighted and double click the left mouse
button. Eviews will open a popup menu.
9
Choose Open Group. EViews will create an untitled group object as a
spreadsheet of all five variables:
10
You’ll get
11
If you try to close the group window, a “delete untitled group” box will popup.
If you would like to save the group for future use, click on “Name”
12
Now, you may give the group a name or just use the default (GROUP01). Then,
click on OK. [“GROUP01” has been created – see that? Try clicking on it and see
what’ll happen.]
Click the Genr button on the workfile toolbar. (Alternatively, Quick and
Choose Generate Series...)
13
Enter the equation in the dialog box to describe the variable that you wish to
create. The Sample area allow the transformation to be applied to different
observations.
For example, type exper2=exper^2 and click OK. Now, you create a new variable
named exper2. You may wish to examine the new variable (together with exper):
Most EViews operations can be done several ways. Running EViews through the
quick menu seems to be the most popular one. The Quick menu looks like
14
Estimate Equation is the one will be used often in 178.280:
Type lwage c educ exper exper2 in the Equation Specification box and click OK
and you’ll get (you’ll learn the details later)
15
If you try to close the “Equation: UNTITLED” window a “delete untitled equation”
box will popup. You may give the equation a name (default: equation01) by
clicking on name and OK – this will save the equation for future use. (See eq01
has been created?)
16
[7] Interacting with Other Software
EViews gives options for the degree of precision for the information copied.
Now, start Word, and then EDIT and then choose PASTE
17
Data can be exported to other software such as EXCEL. Choose:
18
Navigate to the place you wish to store the file, and the pick file type, TXT, Wk1,
WK3, or XLS (recommended) file.
Type the variables you want to export to the EXCEL file in the “series to write”
box.
19
The file can then be opened in EXCEL (a:wage.xls).
Note that the first column in the excel file is “obs” (from 1 to 526). If you
don’t want this obs column to be created, you need to change the “Upper-
left cell” box (in the export window) from B2 (default) to A2.
20
Choose “Undated or irregular” and the sample size (n) in the End observation
box (in the wage.xls case, n=526 – the data will be imported to the new file later)
and click OK***
***
Note that for “cross-sectional data” (we pick undated). For time-series data, data frequency
will matter.
21
Now, choose File/Import/Read Text-Excel-Lotus...
Navigate to the place you wish to import the data – say, a:wage.xls.
22
Click Open and you’ll see:
Case 1: Suppose that the first column in the wage.xls is OBS and that the
first row is the name of each variable. You can either (i) type educ exper
exper2 wage in the “Names for series or Number of series if names in
file” box, or (ii) type 4 (meaning: 4 variables will be read in) in the same
box.
Case 2: Suppose that there is no OBS column and that the first row is the
name of each variable. Change “Upper-left data cell” to be A2 and do the
same thing as in Case1.
Case 3: Suppose that the first column in the wage.xls is OBS but there
are no names for the variables. You need to type educ exper exper2
wage in the “Names for series or Number of series if names in file” box
and change “Upper-left data cell” to be B1.
Case 4: Suppose that there is no OBS column and there are no names
the variables. You need to type educ exper exper2 wage in the “Names
for series or Number of series if names in file” box and change “Upper-left
data cell” to be A1.
Note: you may also import data from a text file (say, wage1.txt) similarly.
23
EViews Guide [2]
Save the file ceosal1.xls (say, in drive A). (Read ceosal1.des to get an idea
about the dataset.)
Import the file into EViews. (See EViews Guide [I])
1. File/New/Workfile.
2. (Workfile Range) Choose “Undated or Irregular” and type 1
(start observation) and 209 (end observation). Then, OK.
3. File/Import/Read Text-Lotus-Excel...
4. Open the target file (a:ceosal1.xls)
5. (See below) Type “10” in the “name for series or number of series
if names in file” box. Change B2 in the upper-left data cell to be
A2. Then, Click OK.
24
Ten new variables have been successfully loaded in.
Click “Save” and save the workfile as, say, “a:ceosal1.wf1”.
Now, suppose you’d like to have a look at the data of salary. Move your
cursor to SALARY and right-click on it. Then, choose OK.
25
You should have:
This will give you same idea about the data: most of them are between 500
and 2,000 (in thousands), the sample average is 1,281.120 (so, more than 1
million) and the standard deviation is 1372.345. You can also find the
26
maximum and minimum in the sample. Don’t worry about skewness,
kurtosis, and Jarque-Bera.
Now, try Proc/Sort Series... Type “salary” in the “sort workfile series”
box and click OK. Now, you’ve sorted all the series in ceosal1.wf1 in
ascending order on the basis of values of salary. (Have another look at the
salary data!)
Remarks
Part C: Regression
To get the results of Examples 2.3, 2.6 and 2.8, do the following
27
[1] Click Quick/Estimate Equation...
[2] Type salary c roe in the equation specification box. (Don’t forget “c”
– the intercept!) Click OK. (You’ll learn what to do with “Options” later!
In 178220, all estimations are done using LS (least squares) methods.)
28
[3] Now, you’ll get:
So far, all you need to know are: (1) Method: Least Squares (2)
Coefficients (estimated) (3) Standard (Std.) Error and (4) R2.
You may save the estimation result (see Guide I).
29