Uname:Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux

Statistical Software – HKT Consultant https://phantran.net/category/methodology/statistical-software Sun, 23 Jul 2023 23:11:09 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 https://phantran.net/wp-content/uploads/2021/02/cropped-Logo-HKT-500-x-400-32x32.png Statistical Software – HKT Consultant https://phantran.net/category/methodology/statistical-software 32 32 A Comparison of R, Python, SAS, SPSS and STATA for a Best Statistical Software https://phantran.net/a-comparison-of-r-python-sas-spss-and-stata-for-a-best-statistical-software.htm Wed, 23 Oct 2019 07:41:39 +0000 https://phuongphapnghiencuu.com/?p=8429 Common statistics program packages differ considerably in terms of their strengths, weaknesses, and handling. The decision as to which system is the best fit should be made with care. Changing to a new system can result in high costs for things like new licenses and re-training. This article introduces and contrasts the market leaders –

The post A Comparison of R, Python, SAS, SPSS and STATA for a Best Statistical Software appeared first on HKT Consultant.

]]>

Common statistics program packages differ considerably in terms of their strengths, weaknesses, and handling. The decision as to which system is the best fit should be made with care. Changing to a new system can result in high costs for things like new licenses and re-training. This article introduces and contrasts the market leaders – R, Python, SAS, SPSS, and STATA – to help to illustrate their relative pros and cons, and help make the decision a bit easier.

R

R is a popular, open-source statistics environment that can be extended by packages almost at will. R is commonly used with RStudio, a comfortable development environment that can be used locally or in a client-server installation via a web browser. R applications can also be used directly and interactively on the web via Shiny.

Strengths

  • Very large range of functions (well over 2,000 packages)
  • New statistical methods are quickly implemented
  • Very easy to automate and integrate (for example, with Git, LaTeX, ODBC, Oracle R Enterprise, teradataR, Apache Hadoop, Microstrategy, etc.)
  • Very good community support, as well as fee-based support via third-party providers
  • Extensive help resources freely available (manuals, tutorials, and so on)
  • Very powerful and flexible scripting language (e.g. support of object-oriented programming)
  • All common platforms are supported (Windows, Linux, MacOS…)
  • Future-proof due to very large, active developer community

Weaknesses

  • Getting familiar with the R syntax presents a barrier to entry
  • Stability/quality of little-used packages is often not as high as the core distribution
  • Powerful hardware is required when working with very large data sets

Licensing model and cost
R is free and open source: there are no fees for use

Conclusion
Originally, R was only a low-cost alternative for those that could not afford a commercial statistics program. R has outgrown this perception and now trumps the commercial competition in terms of functionality, flexibility, and integrability with other applications. Many competitors (e.g. SPSS) have reacted by integrating R into their programs. The criticism that R is much harder to learn and use than commercial competitors is less valid today with the availability of RStudio. R is a particularly good choice for frequent users that plan to deal more extensively with statistics and don’t want to be restricted by their statistical program.

Python

Python is a fully functional, open, interpreted programming language that has become an equal alternative for data science projects in recent years. Python is particularly well-suited to the Deep Learning and Machine Learning fields, and is also practical as statistics software through the use of packages, which can easily be installed. A variety of development environments are available, such as jupyter, spyder, and PyCharm. Python is a widely-used language that is also popular in fields like web development.

Strengths

    • Powerful, fully-functional programming language
    • Offers the potential for object-oriented, structured, and functional concepts
    • Mature programming language, resulting in unit tests and debugging functionalities, for example
    • A large number of stable packages in the data science sector and beyond
    • Readable, clean syntax
    • Constant development by a large developer community
    • Full availability of the latest Deep Learning and Machine Learning methods
    • Very easy to automate (e.g. via scripts or a web server)
    • Fully integratable (Git, teradata, PySpark, Hadoop, KNIME)
    • Extremely good community support from a large and constantly-growing community
    • Visualizations are appealing and easy to create
    • Professional development environments are available
    • Future-proof due to continued growth in use in scientific and commercial fields

Weaknesses

    • Not all statistical methods are available
    • Some development environments for statistics are still in their infancy
    • High bar of entry due to being a “full” programming language

Licensing model and cost
There are no user fees for the use of Python. However, in some special areas (e.g. text mining) not all packages are released for commercial use.

Conclusion
Python stands out in this summary given that it is a complete programming language suitable for a wide range of applications. In recent years it has also developed into a serious statistics program due to a large number of high-performance packages, and is increasing in popularity. In particular, Python is indispensable for procedures that are more likely to come from the field of computer science, such as Deep Learning. Its advantages are also clear for automation, and in interaction with other programs (which can also be written in Python). Learning Python requires being prepared to learn a complete programming language, though many good tutorials and trainings are available on the subject due to the language’s popularity. A development environment specifically tailored to the data science sector on the level of RStudio, for example, does not (yet) exist.

SAS

SAS Institute offers a professional statistics software that is commonly used in biometrics, clinical research, and in the banking sector.

Strengths

    • Fast integration of new statistical methods, very stable and reliable routines
    • Very good documentation and professional support
    • Numerous modules and interfaces are available, as well as their own Business Intelligence Software (for a fee)
    • Well-suited for handling large data sets
    • Extensive in-house training offered

Weaknesses

    • Different, partly complicated (but powerful) program languages
    • Partially obsolete interface, GUI optional

Licensing model and cost
A one-year license for SAS® Analytics Pro starts at approximately 7,500€. Typically an individual offer will be made, and special conditions exist for those in the education sector, for example.

Conclusion
SAS is a powerful and very stable tool which is particularly well-utilized by large organizations, and has become the quasi-standard for many analyses in the pharmaceutical sector. The software consists of different modules, some of which follow completely different operating concepts, and the training for SAS is correspondingly complex. Compared to other commercial competitors, SAS is one of the most expensive solutions (which is partially driven by its focus on larger companies and organizations).

SPSS

SPSS is considered to be particularly easy to use, and is one of the most widely-used statistics programs. The originally independent provider has since been taken over by IBM.

Strengths

    • Easy to learn (though not always intuitive to use)
    • Expandable via commercial modules (with prices starting around 800€)
    • Extensive literature – especially on introductory topics – available for Windows and MacOS

Weaknesses

    • Stability has suffered from the short, one-year update cycle
    • Despite syntax and script language it is more difficult to automate and integrate into other applications than other solutions.

Licensing model and cost
There are different license types available, starting at approximately 1,200€ per year for IBM SPSS Statistics Base, 2,700€ for the standard version, and 5,400€ for the professional version, on up to about 8,000€ for the premium version (which includes unlimited use and support for one year). Inexpensive (70€) licenses are available for students, with a fixed one-year term. There are also options for monthly subscriptions.

Conclusion
SPSS has the reputation of being the easiest statistics software to use. SPSS is commonly used in universities, particularly in the social sciences and psychology. In more recent versions, the software is developed by IBM, strongly in the direction of a tool which accomplishes evaluations that can be largely automated and do not require special method knowledge from the user. This development has led to the image of SPSS being somewhat degraded in the eyes of the scientific community, where the software has a reputation for being used by users who “click” together results, without understanding what they are doing. In addition, the short release cycle has negatively impacted stability in the past. While SPSS comes with some more specific modules (e.g. for direct marketing), the overall spectrum of well-supported methods is smaller than for R or SAS, for example.

STATA

STATA is a commercial statistical software that is particularly favored by econometricians.

Strengths

    • Wide range of functions – almost every established statistical method can be found in STATA
    • Easily accessible through a GUI
    • Can be automated
    • Compatible with older versions
    • Good support from the STATA community, and extensive literature available
    • Available for Windows, MacOS, and Unix
    • Comparatively inexpensive relative to commercial competitors
    • Investment security ensured by a three-year release cycle

Weaknesses

    • A bit sluggish in terms of incorporating new methods (version updates)
    • Integration with other software is cumbersome
    • Limited to a data set that is open simultaneously

Licensing model and cost
Commercial single-user license (IC) from approximately 730€. Considerable discounts are available when purchasing multiple licenses, and special conditions apply for the education sector.

Conclusion
Although STATA is a mature, very stable, and powerful software, its distribution – especially in companies – is low. For users who value a broad spectrum of methods, stability, a mature operating concept including scripting language and a fair price, STATA is superior to the more expensive commercial competition.

Other Programs

The five programs discussed above are the undisputed market leaders in the field of universally-applicable statistics programs, and they cover almost the entire spectrum of statistical methods.

There are also several programs that have specialized in certain methods, and have thus been able to establish themselves for certain applications. Some of these programs are mentioned – briefly – below:

  • EViews
    EViews is particularly established in econometrics, and focuses on working with time series data. It is primarily used in university economics departments, and economic research institutes. A less powerful alternative for time series analysis is the free software JMulTi, which is implemented in JAVA.
  • SPSS Amos
    A relatively easy to use program for modeling and estimating structural equation models. Alternatives to Amos include LISREL, Mplus and SmartPLS (for partial least-squares).
  • WinBUGS and OpenBUGS
    WinBUGS, and the related open source project OpenBUGS, are tools especially for Bayesian statistics. While OpenBUGS was developed from the commercial software WinBUGS, the efforts for further development are now concentrated on OpenBUGS. Packages exist that integrate the functionality in R with BRugs and R2OpenBUGS. An alternative to BUGS is JAGS (“Just Another Gibbs Sampler”).
  • Mathematica and MATLAB
    These two commercial programs are used for more numerically-oriented problems.

In addition, there are a number of commercial and open source programs that specialize in data mining methods.

The post A Comparison of R, Python, SAS, SPSS and STATA for a Best Statistical Software appeared first on HKT Consultant.

]]>
Data Analysis Using IBM SPSS: Use and Interpretation https://phantran.net/data-analysis-using-ibm-spss-use-and-interpretation.htm Wed, 23 Oct 2019 10:39:06 +0000 https://phuongphapnghiencuu.com/?p=8579 SPSS means “Statistical Package for the Social Sciences” and was first launched in 1968. Since SPSS was acquired by IBM in 2009, it’s officially known as IBM SPSS Statistics but most users still just refer to it as “SPSS”. SPSS is software for editing and analyzing all sorts of data. These data may come from basically any source: scientific

The post Data Analysis Using IBM SPSS: Use and Interpretation appeared first on HKT Consultant.

]]>
SPSS means “Statistical Package for the Social Sciences” and was first launched in 1968. Since SPSS was acquired by IBM in 2009, it’s officially known as IBM SPSS Statistics but most users still just refer to it as “SPSS”. SPSS is software for editing and analyzing all sorts of data. These data may come from basically any source: scientific research, a customer database, Google Analytics or even the server log files of a website. SPSS can open all file formats that are commonly used for structured data such as: spreadsheets from MS Excel or OpenOffice; plain text files (.txt or .csv); relational (SQL) databases; Stata and SAS.

SPSS is straight forward, and its English-like command language helps the user to go through the flow. SPSS introduces the following four programs that help researchers with their complex data analysis needs.

  • Statistics Program: SPSS’s statistics program gives a large amount of basic statistical functionality; some include frequencies, cross-tabulation, bivariate statistics, etc.
  • Modeler Program: Researchers are able to build and validate predictive models with the help of advanced statistical procedures.
  • Text Analytics for Surveys Program: It gives robust feedback analysis. which in turn get a vision for the actual plan.
  • Visualization Designer: Researchers found this visual designer data to create a wide variety of visuals like density charts and radial box plots.

Thanks for reading!

The post Data Analysis Using IBM SPSS: Use and Interpretation appeared first on HKT Consultant.

]]>
Data Analysis Using STATA: Use and Interpretation https://phantran.net/data-analysis-using-stata-use-and-interpretation.htm Wed, 23 Oct 2019 10:51:47 +0000 https://phuongphapnghiencuu.com/?p=8583 Stata is a general-purpose statistical software package created in 1985 by StataCorp. The name Stata is a syllabic abbreviation of the words statistics and data. The FAQ for the official forum of Stata insists that the correct English pronunciation of Stata “must remain a mystery”; any of “Stay-ta”, “Sta-ta” or “Stah-ta” (rhymes of the three pronunciations of ‘data’) are considered acceptable. More recent updates indicate that

The post Data Analysis Using STATA: Use and Interpretation appeared first on HKT Consultant.

]]>
Stata is a general-purpose statistical software package created in 1985 by StataCorp. The name Stata is a syllabic abbreviation of the words statistics and data. The FAQ for the official forum of Stata insists that the correct English pronunciation of Stata “must remain a mystery”; any of “Stay-ta”, “Sta-ta” or “Stah-ta” (rhymes of the three pronunciations of ‘data’) are considered acceptable. More recent updates indicate that Stata employees pronounce it /ˈsteɪtə/.

Most of its users work in research, especially in the fields of economics, sociology, political science, biomedicine, and epidemiology. According to StataCorp (2016), Stata is “a complete, integrated statistical software package that provides everything you need for data analysis, data management, and graphics”.  Basically, Stata is a software that allows you to store and manage data (large and small data sets), undertake statistical analysis on your data, and create some really nice graphs.

Stata allows you to write code or use menus to perform your analysis. Stata has two primary menu tabs: Graphics and Statistics. Within “Statistics” there are twenty-one sub tabs and numerous tabs within those tabs. Within “Graphics” there are twenty-one tabs as well (you think the people at Stata like to play Black Jack?). I admit, this can be a bit daunting and time consuming if you are trying to find a specific function.  But wait, there’s more. In the command box you can type “help” and what you are looking for. The key point here is I don’t waste time trying to find what I’m looking for. After running the command through the menus method the code shows up in the “Review” box.  I can then copy and paste the command into a “do-file”. A “do-file” is the text document that allows you to submit more than one command to Stata at once.

Stata allows you to have more than one do-file opened at a time. This is a big plus because it makes it easy to copy and paste from other project do-files into the current do-file.  Using do-files is significantly quicker than using the menus if you have created template do-files, especially for creating graphs. There are so many options for creating a graph. It takes less than a minute to copy from a template and paste the commands into your current project. Stata is extremely efficient running repetitive analysis when incorporating macros and loops in a do-file. This sounds like it may be difficult but it’s not.

How well is Stata supported by Stata Corp? On average Stata sends out updated files every two months with new features and/or any fixes to reported glitches. The reference guide for Stata 13 is 281 pages filled with examples and links to the data sets used in the examples. The professional community also provides incredible support. Stata allows third party written commands (also known as modules) to be imported into the software. The website http://ideas.repec.org/s/boc/bocode.html is a warehouse for hundreds of third party written commands which have been tested before made public. Running a search for “logistic” returned 128 results. The bottom line is Stata will run every analysis that the other major statistical packages can, if not more. It is a very efficiently organized program to learn to use.  Third party professionals are continuously offering new functions. Stata adds new features without charging a “new” version fee. All this and the added bonus are reasonably priced and has no add-on charges.

There are four major builds of each version of Stata:

  • Stata/MP for multiprocessor computers (including dual-core and multicore processors)
  • Stata/SE for large databases
  • Stata/IC, which is the standard version
  • Numerics by Stata, supports any of the data sizes listed above in an embedded environment

Small Stata, which was the smaller, student version for educational purchase only, is no longer available. This software is commonly used among health researchers, particularly those working with very large data sets, because it is a powerful software that allows you to do almost anything you like with your data.

It’s important to note that Stata is not the only statistical software – there are many others that you may come across if you pursue a career that requires you to work with data. Some of the other common statistical packages include SPSS and SAS (yes, they all start with ‘s’!).  The focus for this session, however, is on Stata.

The post Data Analysis Using STATA: Use and Interpretation appeared first on HKT Consultant.

]]>
Introduction to SmartPLS software https://phantran.net/introduction-to-smartpls-software.htm Wed, 23 Oct 2019 11:08:26 +0000 https://phuongphapnghiencuu.com/?p=8588 SmartPLS is a software with graphical user interface for variance-based structural equation modeling (SEM) using the partial least squares (PLS) path modeling method. Besides estimating path models with latent variables using the PLS-SEM algorithm, the software computes standard results assessment criteria (e.g., for the reflective and formative measurement models, the structural model, and the goodness of fit) and it

The post Introduction to SmartPLS software appeared first on HKT Consultant.

]]>
SmartPLS is a software with graphical user interface for variance-based structural equation modeling (SEM) using the partial least squares (PLS) path modeling method. Besides estimating path models with latent variables using the PLS-SEM algorithm, the software computes standard results assessment criteria (e.g., for the reflective and formative measurement models, the structural model, and the goodness of fit) and it supports additional statistical analyses (e.g., confirmatory tetrad analysis, importance-performance map analysis, segmentation, multigroup). Since SmartPLS is programmed in Java, it can be executed and run on different computer operating systems such as Windows and Mac.

SmartPLS is the workhorse for all PLS-SEM analyses – for beginners as well as experts. Here is list of all available calculation methods. Relevant innovative algorithms will also be made available in SmartPLS within a short time. We promise.

The post Introduction to SmartPLS software appeared first on HKT Consultant.

]]>
Introduction to Eviews https://phantran.net/introduction-to-eviews.htm Tue, 27 Oct 2020 08:24:56 +0000 https://phuongphapnghiencuu.com/?p=9046 EViews is a statistical package for Windows, used mainly for time-series oriented econometric analysis. It is developed by Quantitative Micro Software (QMS), now a part of IHS. Version 1.0 was released in March 1994, and replaced MicroTSP. The TSP software and programming language had been originally developed by Robert Hall in 1965. The current version of EViews is 12, released in November 2020. EViews is a

The post Introduction to Eviews appeared first on HKT Consultant.

]]>
EViews is a statistical package for Windows, used mainly for time-series oriented econometric analysis. It is developed by Quantitative Micro Software (QMS), now a part of IHS. Version 1.0 was released in March 1994, and replaced MicroTSP. The TSP software and programming language had been originally developed by Robert Hall in 1965. The current version of EViews is 12, released in November 2020.

EViews is a software package that provides tools for data analysis, regression, and forecasting. It is a “canned” regression package for econometric analysis. EViews has an object-oriented design. Each type of object has specific ‘views’ and procedures that are used in Eviews.

Eviews has been a command-line-only program up until recently, and all the advanced features, such as Kronecker products, eigenvector solution, and singular value decomposition are still processed using the command line. As well, the command line mode records all of the steps in an analysis. The GUI (Graphical User Interface) is convenient, but you will have no record of your session and will have to go back to command line mode to use advanced features.

The post Introduction to Eviews appeared first on HKT Consultant.

]]>
Using EViews for Principles of Econometrics https://phantran.net/using-eviews-for-principles-of-econometrics.htm https://phantran.net/using-eviews-for-principles-of-econometrics.htm#respond Mon, 20 Sep 2021 04:58:34 +0000 https://phantran.net/?p=39899 This manual is a supplement to the textbook Principles of Econometrics, 3rd Edition, by Hill, Griffiths and Lim (John Wiley & Sons, Inc., 2008). It is not in itself an econometrics book, nor is it a complete computer manual. Rather it is a step-by-step guide to using EViews for the empirical examples in Principles of

The post Using EViews for Principles of Econometrics appeared first on HKT Consultant.

]]>
This manual is a supplement to the textbook Principles of Econometrics, 3rd Edition, by Hill, Griffiths and Lim (John Wiley & Sons, Inc., 2008). It is not in itself an econometrics book, nor is it a complete computer manual. Rather it is a step-by-step guide to using EViews for the empirical examples in Principles of Econometrics, which we will abbreviate as POE. This book contains a CD with EViews Student Version 6. We imagine you sitting at a computer with your POE text and Using EViews for Principles of Econometrics, 3rd Edition open, following along with the manual to replicate the examples in POE. Before you can do this you must install EViews and obtain the EViews “workfiles,” which are documents that contain the actual data.

1. Installing EViews 6 student version

Your copy of EViews is distributed on a single CD-ROM. EViews is a Windows-based program. First close all other applications, then insert the CD into your computer’s drive and wait until the setup program launches. If the CD does not spin-up on its own, navigate to the CD drive using Windows Explorer, and click on the Setup icon (AUTORUN.EXE).

The initial screen is shown below. You should first click on View Read Me to see any last minute changes or instructions. Click View Documentation to open EViews 6 Getting Started for the Student Version. It describes the installation and registration process. This document can also be accessed from the Help/Student Version Getting Started (pdf) from the main EViews menu. You must have Adobe Acrobat to read *.pdf files. If you do not have this software, go to www.adobe.com and download the free Adobe Reader.

When you are ready, click Install EViews and follow the on-screen instructions.

2. Checking for updates

Once installed you should visit www.eviews.com and check the “download” link. There you will find any updates for your software.

3. Obtaining data workfiles

The EViews data workfiles (with extension *.wfl) and other resources for POE can be found at www.wilev.com/college/hill . Find the link “Online resources for students.” The POE workfiles can be downloaded in a compressed format, saved to a subdirectory (we use c:\data\eviews), and then expanded. In addition to the EViews workfiles, there are “data definition” files (*.def) that describe the variables and show some summary statistics. The definition files are simple text files that can be opened with utilities like Notepad or Wordpad, or using a word processor. These files should be downloaded as well. Individual EViews workfiles, definition files, and other resources can be obtained at www.bus.lsu.edu/hill/poe. The data files in EViews, Excel, and ASCII format, along with the definition files, are also on the EViews 6 SV CD-ROM that came with this manual.

Source: Griffiths William E., Hill R. Carter, Lim Mark Andrew (2008), Using EViews for Principles of Econometrics, John Wiley & Sons; 3rd Edition.

The post Using EViews for Principles of Econometrics appeared first on HKT Consultant.

]]>
https://phantran.net/using-eviews-for-principles-of-econometrics.htm/feed 0
Starting EViews https://phantran.net/starting-eviews.htm https://phantran.net/starting-eviews.htm#comments Mon, 20 Sep 2021 04:59:14 +0000 https://phantran.net/?p=39900 To launch EViews double click the EViews 6 SV icon on the desktop, if one is present. It should resemble Alternatively, select EViews from the Windows Start Menu. When EViews opens you are presented with the following screen Across the top are Drop Down Menus that make implementing EViews procedures quite simple. Below the menu

The post Starting EViews appeared first on HKT Consultant.

]]>
To launch EViews double click the EViews 6 SV icon on the desktop, if one is present. It should resemble

Alternatively, select EViews from the Windows Start Menu. When EViews opens you are presented with the following screen

Across the top are Drop Down Menus that make implementing EViews procedures quite simple. Below the menu items is the Command Line. It can be used as an alternative to the menus, once you become familiar with basic commands and syntax. Across the bottom is the Current Path for reading data and saving files. The EViews Help Menu is going to become a close friend.

Source: Griffiths William E., Hill R. Carter, Lim Mark Andrew (2008), Using EViews for Principles of Econometrics, John Wiley & Sons; 3rd Edition.

The post Starting EViews appeared first on HKT Consultant.

]]>
https://phantran.net/starting-eviews.htm/feed 2
The EViews Help System https://phantran.net/the-eviews-help-system.htm https://phantran.net/the-eviews-help-system.htm#respond Mon, 20 Sep 2021 05:00:00 +0000 https://phantran.net/?p=39901 Click Help on the EViews menu The resulting menu is 1. EViews help topics First, click on EViews Help Topics. Select Getting Started (Student Version) to obtain basic information about the Student Version of EViews. Selecting User’s Guide/EViews Fundamentals opens a list of chapters that can take you through specifics of working with EViews. These

The post The EViews Help System appeared first on HKT Consultant.

]]>
Click Help on the EViews menu

The resulting menu is

1. EViews help topics

First, click on EViews Help Topics. Select Getting Started (Student Version) to obtain basic information about the Student Version of EViews. Selecting User’s Guide/EViews Fundamentals opens a list of chapters that can take you through specifics of working with EViews. These guides will be a useful reference after you have progressed further through Using EViews for POE.

2. The read me file

On the Help menu, select READ ME. This opens a PDF file with the latest installation notes and errata.

3. Quick help reference

Select Quick Help Reference. You find another menu. Select Function Reference.

EViews has many, many functions available for easy use.

  • Operato
  • Basie mathematical functions.
  • Time series functions.
  • Financial functions.
  • Descriptive statistics.
  • Cumulative statistics functions.
  • Moving statistics functions.
  • Group row functions.
  • By-group statistics.
  • Additional and special functions.
  • Trigonometric functions.
  • Statisncai oistridution functions.

You should just take a moment to examine the Operators (basic addition, multiplication, etc.) and the Basic mathematical functions (square roots, logarithms, absolute value, etc.). This Function Reference help is one that you will use very frequently, and to which we will refer a great deal.

4. EViews Illustrated

The next Help menu item is for sample chapters from EViews Illustrated by Richard Startz, which is good humored tutorial, with screen shots like you are seeing here, covering many aspects of using EViews. The first three chapters are provided.

5. Users Guides and Command Reference

The User’s Guide I (794 pages), User’s Guide II (688 pages) and Command Reference (926 pages) are the complete documentation for the full version of EViews 6. While these are good rainy day reading we do not necessarily suggest you search them for information until you are more familiar with the workings of EViews. This book, Using EViews for POE, is an effort to guide you through the essentials of EViews that are needed to replicate the examples in the book POE.

Source: Griffiths William E., Hill R. Carter, Lim Mark Andrew (2008), Using EViews for Principles of Econometrics, John Wiley & Sons; 3rd Edition.

The post The EViews Help System appeared first on HKT Consultant.

]]>
https://phantran.net/the-eviews-help-system.htm/feed 0
Using a EViews Workfile https://phantran.net/using-a-eviews-workfile.htm https://phantran.net/using-a-eviews-workfile.htm#comments Mon, 20 Sep 2021 05:01:00 +0000 https://phantran.net/?p=39902 As noted earlier all the data for the book Principles of Econometrics is provided as EViews worhfiles. These will be used starting in Chapter 2. To illustrate the basic functioning of EViews we will use an example provided with EViews. Click on Help/EViews Help Topics/User’s Guide/EViews Fundamentals/A Demonstration. The demonstration starts by importing data into

The post Using a EViews Workfile appeared first on HKT Consultant.

]]>
As noted earlier all the data for the book Principles of Econometrics is provided as EViews worhfiles. These will be used starting in Chapter 2. To illustrate the basic functioning of EViews we will use an example provided with EViews. Click on Help/EViews Help Topics/User’s Guide/EViews Fundamentals/A Demonstration.

The demonstration starts by importing data into EViews from an Excel spreadsheet. We will skip that step here, but if you like you can gain further practice by following along their demonstration.

Remark: You will want to be able to “import” data into EViews, or enter data manually. We cover the various methods for entering data into EViews in Chapter 17 of this manual.

1. Setting the default path

At the bottom of the EViews screen you will see Path = . This determines where EViews will first look for data and save workfiles.

Double-click on Path and a window will open in which you can locate what you desire for your default directory. We will use the path c:\data\eviews

2. Opening a workfile

Open the workfile called demo by clicking File/Open/Workfile

Select demo.wfl and click on Open.

The workfile opens to show

Located on the left side are data series that are indicated by the icon 0. EViews calls the elements of the workfile objects. As you will discover, there are many types of objects that EViews can save into the workfile—not only series but tables, graphs, equations, and so on. As Richard Startz says, an object is a little “thingie” that computer programmers talk about. Each little icon “thingie” in the workfile is an object.

In this workfile the data series, or variables, are:

  • GDP—gross domestic product
  • Ml—money supply
  • PR—price level (index)
  • RS—short term interest rate

The series resid and the icon labeled p are always present in EViews workfiles (even new ones with no data) and their use will be explained later. Across the top of the workfile are various buttons that initiate tasks in EViews, and these too will be explained later.

Below the buttons are Range: 1952:1 2003:4, which indicates that the 208 observations on the variables included run from 1952, Quarter 1, to 2003, Quarter 4. Sample: 1952:1 2003:4 denotes the data observations EViews will use in calculations. Many times we will choose for analysis less than the full range of observations that are available, so Sample will differ from Range.

3. Examing a single series

It is a good idea each time you open a workfile to look at one or more series just to verify that the data are what you expect. First, select one series

Double-click in the blue area, which will reveal a spreadsheet view of the data.

In the upper left hand corner is a button labeled View

This opens a drop-down menu with a number of choices. Select Descriptive Statistics & Tests/Histogram and Stats.

The result is

This histogram is shown with various summary statistics on the side. Click on View again. Select Graph.

There you will see many options. The default graph type is a Basic Graph with the Line & Symbol plotted. Select OK.

The result is a line graph. The dates are on the horizontal axis and GDP on the vertical axis.

4. Changing the sample

If you wish to view the graph or summary statistics for a different sample period, click on the Sample button. This feature works the same in all EViews windows.

In the dialog box that opens change the sample to 1995:1 to 2003:4 then click OK.

The resulting graph shows that GDP rose constantly during this period.

5. Copying graph into a document

Select View/Descriptive Statistics & Tests/Histogram and Stats. You will find now the summary statistics and histogram of GDP for the period 1995:1 to 2003:4. These results can be printed by selecting the Print button.

You may prefer to copy the results into a word processor for later editing and combining results. How can results be taken from EViews into a document? Click inside the histogram

While holding down the Ctrl key press C (which we will denote as Ctrl+C). This is the Windows keystroke combination for Copy.

In the resulting dialog box you can make some choices, then click OK. This copies the graph into the Windows clipboard (memory). Open a document in your word processor and enter Ctrl+V which will Paste the figure into your document.

Lets close the graph we have been working on, by clicking the red X in the upper right hand comer of the GDP screen

Source: Griffiths William E., Hill R. Carter, Lim Mark Andrew (2008), Using EViews for Principles of Econometrics, John Wiley & Sons; 3rd Edition.

The post Using a EViews Workfile appeared first on HKT Consultant.

]]>
https://phantran.net/using-a-eviews-workfile.htm/feed 1
Examining Several Series with EViews https://phantran.net/examining-several-series-with-eviews.htm https://phantran.net/examining-several-series-with-eviews.htm#respond Mon, 20 Sep 2021 05:02:14 +0000 https://phantran.net/?p=39903 Rather than examining one series at a time we can view several. In the workfile window select the series Ml and then while holding down the Ctrl-key select the PR series. Double click inside the blue area to open what is called a Group of variables. Click on Open Group. A spreadsheet view of the

The post Examining Several Series with EViews appeared first on HKT Consultant.

]]>
Rather than examining one series at a time we can view several. In the workfile window select the series Ml and then while holding down the Ctrl-key select the PR series. Double click inside the blue area to open what is called a Group of variables.

Click on Open Group.

A spreadsheet view of the data will open.

Note that the series begins in 1995:1 because we changed the Sample range in Section 1.4.4.

1. Summary statistics for several series

From the spreadsheet we can again examine the data by selecting the View button. Select Descriptive Stats/Common Sample.

The result is a table of summary statistics is created for the two series (variables) in the group.

2. Freezing a result

These results can be “saved” several ways. Select the Freeze button. This actually saves an image of the table. In the new image window, select the Name button. Enter a name for this image, which EViews calls an Object. The name should be relatively short and cannot contain any spaces. Often underscores can be used to separate words to make recognition easier.

Click OK, then close the Object by clicking on the red X. Check back in the workfde and you will now see a new entry, which is the table you have created.

The table can be recalled at any time by double clicking the Table icon

3. Copying and pasting a table

To copy these into a document directly, highlight the table of results (drag the mouse while holding down its left button), enter Ctrl+C. In the resulting box click the Formatted radio button, check the box to Include header information, and click OK. This copies the table to the Windows clipboard, which then can be pasted (Ctrl+V) into an open document.

This same method can be used for basically any table in EViews. For example, if you open the saved table “STATS TABLE Ml PR” you can highlight the results, then copy and paste as we have done here.

4. Plotting two series

Return to the spreadsheet view of the two series Ml and PR. Select View/Graph. In the resulting dialog box, select Multiple graphs in the Multiple series menu.

Click OK to obtain two plots of the series

We can Freeze this picture, then assign it a Name for future reference.

5. A scatter diagram

A scatter diagram is a plot of the data points with one variable on one axis and the other variable on the other axis. In the Group screen click View/Graph. Select Scatter as the specific type of graph.

Click OK. Copy the graph by clicking inside the graph area, entering Ctrl+C to copy, then paste into a document using Ctrl+V. The resulting graph is on the next page. Recall that we are still operating with the sample from 1995:1 to 2003:4, which is only 36 data points.

The variable Ml is on the horizontal axis because it is the first series in the spreadsheet view.
Click the red X in the Group window. When you do this you will be faced with some choices.

The Group consists of the two series Ml and PR. This Group can be saved by selecting Name and assigning a name.

In the workfile window you will find a new object for this group.

Source: Griffiths William E., Hill R. Carter, Lim Mark Andrew (2008), Using EViews for Principles of Econometrics, John Wiley & Sons; 3rd Edition.

The post Examining Several Series with EViews appeared first on HKT Consultant.

]]>
https://phantran.net/examining-several-series-with-eviews.htm/feed 0