Advanced Data Analysis Using R Training Course

Duration 10 days 19 modules · 65 contact hours
Level Advanced Certificate on completion
Who attends Data Analyst, Business Intelligence Analyst and others
Fee from USD 2,200 KSh 190,000 for Kenyan organisations
Where 52 cities + online See dates by city
Next start 16 Nov 2026 Course code SD-DA-076

Before you join: Participants should already be comfortable writing basic R scripts, importing files, creating objects, using functions and producing simple charts.

Dates & prices

Two start dates a month in every city, and live online on weekdays or weekends. Fees are per participant; classroom fees include tuition, materials, lunch and refreshments, and the certificate.

Suggest a date or city

Showing the next six months. Later dates, other cities and private deliveries for your team are available on request.

Course overview

R is widely used to turn operational, financial, customer, programme and risk data into evidence for decisions. Advanced analysts must do more than write isolated scripts: they need to combine inconsistent source files, test data quality, select defensible statistical methods, validate predictive models and communicate findings that decision-makers can act on. Weak reproducibility, poorly specified models and unclear reporting can produce decisions based on misleading results.

This course develops advanced R workflows for data preparation, statistical analysis, predictive modelling and reporting. Participants work with the tidyverse, SQL-connected data, tidymodels, Quarto and selected specialist packages. They build skills in exploratory analysis, visualisation, hypothesis testing, regression, generalised linear models, resampling, tree-based models, clustering, time-series forecasting, text analysis and spatial analysis. The course also addresses model diagnostics, interpretation, fairness checks and controls for analytical risk.

Instruction combines concise technical briefings, instructor demonstrations, structured case work and group reviews using realistic datasets from banking, public services, NGOs and commercial operations. Participants progressively assemble an analysis project rather than treating techniques as disconnected examples. They leave with a documented R analysis project, reusable code patterns, model-validation materials and a decision-focused report produced in Quarto. Delivery is instructor-led over 10 days, either in a classroom in 50+ cities or live online, with approximately 6.5 contact hours per day. Participants receive a certificate of completion.

The course is suited to analysts and technical specialists who already use R and need stronger methods for high-value analytical work. It is particularly relevant where teams must justify results to risk committees, programme managers, operational leaders, policy teams or senior management.

What you will be able to do

  • Build reproducible R projects using structured scripts, package control and documented data lineage
  • Transform and validate complex datasets using tidyverse, SQL joins and automated quality checks
  • Apply inferential methods and regression models appropriate to business and programme questions
  • Develop and tune predictive models using resampling, feature engineering and performance metrics
  • Interpret model outputs using diagnostics, residual analysis, variable importance and fairness checks
  • Produce time-series, text and spatial analyses from structured and unstructured data sources
  • Create decision-focused analytical reports and interactive outputs using Quarto and Shiny
  • Present a complete R analysis project with methods, findings, limitations and recommendations

Benefits of attending

For you

  • Build a portfolio-ready R analysis project with documented methods and findings
  • Apply advanced modelling methods with clearer assumptions and diagnostic evidence
  • Reduce manual spreadsheet work through repeatable data transformation scripts
  • Explain analytical limitations confidently to technical and non-technical stakeholders
  • Produce Quarto reports that can be rerun when source data changes

For your organisation

  • More reproducible analyses with traceable code, inputs and assumptions
  • Faster production of validated reports from recurring operational datasets
  • Better model governance through documented diagnostics and performance measures
  • Stronger evidence for credit, fraud, programme, customer and operational decisions
  • Reduced dependence on manual spreadsheet manipulation for complex analysis

Course modules

19 modules over 10 days

Participants can structure a reproducible R project with controlled dependencies and documented execution steps.

  • RStudio Projects, relative paths and reproducible directory structures
  • Package management with renv lockfiles and versioned dependencies
  • Script conventions separating import, transformation, modelling and reporting stages
  • Git commits, branches and meaningful change history for analysis
  • Seed control for repeatable sampling and model training
  • Session information captured with package versions and platform details
  • Data dictionaries linking variables, definitions, sources and analytical use

Participants can import, standardise and combine data from common analytical source formats.

  • Readr import specifications for CSV, Excel and delimited files
  • JSON parsing from web APIs using httr2 and jsonlite
  • Database connections through DBI and parameterised SQL queries
  • Character encoding, date parsing and locale settings during import
  • Schema comparison across monthly extracts and historical source files
  • Source metadata recorded for ownership, refresh frequency and limitations
  • API pagination, rate limits and error handling patterns

Participants can reshape and transform complex datasets into analysis-ready tables using tidyverse methods.

  • Tidy data principles for observations, variables and analytical units
  • dplyr pipelines for filtering, recoding, grouping and summarising records
  • pivot_longer and pivot_wider for reshaping repeated measurement data
  • Conditional logic using case_when, if_else and coalesce
  • Window functions for ranks, lags, rolling values and cohorts
  • Date intervals calculated with lubridate for operational measures
  • Functions reduce repeated transformation logic across related datasets

Participants can join, query and validate relational data without losing analytical control.

  • Primary keys, foreign keys and grain defined before joining tables
  • Inner, left, right and full joins compared for business questions
  • Join cardinality checks identify unintended row multiplication risks
  • SQL common table expressions organise multi-stage database queries
  • Window functions calculate customer, account and transaction histories
  • dbplyr translates dplyr pipelines into database-native SQL
  • Query plans reviewed to identify inefficient database operations

Participants can assess data quality, document exceptions and select appropriate missing-data treatments.

  • Validation rules test ranges, formats, uniqueness and referential integrity
  • Missingness profiles distinguish MCAR, MAR and MNAR assumptions
  • Outlier detection using IQR rules, z-scores and robust statistics
  • Duplicate record investigations separate repeated events from data errors
  • Audit tables capture rejected records, reasons and corrective actions
  • Multiple imputation with mice compared against complete-case analysis
  • Quality checks embedded within reproducible transformation pipelines

Participants can identify patterns, anomalies and plausible relationships before formal model development.

  • Distribution summaries using quantiles, skewness and robust spread measures
  • Grouped profiling reveals variation by segment, period and location
  • Correlation matrices screened for multicollinearity and spurious associations
  • Faceted plots compare distributions across categories and cohorts
  • Bivariate analysis separates association, confounding and causal claims
  • Sampling strategies inspect large datasets without overwhelming visual outputs
  • Exploration logs record hypotheses, anomalies and follow-up questions

Participants can produce clear statistical graphics that support analytical interpretation and decisions.

  • Grammar of Graphics layers map data, aesthetics and geometries
  • Scales and coordinate systems prevent misleading visual comparisons
  • Confidence intervals displayed with point estimates and uncertainty bands
  • Annotation techniques identify targets, thresholds and material exceptions
  • Colour palettes selected for accessibility and categorical discrimination
  • Small multiples compare trends across regions, products and cohorts
  • Publication-ready themes standardise fonts, labels and chart elements

Participants can select and interpret inferential methods for comparisons, associations and controlled tests.

  • Sampling distributions link observed statistics to population uncertainty
  • Confidence intervals interpreted beyond simple statistical significance claims
  • t-tests, ANOVA and non-parametric alternatives selected by assumptions
  • Chi-square tests assess association between categorical variables
  • Power analysis estimates sample sizes for planned comparisons
  • A/B test design addresses randomisation, exposure and outcome definitions
  • Multiple-testing adjustments control false discoveries across repeated comparisons

Participants can build, diagnose and interpret multiple linear regression models in R.

  • Model specifications connect business hypotheses with measurable variables
  • Multiple regression estimates adjusted relationships among predictor variables
  • Interaction terms test whether effects differ across defined groups
  • Residual plots diagnose linearity, normality and constant variance
  • Variance inflation factors identify problematic multicollinearity
  • Influence measures examine leverage, Cook's distance and influential cases
  • Coefficient tables translated into operational and financial implications

Participants can model binary, count and hierarchical outcomes using suitable generalised model forms.

  • Logistic regression estimates probability for binary outcome events
  • Odds ratios, marginal effects and predicted probabilities interpreted correctly
  • Poisson and negative binomial models handle count outcomes
  • Offset terms model rates using differing exposure periods
  • Mixed-effects models account for clustered branches, sites and teams
  • Random intercepts and slopes represent group-level variation
  • Overdispersion and zero inflation checked before interpreting count models

Participants can prepare model features and estimate generalisation performance using resampling methods.

  • Train, validation and test partitions prevent optimistic performance estimates
  • Cross-validation evaluates models across repeated training data splits
  • Stratified sampling preserves rare outcome proportions during partitioning
  • Recipes standardise transformations within tidymodels modelling workflows
  • Dummy encoding, normalisation and transformations fitted without data leakage
  • Class imbalance addressed through weights, downsampling and SMOTE
  • Feature creation uses domain logic, lags, ratios and aggregation

Participants can train, tune and compare tree-based models for classification and regression tasks.

  • Decision trees partition data using interpretable split rules
  • Random forests reduce variance through bootstrap aggregation and random features
  • Gradient boosting builds sequential trees that reduce residual error
  • Hyperparameter tuning selects depth, learning rate and tree counts
  • ROC curves, precision-recall curves and threshold selection compared
  • Regression metrics include RMSE, MAE and explained variance
  • Model comparison tables balance accuracy, stability and interpretability

Participants can develop and assess segments using clustering and dimension-reduction techniques.

  • Standardisation prevents high-scale variables dominating distance calculations
  • K-means clustering groups records around centroid-based similarity patterns
  • Hierarchical clustering reveals nested relationships among observations
  • Silhouette scores assess cluster separation and assignment quality
  • Principal component analysis reduces correlated variables into components
  • Cluster profiles translate statistical groups into operational segments
  • Segmentation stability tested across samples and model specifications

Participants can analyse time-dependent data and produce validated forecasts for planning decisions.

  • Time indexes checked for gaps, duplicates and irregular frequency
  • Trend, seasonality and calendar effects separated using decomposition
  • Autocorrelation plots identify dependence across prior time periods
  • ARIMA models selected through differencing, diagnostics and information criteria
  • Exponential smoothing forecasts level, trend and seasonal patterns
  • Rolling-origin resampling evaluates forecast performance over time
  • Prediction intervals communicate uncertainty in demand and budget forecasts

Participants can prepare, quantify and model text data from surveys, cases and documents.

  • Text cleaning handles case, punctuation, stopwords and tokenisation
  • Regular expressions extract identifiers, dates and structured text patterns
  • Term frequency-inverse document frequency identifies distinctive language
  • Sentiment lexicons score positive, negative and emotion-related terms
  • Topic models identify recurring themes within large document collections
  • N-grams reveal common phrases and sequential language patterns
  • Manual coding samples validate automated text classification outputs

Participants can analyse and visualise location-based patterns using vector spatial data in R.

  • Simple Features objects store points, lines, polygons and attributes
  • Coordinate reference systems selected before distance and area calculations
  • Spatial joins assign events to branches, districts and service areas
  • Choropleth maps compare normalised rates rather than raw counts
  • Buffer analysis identifies records within defined travel-distance thresholds
  • Spatial aggregation summarises transactions, incidents and demand by area
  • Map classifications documented to prevent misleading geographic comparisons

Participants can explain model behaviour, assess limitations and document material analytical risks.

  • Partial dependence plots show average predictor-response relationships
  • Permutation importance ranks variables by contribution to model performance
  • SHAP values explain individual predictions and local feature effects
  • Calibration curves compare predicted probabilities with observed outcomes
  • Fairness metrics compare error rates across protected or relevant groups
  • Sensitivity analysis tests conclusions against assumptions and parameter choices
  • Model cards document intended use, limitations, monitoring and approvals

Participants can publish reproducible analytical reports and prototype interactive decision-support outputs.

  • Quarto documents combine narrative, code, tables and visual evidence
  • Parameterized reports generate consistent outputs for multiple business units
  • Inline R code keeps reported figures aligned with calculations
  • gt tables format model results, exceptions and management metrics
  • Shiny reactive inputs support controlled exploration of analytical scenarios
  • Report structures distinguish findings, limitations, recommendations and appendices
  • Publication checklists verify reproducibility, confidentiality and presentation quality

Participants can build, review and present a complete R analysis project from source data to decision recommendation.

  • Frame a decision question, analytical scope and measurable success criteria
  • Prepare source data with documented transformations and quality controls
  • Select appropriate exploratory, inferential or predictive modelling methods
  • Validate findings using diagnostics, resampling and sensitivity checks
  • Produce a Quarto report with charts, results and recommendations
  • Review peer projects against reproducibility, validity and communication criteria
  • Present methods, findings, limitations and proposed next actions

Exercises and examples are adapted to each cohort's sectors and roles.

What you take back to work

  1. Reproducible R project template
  2. Data quality validation checklist
  3. Statistical model selection guide
  4. Tidymodels validation workflow
  5. Model card template
  6. Quarto analytical report template

Who should attend

  • Data Analyst — needs stronger methods for defensible analysis and automated reporting
  • Business Intelligence Analyst — needs R methods beyond dashboards and descriptive metrics
  • Data Scientist — needs structured modelling, validation and communication discipline
  • Risk Analyst — needs transparent models, diagnostics and evidence for risk decisions
  • Monitoring and Evaluation Specialist — needs rigorous analysis of programme and survey data
  • Research Officer — needs reproducible statistical workflows for policy or operational studies

Skills and tools covered

Reproducible R workflowsStatistical modellingPredictive analyticsData quality assuranceModel validationAnalytical reporting

Tools and standards

R, tidyverse, tidymodels, Quarto

How the course runs

Training methodology

The course uses short technical briefings followed by instructor demonstrations, guided case work and peer review of analytical choices. Participants work through connected datasets, building an R project from data acquisition through reporting. Cases may include transaction monitoring, service-demand forecasting, programme outcomes, customer segmentation and operational performance. Group discussions examine assumptions, model selection, diagnostic evidence and communication choices. Application planning helps participants identify a suitable workplace dataset, reporting process or analytical question for transfer after the course.

Requirements and prerequisites

Participants should already be comfortable writing basic R scripts, importing files, creating objects, using functions and producing simple charts. They should understand common data types, descriptive statistics and the purpose of regression, although advanced mathematical derivations are not assumed. Prior experience with RStudio or Posit tools is expected. Participants should bring a laptop capable of installing R and approved packages, subject to their organisation's security policy. Previous Python, machine-learning or database administration experience is not required.

A typical training day

08:30 – 10:30First session
10:30 – 10:45Refreshment break
10:45 – 12:30Second session
12:30 – 13:30Lunch and networking
13:30 – 15:00Third session
15:00 – 15:15Refreshment break
15:15 – 16:30Workshop and daily review

Live online deliveries follow the same structure in East Africa Time, with shorter screen blocks and longer breaks.

What the fee includes

  • Instruction by a practitioner facilitator
  • Full course workbook and materials
  • Exercise files, templates and case studies
  • Refreshments and lunch on classroom deliveries
  • Certificate of completion
  • Post-course application plan

Frequently asked questions

Participants should already be able to write basic R scripts, import files, create data frames and make simple charts. The course starts with reproducible project setup, but it does not teach programming fundamentals from scratch.

Bring a laptop with R, RStudio or Posit tools installed, plus permission to install course packages if required. Participants may bring a sanitised workplace dataset, but the instructor will provide case datasets.

It suits analysts, data scientists, researchers, risk specialists and monitoring and evaluation professionals who already use R. It is intended for people moving from descriptive analysis towards validated models and reproducible reporting.

Introductory R courses focus on syntax, basic data manipulation and simple charts. This course concentrates on analytical design, statistical modelling, machine learning workflows, diagnostics, model interpretation and report production.

Participants can adapt the project structure, validation checks and reporting templates to recurring workplace analyses. Typical applications include customer segmentation, credit-risk analysis, service-demand forecasting, programme evaluation and operational performance reporting.

Each day runs from 08:30 to 16:30 and provides approximately 6.5 contact hours. The first week establishes reproducible data preparation, exploratory analysis and statistical modelling; the second week covers advanced modelling, specialist data types, reporting and the capstone project.

Questions about this course?

Ask about dates, fees, group bookings or running it for your team. Our training team replies by email.