Michael S. Hanson Department of Economics |
HOME | TEACHING | RESEARCH | LINKS | OTHER |
Importing Text Datafiles into EViews |
For Cross-Sectional Data: | |
Step 1: |
Create a new workfile for the data:
|
Step 2: |
Import the text datafile into the EViews workfile:
|
Step 3: |
Save the workfile:
|
For Time Series Data: | |
The steps are exactly the same as above, except instead of selecting "Undated" for the workfile range, select the frequency that corresponds to the one used for the datafile. (This should be clear from the description (*.DES) file.) |
Data Integrity: | |
While the above instructions should work under most circumstances, it is wise to check that the datafile loaded correctly into the EViews workfile. To check the data integrity, double-click on one or more series icons in the workfile window, and compare the spreadsheet view to the raw datafile (in text format). If the numbers do not appear to match, especially towards the end of the file, there is a problem. It is also worth plotting the data and viewing summary statistics to ensure that no errors (which might appear as outliers or as changes in scale) slipped into the newly created workfile. |