370 likes | 486 Views
Ka-fu Wong University of Hong Kong. An Introduction to EViews 4.1 (Student version). Installation. Insert the CD-ROM disc in a drive and install the program on the computer. For most of us, accepting all defaults will work fine.
E N D
Ka-fu WongUniversity of Hong Kong An Introduction to EViews 4.1 (Student version)
Installation • Insert the CD-ROM disc in a drive and install the program on the computer. • For most of us, accepting all defaults will work fine. • Note that you can install EViews on as many computers as you want to. However, at start, EViews will ask you to insert the CD-ROM disc.
Starting EViews Command Area Work Area May be changed with Options>File Locations>Current Data Path. Current Data Path.
Options>File Locations>Current Data Path Current Data Path. May be changed with Options>File Locations>Current Data Path.
Open the Excel file containing the data(example2.XLS) 48 undated observations 4 columns (OBS, X, Y, Z) 3 variables: X, Y, Z
Enter or read data in EviewsFile > New > Workfile 3. Click OK. 1. Choose “Undated or irregular”. 2. Specify 1 and 48.
Enter or read data in EviewsChoose Quick>Empty Group(Edit Series)
Enter or read data in Eviews Copy the data from Excel (A2:D49 together) to the Workfile Default series names
Renaming the seriesFirst minimize the data sheet Highlight ser01 and right click mouse, and choose rename
Save data and results frequently to avoide loss of dataFile>SaveAs Enter example0.wf1
Scatterplot of X and Y 1. Highlight x and y 2. Quick > Graph > Scatter 3. Order the variables 4. click OK.
Alternative way to do scatterplot of X and Y1. Put X and Y in a group called gxygroup gxy X Y
Alternative way to do scatterplot of X and Y2. Generate scatter plot using the data group of gxyfreeze(Figure21) gxy.scat
Alternative way to do scatterplot of X and YDouble click figure21 to view the plot
Generate a scatter plus a linear fitfreeze(Figure22) gxy.linefit
Create scatter plot, save in Figure23freeze(Figure23) gzy.linefit
Run linear regression and save the results in tableA1equation tableA1.ls y c x z (Y = c + b0X + b1Z)