Publication Year
Article Type

Contemporary Data Science for Finance Students: A Comparative Study of Essential Features of Commonly Used Statistical Software

Case study

Citation Download PDF

International Journal of Innovation and Economic Development
Volume 6, Issue 2, June 2020, Pages 19-24

Contemporary Data Science for Finance Students: A Comparative Study of Essential Features of Commonly Used Statistical Software

DOI: 10.18775/ijied.1849-7551-7020.2015.62.2002
URL: http://dx.doi.org/10.18775/ijied.1849-7551-7020.2015.62.2002

1 Madalina Viorica Manu, 2 Ilie Vasile

1,2 Bucharest University of Economic Studies, Romania

Abstract: In this paper we compare some of the essential traits of the software preferred by researchers, students and professors, such as R or RStudio, or Matlab. In order to fill the gap in the Romanian literature and help finance students in choosing proper tools according to the research purpose, this comparative study aims at bringing a fresh, useful perspective in the relevant literature. In Romania, the use of R was the focus of several international conferences on official statistics held in Bucharest, and others having business excellence, innovation and sustainability as purpose, while Eviews is recommended and taught by the Romanian professors. In this time, at global scale, R programming language is considered the lingua franca of data science, as common statistical software used both in corporations and academia. In this paper, I analyze basic features of such software, with the purpose of application in finance.

Keywords: Poftware, Programming language, R, RStudio, Statistics

Contemporary Data Science for Finance Students: A Comparative Study of Essential Features of Commonly Used Statistical Software

1. Introduction

Data science teams, economists and corporations use a mix of languages, often, at least R and Python (R for Data Science n.d.). The Python Programming Language ranks 4, climbing one step in the last year, while R is in ascension, ranking 10 in the popularity of programming languages; however, MATLAB programming language is falling, ranking the 18th. (TIOBE 2020)

1.1 Problem Statement

Comparisons of finance problems solving using MATLAB , R or Eviews  represent an area of research that is not yet developed, although small steps have been made in Romania (Simionescu 2014). The use of R was the central theme of several international conferences on official statistics, organized by R-omania Team in Bucharest  since 2013 (R Project R-omania Team n.d.).

1.2 Aim of the Study

This paper is a comparative study of the most used software instruments for modeling, in an attempt to understand their main features and then define a model for the enterprise value. This research can / should be extended as there are books and many tutorials and courses for an in-depth study of software instruments for modeling and analyzing finance phenomena.

In the context of machines getting smarter, there is a strong need for continuous, lifelong learning in general and even more, in finance. We should keep in mind that the ability to adapt skills to the changing needs of the workplace will be critical for the employees and lifelong learning, [1]a must. However, the reality falls far short of the necessity (McKinsey & Company 2017).

2. Literature Review

A research design indicates how to plan and conduct empirical research (quantitatively and qualitatively), including: descriptive statistics, mathematics, and popular software tools for analysis (N.J.Salkind 2010). There are many packages available for econometric modeling which have improved and have  converged in terms of what is available in each package. The programs can be categorized as: whether they are fully interactive (menu-driven), such as Eviews, or command-driven (so that the user has to write mini-programs). Such packages are often the least flexible, since the menus are fixed, however, EViews has a command-based programming language as well as a click-and-point interface. (Brooks 2014)

Automation changes the activities of all sectors, including finance, as robots and computers can perform routine physical work activities better and more cheaply than humans, being increasingly capable of accomplishing activities that include cognitive capabilities (James Manyika 2017). The analysis of the impact of automation, covering 78% of the global labor market, the high percentage of time spent on activities with the technical potential for automation by adapting currently demonstrated technology shows a very high potential for automation, in many countries. In figure 1, we can see the high potential for automation in the European countries , in the case of the Finance and insurance sector; when all the sectors all considered, this potential is still high, reaching 50% in several countries, such as Russia or Italy (McKinsey Global Institute 2017).

Figure 1: The high potential for automation in the Finance and insurance sector

Source: (McKinsey Global Institute 2017)

Computational econometrics is applied econometric practice, as the development of computational techniques for econometrics (estimation or numerical methods); computer studies (Monte Carlo experiments, genetic algorithms, network studies, or estimation methods like simulated annealing); studies in which the computer does nonlinear estimation of large-scale systems, massive simulations;  development of computational environments for econometric studies (GAMS  or Stata ) (Belsley and Kontoghiorghes 2009). The General Algebraic Modeling System (GAMS) is used by multinational companies, universities, research institutions and governments in energy and chemical industries, for economic modeling, or agricultural planning, or manufacturing (GAMS n.d.).

Data mash-ups in R can analyze mortgage foreclosures by extracting addresses from a public report, placing them on a map and grouping them by various criteria, such as valuation and other socio-economic factors (Loukides 2011). Others are starting to use R for data analysis, data manipulation from Oracle databases, reports, data editing, survey estimation and found some problems working with big data sets, also sur[1]vey sampling as there are surveys with complex sampling designs (Rudys 2016). R has the advantage that allows extensions of functions developed by the user for econometric modeling (Simionescu 2014). Also, if we consider the output from a regression or discriminant analysis, R gives minimal output and stores the results in a fit object for subsequent interrogation by further R functions (Venables, Smith and Team 2016).

3. Research Methology

This qualitative research is based on discussions and inputs from PhD students, with respect to the advantages of using R system – a statistics system or an environment with both classical and modern statistical techniques (R 2009).

3.1 Considerations

RStudio is recommended for beginners as no prior knowledge/ experience with R/ RStudio are required. The features of RStudio include, besides the increased productivity of R users (Benjamin S. Baumer 2017):

  • Integrates tightly reproducible analysis tools,
  • Packages, such as the very useful and also very popular ggplot2 for creating graphics (based on the data input, maps variables to aesthetics, etc.) (Hadley Wickham n.d.);
  • Helps avoid error-prone “cut-and-paste” workflows;
  • supports authoring HTML, PDF, Word Documents, and slide shows, and interactive graphics (with Shiny and ggvis);
  • code-completion,
  • The open Source Edition of RStudio Executes R code directly from the source editor, jumps to function definitions, has interactive debugger to diagnose and fix errors quickly (RStudio 2018).

However, for the students in Finance, using MATLAB’ Financial Toolbox™ functions for mathematical modeling and statistical analysis of financial data, can help optimizing portfolios of financial instruments, optionally take into account turnover and transaction costs, estimate risk, analyze interest rate levels, price equity and interest rate derivatives, and measure investment performance. Time series analysis functions help the user perform transformations or regressions with missing data and convert between different trading calendars and day-count conventions (The MathWorks, Inc. 2018). In figure 2 below, we can see the steps of portfolio optimization using the Portfolio object in Financial Toolbox™, in an example of MATLAB Portfolio Optimization against a benchmark.

Figure 2: Performing portfolio optimization against a benchmark in MATLAB

Source: (The MathWorks, Inc. 2018)

In table 1, we summarized several traits of these systems.

Table 1: Comparison

The General Algebraic Modeling System (GAMS)StataRSSAS
Algebraic modeling – the most productive way of implementing optimization models and decomposition methods for optimization problemsstandard methods: Basic tabulations and summaries, Case–control analysis, ARIMA, ANOVA and MANOVA, Linear regression, Time-series smoothers, Generalized linear models (GLM), Cluster analysis, Contrasts and comparisons, Power analysis, Choice modeling, Sample selectionregarded as an implementation of the S language. Large data objects usually be read as values from external files; minimal output from a regression or discriminant analysis; stores the results in a fit object for subsequent interrogation by R. a comprehensive set of statistical tables. Functions evaluate the cumulative distribution function P(X ≤ x), function, simulate from the distribution.the probability density function and the quantilestatistical analysis – as a series of steps, with intermediate results being stored in objectsadvanced analytics, multivariate analyses, business intelligence, data management, and predictive analytics: mines, alters, manages, retrieves data; statistical analysis;


Stata: advanced techniques: Multilevel models, Survival models with frailty, Dynamic panel-data (DPD) regressions, SEM -structural equation modeling, Binary, count, and censored outcomes, ARCH, Multiple imputation, Latent class analysis (LCA), Treatment effects, Survey data, Bayesian analysis, Finite mixture models – FMM

4. Conclusion and Recommendations

There are many options for the finance students with respect to software instruments for modeling and analyzing finance phenomena. However, he/she can choose the proper tools according to the tasks performed, accessibility of the soft, i.e. R and RStudio are free, or the knowledge of it, for example, Eviews is quite friendly with the help of the Eviews Illustrated tutorial, but it does not come free of charge. One common feature of the programming languages studied is that the information input can be done from all kinds of files, including Excel.


  • Benjamin S. Baumer, Daniel T. Kaplan, Nicholas J. Horton. Modern Data Science with R. 2017. https://books.google.ro/books?id=NrddDgAAQBAJ&dq=data+science&hl=ro&source=gbs_navlinks_s (accessed 2018).
  • Briand, Genevieve, and R. Carter Hill. Using Excel for Principles of Econometrics. New York: John Wiley and Sons , 2011.
  • Brooks, Chris. Introductory Econometrics for Finance. Cambridge: Cambridge University Press, 2014. Crossref
  • Edited by David A. Belsley, E. J. Kontoghiorghes. “Preface.” In Handbook of Computational Econometrics. Chippenham, Wiltshire: John Wiley & Sons, 2009.
  • Essnet Validat Foundation. “Methodology for data validation 1.0.” 06 2016. https://ec.europa.eu/eurostat/cros/system/files/methodology_for_data_validation_v1.o_rev_2016_06_final.pdf (accessed 01 2018).
  • Fernandez, Pablo. Company valuation methods. Madrid, 2017.
  • About the Company. GAMS. n.d. https://www.gams.com/about-the-company/ (accessed 12 2017).
  • Hadley Wickham, Winston Chang. Overview. n.d. http://ggplot2.tidyverse.org/ (accessed 01 2018).
  • Huber, Chuck. Data management made easy. STATA. 11 15, 2017. https://blog.stata.com/ (accessed 01 2018).
  • James Manyika, Michael Chui, Mehdi Miremadi, Jacques Bughin, Katy George, Paul Willmott, and Martin Dewhurst. Harnessing automation for a future that works. 01 2017. https://www.mckinsey.com/global-themes/digital-disruption/harnessing-automation-for-a-future-that-works (accessed 2018).
  • Loo, Mark van der. “Statistical Data Cleaning with R.” Use of R. Bucharest, 2017.
  • Loukides, Mike. What Is Data Science? 04 2011.
  • n.d. https://de.mathworks.com/videos/matlab-student-overview-89557.html (accessed 01 2018).
  • McKinsey & Company. McKinsey Quarterly. New York, 2017.
  • McKinsey Global Institute. Where machines could replace humans — and where they can’t (yet). 01 2017. https://public.tableau.com/profile/mckinsey.analytics#!/vizhome/InternationalAutomation/WhereMachinesCanReplaceHumans (accessed 2018).
  • J.Salkind, editor. Encyclopedia of Research Design. California, USA: SAGE Publications, 2010. Crossref
  • Python Software Foundation. 2018. https://docs.python.org/3/tutorial/index.html (accessed 01 2018).
  • Quantitative Micro Software, LLC. EViews 6 Student Version. 2007.
  • R for Data Science. n.d. http://r4ds.had.co.nz/introduction.html (accessed 01 2018).
  • R Project R-omania Team. n.d. http://www.r-project.ro/.
  • What is R? 2009. https://www.r-statistics.com/page/16/ (accessed 01 2018).
  • n.d. https://www.rstudio.com/products/rpackages/ (accessed 01 2018).
  • RStudio Desktop. 2018. https://www.rstudio.com/products/RStudio/ (accessed 01 2018).
  • Rudys, Tomas. “Use Of R in Statistics Lithuania.” (Romanian Statistical Review), no. 2 (2016).
  • About SAS. SAS. n.d. https://www.sas.com/en_us/company-information.html#history (accessed 01 2018).
  • Simionescu, Mihaela. Modelare economică în Matlab, R și Eviews. București: A.S.E., 2014.
  • STATA . Why Stata. n.d. https://www.stata.com/why-use-stata/ (accessed 01 2018).
  • The MathWorks, Inc. Financial Risk Management: Improving Model Governance with MATLAB. 2018. https://www.mathworks.com/campaigns/products/offer/financial-risk-improve-model-governance-white-paper.html (accessed 2018).
  • Financial Toolbox. 2018. https://www.mathworks.com/help/finance/getting-started-with-financial-toolbox.html (accessed 2018).
  • Portfolio Optimization Against a Benchmark. 2018. https://www.mathworks.com/help/finance/examples/portfolio-optimization-against-dow-benchmark.html (accessed 2018).
  • TIOBE Index for February 2018. 02 2018. https://www.tiobe.com/tiobe-index/ (accessed 02 2018).
  • Venables, W. N., D. M. Smith, and R Core Team. “An Introduction to R.” 2016. https://cran.r-project.org/doc/manuals/r-release/R-intro.pdf.
  • Webb, Allen. McKinsey Quarterly 2017 Number 4: Overview and full issue. 2017. https://www.mckinsey.com/business-functions/mckinsey-analytics/our-insights/mckinsey-quarterly-2017-number-4-overview-and-full-issue (accessed 2018).



Comments are closed.

Subscribe To Newsletter
Be the first to get latest updates and exclusive content straight to your email inbox.
Stay Updated
Give it a try, you can unsubscribe anytime.