Anda di halaman 1dari 3

Eviews Tutorial

Creating a workfile File New Workfile Specify the frequency of the data if the data are time series or the number of observations if undated Importing data File Import Read Text-Lotus-Excel Find the file; Be careful to indicate the extension of the file; For Excel files, the first cell for reading the data is A2 Give the number of series and Eviews will read their name from the file. Importing data (another way of) File Open Foreign Data as Workfile Find the file; Eviews will do the rest Check that Eviews has read the file to the end (sometimes it doesnt) Saving a workfile Save button The file has extension .wf1 Working with series Double-click on a series, a new window opens To work on a group of series, select the appropriate ones (Ctrl+Mouse) then right-click and Open As Group Alternatively use Objects New Object Group and OK then type the name of the series Creating new series Click on Genr and enter the equation Examples: lahe = log(ahe) Newvar = age*ahe Descriptive Statistics Click on series to open a new window View Descriptive Stats Box Plots by classification then choose the variables used for classification View Descriptive Stats Stats by classification then choose the variables used for classification and choose the descriptive statistics you want to obtain View Correlation Using a subsample You can restrict to a subsample by clicking on Sample and entering a condition in the IF case For instance female = 1 will restrict to female workers.

Graphical representations Click on X and Y and open as group. Then View Graph Simple Scatter (or Scatter with Regression) (or something else) Estimating a linear regression Object New Equation Then enter the equation AHE = c(1) + c(2) * AGE. You can also simply write AHE c AGE For more than one regressor just type the list AHE c AGE EDU FEMALE The method is Least-Squares. A new window opens that gives the results View Representation Gives you the command line, the representation and the estimated regression line Estimate brings you back to the equation and allows changing the Options Reading the results
Dependent Variable: AHE Method: Least Squares Date: 05/27/06 Time: 14:51 Sample: 1 5911 Included observations: 5911 AHE= C(1) + C(2)*AGE Coefficient C(1) C(2) R-squared Adjusted R-squared S.E. of regression Sum squared resid Log likelihood 4.745918 0.310063 0.015837 0.015671 6.850194 277280.7 -19760.75 Std. Error 0.935795 0.031777 t-Statistic 5.071534 9.757602 Prob. 0.0000 0.0000 13.95815 6.904507 6.686769 6.689031 1.760606

Mean dependent var S.D. dependent var Akaike info criterion Schwarz criterion Durbin-Watson stat

The upper panel gives you the estimated equation: estimation method, sample size, representation and options used The middle panel gives the estimated coefficients and their standard errors. The t-statistic always tests the significance of the coefficient, i.e. the null hypothesis H0: coefficient = 0 against H1: coefficient 0 Prob is the P-value of the t test

The lower panel gives you the R-squared, the Standard Error of the regression, the sum of squared residuals, the (sample) mean of the dependent variable and its (sample) standard deviation.

Using the regression window You can create a series for the Forecasts (fitted values) The residuals and the coefficients values are in the RESID and C variables in your workfile. You can obtain the actual values of the dependent together with the fitted values and residuals form View Actual, Fitted, Residual Actual, Fitted, Residual Table Saving your results Each time you generate a table or a graph, you can save the result in your workfile Freeze then Name in the new window Help Menu Help Eviews Help Topic Index

Anda mungkin juga menyukai