Introduction: EViews
- Dr. Peerapat Wongchaiwat
EViews Dr. Peerapat Wongchaiwat wongchaiwat@hotmail.com Todays - - PowerPoint PPT Presentation
Introduction: EViews Dr. Peerapat Wongchaiwat wongchaiwat@hotmail.com Todays Workshop Basic grasp of how EViews manages data Creating Workfiles Importing data Running regressions Performing basic tests Creating/changing
Central place to keep
all of your work
– Series (Numeric, no alpha series in student version) – Equations – Graphs – Groups
*Always comes with series for a constant, c, and residuals, resid
– File → New → Workfile
Time Series → Dated/Regular → Frequency + Date Range Cross-Sectional → Undated/Irregular → Range of observations
(do not have to do this for this exercise)
– By clicking on the “New Page” label at the bottom of the Workfile you can create new pages
→
4.
– Stores select series together – Object → New Object → Group → Select Series → Name
– When group spreadsheet is open: – View → Descriptive Statistics → Common Sample
→ Correlogram
– In your Workfile: – Object → New Object → Equation
Separated by spaces: *Dependent variable *Constant, c *Independent variables (or Group)
Sample Range Type of Regression
Estimate: Modify Regression This View Useful to Create Model To Run Tests Regression Summary Coefficient Summary Statistics SAVE!
– In Equation View: – View → Actual, Fitted, Residual → Actual, Fitted, Residual Table
– Generate fitted values – In Equation View: “Forecast” → OK (is named “variable”f) – In Workfile: Object → New Object → Graph
– In Equation View: – View → Residual Tests → White Heteroskedasticity (no cross) – Look at Chi-square value from a table (want a small value) – Fix: Click on “Estimate”
coefficient covarariance” → OK
– View → Residual Tests → Histogram-Normality Test – Look at Jarque-Bera stat (H0: Normal distribution) – Fix: Depending on skew, you can adjust variables (ex: square, log, etc) or add/delete variables
– Create Correlation Matrix: – Quick → Group Statistics → Correlations – Off-diagonal values should be less than 0.5 – Fix: Talk to your advisor
– In Spreadsheet: Toggle “Edit+/-” – CAREFUL! No “undo”
– In Workfile:
“new variable name” = equation
Command (Option) Argument
– show variable – genr variable = equation – sample n1 n2
sample variable if >15
– equation name .ls(h) dependent c independent variables – cor variables – group variables
– EViews PDFs ! – Help → Users Guide (pdf) → Command & Programming Reference (pdf)