Foundations of OR: Time Series Forecasting in R

Gain the theoretical and practical understanding on how to process and model time series data in your analytical and forecasting workflows using R programming language. This course will provide you with essential knowledge to allow wrangling, processing, analysis and forecasting of time series data in the R programming language.

Description

  • This tutor-led training course will provide you with essential knowledge to allow wrangling, processing, analysis and forecasting of time series data using specialised libraries such as ts, xts, zoo, tsibble, fable and forecast in the R programming language.
  • Whether you wish to analyse financial data, predict sales or revenue, or understand temporal patterns in your social, health or economic data, this course will provide you with theoretical and practical understanding on how to process and model time series data in your workflows using R programming language.

Learning objectives

  • Learn to manipulate the imported data and transform the processed data into supported time series R objects.
  • Perform essential time series exploratory operations, calculate selected moving/rolling single-value statistics, convert between differing time frequencies, visualise and prepare data for predictions.
  • Implement popular industry-standard univariate and multivariate time series forecasting methods such as simple exponential smoothing, Holt’s linear trend and Holt-Winter’s seasonal methods, as well as estimating linear, non-linear and locally-weighted trends with multivariate regression models.

Topics

Day 1 Session 1: Working with time series data in R

  • Creating time series objects and data structures in R,
  • Converting between different time series objects,
  • Importing time series data,
  • Pre-processing time series data,
  • Plotting time series data with ggplot2 and interactive visualisation packages e.g. plotly and highcharter,
  • Downsampling and upsampling time series.

 

Day 1 Session 2: Time series analysis with R

  • Building on exploratory analysis of time series: moving averages, lagged values and rolling statistics,
  • Evaluating forecasting accuracy and measuring the error,
  • Simple forecasting approaches: naive model, average model, linear trend model.

 

 

Day 1 Session 3: Univariate time series forecasting methods

  • Introduction to univariate time series methods: simple exponential smoothing, Holt’s linear trend and Holt-Winter’s seasonal methods,
  • Exponential smoothing state space models.

 

Day 1 Session 4: Multivariate time series forecasting methods

  • Multiple linear regression with time series data,
  • Polynomial regressions with time series data.

 

Audience

The course is designed for those who wish to develop their time series forecasting skills using R programming language.

Course format

  • The live instructor-led tutorial sessions will consist of a mixture of practical demonstrations, computer-based tutorials, presentations, and discussions.

 

  • R packages
    • The course doesn’t use any Java-based R packages – this is to avoid certain common issues with Java Virtual Machine and rJava package installation. However, during the course we will be making the most of other (non-Java) R packages which simplify many typical operations or add useful and well-optimised functionalities.
    • A list of R packages will be shared prior to the start of the course which you may pre-install if you think you may not have full admin rights to your PC.

 

  • Additional resources and recommended reading
    • All resources (R code scripts, presentation slides, and data files used during the course as well as additional materials such as research articles) will be provided to the delegates before the first session of the course.
    • The following free online textbook is recommended as the preferred pre-course and also as a follow-up reading:

 

“Forecasting: Principles and Practice” by Rob J Hyndman and George Athanasopoulos: https://otexts.com/fpp2/ (2nd edition, based on the forecast package) and/or https://otexts.com/fpp3/ (3rd edition, based on the fable package). Both editions contain numerous examples of time series analysis and forecasting methods implemented in R, some of which will be taught in detail during this course.

Related courses

  • Data Science for Operational Researchers Using R
  • Foundations of OR: Statistical Methods in OR: Forecasting
  • Follow on to Forecasting: ARIMA modelling for forecasting

Similar courses

This course introduces the technique of causal mapping to structure a complex problem, and the method of cognitive mapping to interview stakeholders. Together, this enables analysts or facilitators to build a map and model of stakeholders’ beliefs, values and objectives to enable effective definition of a problem.

More Information

This practical course will help you to improve project performance, ensure outcomes are met and enable resources to be used efficiently, using Soft Systems Methodology (SSM), the best-known problem structuring method.

More Information

While many analysts will use Microsoft Excel daily few use VBA (Visual Basic for Applications). This course will provide delegates with the skills to utilise VBA and achieve the efficiency in Excel modelling necessary for professional analytics practice. 

More Information

In this course you will learn how to utilise version control. This tool makes it possible to look back over all your previous configurations so removing the need to store a number of csv files. You will learn how to integrate version control into your project using RStudio.

More Information

This course will teach you how to update your reports at the click of a button using integrated R Markdown so your data reporting will efficient and reproducible.

More Information

As spatial data sets grow ever larger this course will teach you how to harness the capabilities of R for your analysis.

More Information

Develop your understanding of Operational Research (OR), its processes and how they are used to address real world problems. Address the modelling issues you may encounter throughout your career. 

More Information

Develop your understanding of Operational Research (OR), its processes and how they are used to address real world problems. Address the modelling issues you may encounter throughout your career. 

More Information

An introductory course to equip you with a tool bag of core quantitative forecasting techniques that are adaptable to almost any organisational setting. Appreciate the qualitative methods of forecasting by making use of expert opinion, judgement and scenarios.

More Information

This course is for those conducting modelling and analysis using Microsoft Excel and are now looking to expand their knowledge. In this course you will learn tips and shortcuts to aid you in achieving efficient and effective analysis while improving your proficiency in Excel. 

More Information

This course will provide you with a systematic introduction to the nature and advanced functionality of Microsoft Excel. It will arm you with the skills needed for planning, formatting and formulas that will take your proficiency to an improved level. 

More Information

Learn to better understand complex situations and effectively define problems by mapping and modelling stakeholder beliefs, values, and objectives. This practical course will introduce you to causal and cognitive mapping techniques.

More Information

This practical course will help you to improve project performance, ensure outcomes are met and enable resources to be used efficiently, using Soft Systems Methodology (SSM).

More Information

An introductory course to equip you with a tool bag of core quantitative forecasting techniques that are adaptable to almost any organisational setting. Appreciate the qualitative methods of forecasting by making use of expert opinion, judgement and scenarios.

More Information

This course will teach you how to use advanced analytics techniques to solve complex optimisation problems. You will then be in a position to provide recommendations for the best solution or action from a number of possibilities.

More Information

Gain an understanding of the ideas and concepts of efficiency assessment of organisations and how Data Envelopment Analysis (DEA) models can be formulated and applied using Excel Solver.

More Information

This course offers a set of frameworks and methods based on behavioural science to support Operational Research (OR) Practice. The course can be useful for developing behavioural OR models, understanding behavioural issues with the implementation of OR models and the behavioural aspects of interventions.

More Information

Developed in response to the new age of data-centric activities and with data visualisation at its core method you’ll learn how to get your message across and leverage your data assets. OR practitioners, managers and policy makers will benefit from the data journalism approach leading to increased audience engagement.

More Information

Do you work in data analytics, BI/MI, data science, or machine learning? Do you want to make an immediate impact? This course is designed to equip delegates with a versatile skillset and deliver measurable results within your organisation.

More Information

Overview An introduction to Soft OR and the methods for working with strategic and complex problem situations and structuring qualitative data.

More Information

Develop a practical understanding of System Dynamics qualitative and quantitative methods. 

More Information

Develop a practical understanding of System Dynamics qualitative and quantitative methods. 

More Information

Demand for systems thinking approaches is growing as policy makers and managers face important systemic problems. This workshop provides an overview of these approaches and gives direction to practitioners wishing to make use of these approaches.

More Information

Letting the Facts Speak for Themselves. The purpose of this course is to teach delegates how to present their facts in the most compelling manner. Familiarity with Key Principles, borrowed from the Worlds of Art and Modern Design, will allow delegates to present results in more compelling ways thus influencing their audience more effectively.

More Information

Data wrangling is the name given to the process of extracting useful information from large quantities of data. It generally involves: Discovering, Structuring, Cleaning, Enriching, Validating, and Publishing data to make it available for analysis. This necessarily involves processing large amounts of data and this course will teach you how to do that with the Python programming language. 

More Information

In this course you will learn how to build a culture of creativity across the team. One in which it is ‘safe’ to suggest ideas, where good ideas can be recognised. This will enable your team to creatively solve difficult problems.

More Information

This course will bring the analysis to life and give you a feel for the nature of this type of OR practice. You will gain and overview of soft and critical approaches to strategic OR practice in policymaking.

More Information

A practical course applying sampling and regression analysis to ‘real world’ case study data and interpreting the results. Learn when and how to use these techniques to address ‘real world’ problems such as quality control.

More Information

A practical course applying sampling and regression analysis to ‘real world’ case study data and interpreting the results. Learn when and how to use these techniques to address ‘real world’ problems such as quality control.

More Information

Gain an understanding of the wide spectrum of skills used in Operational Research, including: problem structuring; data collection; analytics; modelling; and simulation. Learn and understand a typical problem cycle

More Information

A practical introduction to the most used methodologies in OR, linear programming and optimisation.

More Information

A practical course using multivariate statistical techniques to gain greater insights from your analysis.

More Information

A practical course using multivariate statistical techniques to gain greater insights from your analysis.

More Information

This Foundation Plus Python course will teach attendees how to deliver scripted data wrangling with provable results. Attendees will be able to demonstrate how repeatable data wrangling pipelines increase speed, efficiency and accuracy and learn more advanced scripting techniques to expand their skill portfolio.

More Information

This course builds on the skills learned in Foundation and Foundation Plus to help attendees use core data science to deliver rapid statistics and analysis. This Intermediate course will teach attendees how to deliver scripted data wrangling with provable results. Attendees will be able to demonstrate how repeatable data wrangling pipelines increase speed, efficiency and accuracy and learn more advanced scripting techniques to expand their skill portfolio.

More Information

This course will give you robust processes when you need to have innovative ideas ‘on demand’. You will have the chance to practice applying these tools and techniques that should be as much part of the OR practitioner’s tool kit as simulation and optimisation.

More Information

Explore the operational research methods and models available for supporting strategy. You will be able to develop your skills in a full session in scenario planning. This course better equips you to apply OR principles for strategic planning activities.

More Information

This course is designed to provide you with all the information you need to leverage data to design, build, train, deploy, and manage Artificial Intelligence (AI) models through Cloud Computing based on Machine Learning techniques.

More Information

Using case studies and Public Sector Scorecard (PSS), you will create an integrated strategy map, service improvement plan and performance measurement framework of your OR projects.

More Information

Improve your personal productivity for generating rapid and insightful results from large data sets using R.

More Information

This course will provide OR practioners with the competency to navigate the various legal frameworks regarding data protection while becoming fluent in the language of data for effective communications.

More Information

This course will aid your understanding of how visual analysis improves the speed and accuracy of decision-making. You will learn how data mining compliments statistical analysis and how to integrate geospatial data into your analysis.

More Information

Group meetings and workshops have moved from face-to-face to online since the pandemic. It is unlikely that face-to-face meetings/workshops will resume, given the need for social distancing and for remote working. We offer a short course to support those needing to problem structure in virtual workshop environment.

More Information

Just how scientific is your pricing? Could you improve profits by increasing prices or even by reducing prices? On this course, you will learn how to use the latest scientific analyses to assess consumer’s willingness to pay for products and services and thus be able to better price your offerings.

More Information

This course is a natural follow on for delegates who have completed the Foundation course in forecasting and now wish to develop their toolbox further with Autoregressive Integrated Moving Average (ARIMA).

More Information

Become a more effective problem-solver by understanding how systems work. This workshop will introduce the tools of systems thinking and explore how they can be used both individually and in teams.

More Information

A practical introduction to simulation modelling, allowing you to understand the benefits of simulation and when to use it.

More Information

This two-day workshop will provide the state-of-the-art on the use of big data to improve service operations and will introduce several useful big data and machine learning techniques to help analysts, managers, and other stakeholders enhance operational performance.

More Information

A practical introduction to simulation modelling, allowing you to understand the benefits of simulation and when to use it.

More Information

Learn to use visualisations to summarise insights and communicate information effectively to stakeholders.

More Information

Learn six simple steps in the visualisation cycle and why some visuals are more pleasing to the eye than others and how this can be incorporated into your data results to transform your interactions with decision makers.

More Information

This course will provide OR practitioners with the competency to navigate the various legal frameworks regarding data protection while becoming fluent in the language of data for effective communications.

More Information

Learn how scripted data wrangling can deliver reproducible, provable results. This course will show you how repeatable data wrangling pipelines increase speed, efficiency and accuracy and how simple scripting techniques can expand an analyst’s skill portfolio.

More Information

This Foundation Plus Python course will teach attendees how to deliver scripted data wrangling with provable results. Attendees will be able to demonstrate how repeatable data wrangling pipelines increase speed, efficiency and accuracy and learn more advanced scripting techniques to expand their skill portfolio.

More Information

This course builds on the skills learned in Foundation and Foundation Plus to help attendees use core data science to deliver rapid statistics and analysis. This Intermediate course will teach attendees how to deliver scripted data wrangling with provable results.

More Information

Developed in response to the new age of data-centric activities and with data visualisation at its core method you’ll learn how to get your message across and leverage your data assets. OR practitioners, managers and policy makers will benefit from the data journalism. "

More Information

In this intermediate course you will learn how to design agent-based simulation models using a co-creation approach, for analysing systems where human behaviour plays a key role. We also take a quick look at how to implement such models using the simulation toolkit AnyLogic PLE.

More Information

This one day course will provide some approaches to help approach transformation in different ways, while taking into account both the hard and soft elements of transformation. It will incorporate the creation and evaluation of learning journeys and the pathways to transformation.

More Information

This course will teach you the skills needed to make multi criteria decisions. It will tackle a number of situations by exploring the main components of Goal Programming (GP), a fundamental topic within multi objective optimisation and will include goals, aspiration levels, achievement functions, deviation variables and priority sequence.

More Information