SlideShare a Scribd company logo
EViews
Student Version
Today’s Workshop
• Basic grasp of how EViews manages data
• Creating Workfiles
• Importing data
• Running regressions
• Performing basic tests
• Creating/changing Series
• Working with commands
Thinking About EViews
• Workfile
Central place to keep
all of your work
• Objects
– Series (Numeric, no alpha series in student version)
– Equations
– Graphs
– Groups
*Always comes with
series for a constant, c,
and residuals, resid
Workfiles
• Creating a Workfile
– File → New → Workfile
• Data Structure
Time Series → Dated/Regular → Frequency + Date Range
Cross-Sectional → Undated/Irregular → Range of observations
• Save & Name
(do not have to do this for this exercise)
• New Pages (Eviews 6)
– By clicking on the “New Page” label at the bottom of the
Workfile you can create new pages
• Select “By Frequency”
Exercise #1
• Open the Excel file EViewsLab_data.xls, we
will be working with the “Macro” sheet
• Create a new Workfile for today’s workshop
Importing Data
• Copy/Past Method
1. Open new “Empty Group”
• Quick → Empty Group
• Click on Cell 1 and press the “Up” arrow on keyboard
→
2. Open Excel
• Make sure variable names are one constant “String” (no spaces!)
• Troubleshoot for other problems
3. Copy Data
4. Paste into Eviews Cell 1
Exercise #2
• Import data Series from Excel sheet 1: Macro
Importing Data
• Import Directly
1. Count the number of variables and CLOSE Excel file
2. Proc →Import →Read Text-Locus-File
3. Browse for Excel file
4.
Exercise #3
• Create a new page in the Workfile for the
unstructured data in the “Micro” sheet
• Import, directly, the data from the “Micro”
sheet
Descriptive Statistics
• Group
– Stores select series together
– Object → New Object → Group → Select Series → Name
• Descriptive Statistics
– When group spreadsheet is open:
– View → Descriptive Statistics → Common Sample
→ Correlogram
Exercise #3
• Create a group for you INDEPENDENT variables
(hint: consumption is your dependent variable)
• Find the Standard Deviation for each variable
• Run a correlation matrix of independent
variables to determine if you might have
multicolinearity (hint: look if off-diagonal
absolute values are bigger than 0.5)
• Create a new Equation
– In your Workfile:
– Object → New Object → Equation
Separated by spaces:
*Dependent variable
*Constant, c
*Independent variables
(or Group)
Regressions
Sample Range
Type of Regression
• Output
• Name = Save to Workfile
Regression Tests & Fixes
Estimate: Modify
Regression
This View
Useful to Create Model
To Run Tests
Regression
Summary
Coefficient
Summary
Statistics
SAVE!
• Looking at Residuals
– In Equation View:
– View → Actual, Fitted, Residual → Actual, Fitted, Residual Table
• Plotting Resid Vs. Fitted Values
– Generate fitted values
– In Equation View: “Forecast” → OK (is named “variable”f)
– In Workfile: Object → New Object → Graph
• Graph: resid “variable”f
• Options → Type → Scatter
Regression Tests & Fixes
• Heteroskedasticity
– 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”
• Click on “Options” → check box for “Heteroskedasticity consistent
coefficient covarariance” → OK
Regression Tests & Fixes
• Normality
– View → Residual Tests → Histogram-Normality Test
– Look at Jarque-Bera stat
– Fix: Depending on skew, you can adjust variables (ex:
square, log, etc) or add/delete variables
Regression Tests & Fixes
• Correlation & Multicolinearity
– Create Correlation Matrix:
– Quick → Group Statistics → Correlations
– Off-diagonal values should be less than 0.5
– Fix: Talk to your advisor
Regression Tests & Fixes
Exercise #4
• Plot fitted values vs. residuals
• Check for Heteroskedasticity and fix if
necessary
• Check for Multicolinearity
• Check for Normality
Changing/Creating Variables
• Edit Mode
– In Spreadsheet: Toggle “Edit+/-”
– CAREFUL! No “undo”
• Generate new variable
– In Workfile:
• Click on “Genr”
• Enter equation:
“new variable name” = equation
• Regular math function keys
• Lag: variable(-1)
Just for Fun…
• Opening a non-excel data file
– Open peacekeeping.txt
– Open Excel and open this .txt file from Excel
• Delimitate correctly
• Student Version does not use “alpha” objects (series with words)
• Select only numeric variables or change alpha variables into numeric
values
– Import into EViews as before
• Import Directly: Proc →Import →Read Text-Locus-File
Commands
• Top, Left-Hand “Command Box”
• Single commands
• Batch (program)
• Syntax:
Command (Option) Argument
Commands
• Frequently Used Commands:
– show variable
– genr variable = equation
– sample n1 n2
• n1 and n2 represent the start and end of range
• Or qualifiers such that:
sample variable if >15
• Statistical Operations:
– equation name .ls(h) dependent c independent variables
– cor variables
– group variables
Help!
• For general instruction or commands:
– EViews PDFs !
– Help → Users Guide (pdf)
→ Command & Programming Reference (pdf)
All Done!
If you would like more, individual help
please see the Technical Statistical
Coordinator 

More Related Content

PDF
Eviews forecasting
PPTX
Eviews Information for nature students.pptx
PDF
08 calc and nonlinear
PPT
Gordoncorr
PDF
R introduction v2
DOC
Spss & regression analysis
PDF
R Cheat Sheet for Data Analysts and Statisticians.pdf
Eviews forecasting
Eviews Information for nature students.pptx
08 calc and nonlinear
Gordoncorr
R introduction v2
Spss & regression analysis
R Cheat Sheet for Data Analysts and Statisticians.pdf

Similar to EViews_Student_Version_ppt.ppt (20)

PPTX
Introduction - Using Stata
PPTX
Introduction
KEY
Presentation R basic teaching module
PDF
eviewsOLSMLE
PPTX
Elementary Data Analysis with MS Excel_Day-5
PPT
introduction to R with example, Data science
PPT
R programming slides
PPT
How to obtain and install R.ppt
PPT
IntroductionSTATA.ppt
PPT
Introduction to R for Data Science Technology
PPT
Advanced Data Analytics with R Programming.ppt
PPT
PPT
Slides on introduction to R by ArinBasu MD
PPT
17641.ppt
PPT
Basics of R-Progranmming with instata.ppt
PPT
R for Statistical Computing
PPTX
2.6b scatter plots and lines of best fit
PPTX
Basic data analysis using R.
PPTX
Linear Regression.pptx
PPT
Basic Operation in Excel and Eviews
Introduction - Using Stata
Introduction
Presentation R basic teaching module
eviewsOLSMLE
Elementary Data Analysis with MS Excel_Day-5
introduction to R with example, Data science
R programming slides
How to obtain and install R.ppt
IntroductionSTATA.ppt
Introduction to R for Data Science Technology
Advanced Data Analytics with R Programming.ppt
Slides on introduction to R by ArinBasu MD
17641.ppt
Basics of R-Progranmming with instata.ppt
R for Statistical Computing
2.6b scatter plots and lines of best fit
Basic data analysis using R.
Linear Regression.pptx
Basic Operation in Excel and Eviews
Ad

More from RiyadhJack (9)

PDF
Roger LeRoy Miller, Daniel K. Benjamin - The Economics of Macro Issues-Pearso...
PPTX
L-14 Modeling Strategies and Policy Analysis - NR.pptx
PPTX
L11 - Forecasting and Smoothing using the Kalman Filter.pptx
PPTX
L-8 VECM Formulation, Hypothesis Testing, and Forecasting - KH.pptx
PDF
Mehwar_Consulting_quarterly_economic_bulletin_1631225461.pdf
PPTX
1. CGE_overview.pptx
PPTX
2. Recap - GAMS.pptx
PPT
Data_Analysis_SPSS_Technique.ppt
PPTX
Value_Chain_Analysis.pptx
Roger LeRoy Miller, Daniel K. Benjamin - The Economics of Macro Issues-Pearso...
L-14 Modeling Strategies and Policy Analysis - NR.pptx
L11 - Forecasting and Smoothing using the Kalman Filter.pptx
L-8 VECM Formulation, Hypothesis Testing, and Forecasting - KH.pptx
Mehwar_Consulting_quarterly_economic_bulletin_1631225461.pdf
1. CGE_overview.pptx
2. Recap - GAMS.pptx
Data_Analysis_SPSS_Technique.ppt
Value_Chain_Analysis.pptx
Ad

Recently uploaded (20)

PDF
How to join illuminati agent in Uganda Kampala call 0782561496/0756664682
PDF
ECONOMICS AND ENTREPRENEURS LESSONSS AND
PPTX
EABDM Slides for Indifference curve.pptx
PPT
E commerce busin and some important issues
PDF
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
PDF
ABriefOverviewComparisonUCP600_ISP8_URDG_758.pdf
PDF
how_to_earn_50k_monthly_investment_guide.pdf
PDF
6a Transition Through Old Age in a Dynamic Retirement Distribution Model JFP ...
PPTX
4.5.1 Financial Governance_Appropriation & Finance.pptx
PDF
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
PPTX
Session 3. Time Value of Money.pptx_finance
PDF
Buy Verified Stripe Accounts for Sale - Secure and.pdf
PDF
Corporate Finance Fundamentals - Course Presentation.pdf
PPTX
Unilever_Financial_Analysis_Presentation.pptx
PDF
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
PDF
Copia de Minimal 3D Technology Consulting Presentation.pdf
PPTX
Basic Concepts of Economics.pvhjkl;vbjkl;ptx
PDF
HCWM AND HAI FOR BHCM STUDENTS(1).Pdf and ptts
PPTX
Session 14-16. Capital Structure Theories.pptx
PPTX
OAT_ORI_Fed Independence_August 2025.pptx
How to join illuminati agent in Uganda Kampala call 0782561496/0756664682
ECONOMICS AND ENTREPRENEURS LESSONSS AND
EABDM Slides for Indifference curve.pptx
E commerce busin and some important issues
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
ABriefOverviewComparisonUCP600_ISP8_URDG_758.pdf
how_to_earn_50k_monthly_investment_guide.pdf
6a Transition Through Old Age in a Dynamic Retirement Distribution Model JFP ...
4.5.1 Financial Governance_Appropriation & Finance.pptx
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
Session 3. Time Value of Money.pptx_finance
Buy Verified Stripe Accounts for Sale - Secure and.pdf
Corporate Finance Fundamentals - Course Presentation.pdf
Unilever_Financial_Analysis_Presentation.pptx
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
Copia de Minimal 3D Technology Consulting Presentation.pdf
Basic Concepts of Economics.pvhjkl;vbjkl;ptx
HCWM AND HAI FOR BHCM STUDENTS(1).Pdf and ptts
Session 14-16. Capital Structure Theories.pptx
OAT_ORI_Fed Independence_August 2025.pptx

EViews_Student_Version_ppt.ppt

  • 2. Today’s Workshop • Basic grasp of how EViews manages data • Creating Workfiles • Importing data • Running regressions • Performing basic tests • Creating/changing Series • Working with commands
  • 3. Thinking About EViews • Workfile Central place to keep all of your work • Objects – Series (Numeric, no alpha series in student version) – Equations – Graphs – Groups *Always comes with series for a constant, c, and residuals, resid
  • 4. Workfiles • Creating a Workfile – File → New → Workfile • Data Structure Time Series → Dated/Regular → Frequency + Date Range Cross-Sectional → Undated/Irregular → Range of observations • Save & Name (do not have to do this for this exercise) • New Pages (Eviews 6) – By clicking on the “New Page” label at the bottom of the Workfile you can create new pages • Select “By Frequency”
  • 5. Exercise #1 • Open the Excel file EViewsLab_data.xls, we will be working with the “Macro” sheet • Create a new Workfile for today’s workshop
  • 6. Importing Data • Copy/Past Method 1. Open new “Empty Group” • Quick → Empty Group • Click on Cell 1 and press the “Up” arrow on keyboard → 2. Open Excel • Make sure variable names are one constant “String” (no spaces!) • Troubleshoot for other problems 3. Copy Data 4. Paste into Eviews Cell 1
  • 7. Exercise #2 • Import data Series from Excel sheet 1: Macro
  • 8. Importing Data • Import Directly 1. Count the number of variables and CLOSE Excel file 2. Proc →Import →Read Text-Locus-File 3. Browse for Excel file 4.
  • 9. Exercise #3 • Create a new page in the Workfile for the unstructured data in the “Micro” sheet • Import, directly, the data from the “Micro” sheet
  • 10. Descriptive Statistics • Group – Stores select series together – Object → New Object → Group → Select Series → Name • Descriptive Statistics – When group spreadsheet is open: – View → Descriptive Statistics → Common Sample → Correlogram
  • 11. Exercise #3 • Create a group for you INDEPENDENT variables (hint: consumption is your dependent variable) • Find the Standard Deviation for each variable • Run a correlation matrix of independent variables to determine if you might have multicolinearity (hint: look if off-diagonal absolute values are bigger than 0.5)
  • 12. • Create a new Equation – In your Workfile: – Object → New Object → Equation Separated by spaces: *Dependent variable *Constant, c *Independent variables (or Group) Regressions Sample Range Type of Regression
  • 13. • Output • Name = Save to Workfile Regression Tests & Fixes Estimate: Modify Regression This View Useful to Create Model To Run Tests Regression Summary Coefficient Summary Statistics SAVE!
  • 14. • Looking at Residuals – In Equation View: – View → Actual, Fitted, Residual → Actual, Fitted, Residual Table • Plotting Resid Vs. Fitted Values – Generate fitted values – In Equation View: “Forecast” → OK (is named “variable”f) – In Workfile: Object → New Object → Graph • Graph: resid “variable”f • Options → Type → Scatter Regression Tests & Fixes
  • 15. • Heteroskedasticity – 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” • Click on “Options” → check box for “Heteroskedasticity consistent coefficient covarariance” → OK Regression Tests & Fixes
  • 16. • Normality – View → Residual Tests → Histogram-Normality Test – Look at Jarque-Bera stat – Fix: Depending on skew, you can adjust variables (ex: square, log, etc) or add/delete variables Regression Tests & Fixes
  • 17. • Correlation & Multicolinearity – Create Correlation Matrix: – Quick → Group Statistics → Correlations – Off-diagonal values should be less than 0.5 – Fix: Talk to your advisor Regression Tests & Fixes
  • 18. Exercise #4 • Plot fitted values vs. residuals • Check for Heteroskedasticity and fix if necessary • Check for Multicolinearity • Check for Normality
  • 19. Changing/Creating Variables • Edit Mode – In Spreadsheet: Toggle “Edit+/-” – CAREFUL! No “undo” • Generate new variable – In Workfile: • Click on “Genr” • Enter equation: “new variable name” = equation • Regular math function keys • Lag: variable(-1)
  • 20. Just for Fun… • Opening a non-excel data file – Open peacekeeping.txt – Open Excel and open this .txt file from Excel • Delimitate correctly • Student Version does not use “alpha” objects (series with words) • Select only numeric variables or change alpha variables into numeric values – Import into EViews as before • Import Directly: Proc →Import →Read Text-Locus-File
  • 21. Commands • Top, Left-Hand “Command Box” • Single commands • Batch (program) • Syntax: Command (Option) Argument
  • 22. Commands • Frequently Used Commands: – show variable – genr variable = equation – sample n1 n2 • n1 and n2 represent the start and end of range • Or qualifiers such that: sample variable if >15 • Statistical Operations: – equation name .ls(h) dependent c independent variables – cor variables – group variables
  • 23. Help! • For general instruction or commands: – EViews PDFs ! – Help → Users Guide (pdf) → Command & Programming Reference (pdf)
  • 24. All Done! If you would like more, individual help please see the Technical Statistical Coordinator 

Editor's Notes

  • #4: • The View button lets you change the view that is displayed in the object window. The available choices will differ, depending upon the object type. • The Proc button provides access to a menu of procedures that are available for the object. • The Object button lets you manage your objects. You can store the object on disk, name, delete, copy, or print the object. • The Print button lets you print the current view of the object (the window contents). • The Name button allows you to name or rename the object. • The Freeze button creates a new object graph, table, or text object out of the current view.
  • #14: Should be < 5.99 Chi-square with 2df at 5%
  • #15: Should be < 5.99 Chi-square with 2df at 5%
  • #16: Should be < 5.99 Chi-square with 2df at 5%
  • #17: Should be < 5.99 Chi-square with 2df at 5%
  • #18: Should be < 5.99 Chi-square with 2df at 5%