R Programming for Statistical Computing Training Course

Duration 10 days 16 modules · 65 contact hours
Level Intermediate Certificate on completion
Who attends Data Analysts, Business Intelligence Analysts 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-117

Before you join: Participants should be comfortable working with spreadsheets or tabular datasets and interpreting basic descriptive statistics such as averages, percentages and distributions.

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

Organisations hold large volumes of operational, financial, customer, survey and programme data, yet analysts often spend too much time preparing files, repeating manual calculations and producing charts that cannot be traced back to source data. R provides a disciplined environment for statistical analysis, data transformation, visualisation and reproducible reporting. It is particularly valuable where teams need auditable analysis, repeatable workflows and defensible statistical conclusions.

This intermediate course develops practical R programming capability for analysts who already work with data and need to produce reliable analytical outputs. Participants work with R objects, functions, data frames and packages; import and clean common business datasets; reshape and join tables; create publication-quality graphics; and apply exploratory, inferential and predictive statistical methods. The syllabus covers linear and logistic regression, resampling, time-series methods, model diagnostics, API and database data access, and code quality practices.

Instruction is delivered over 10 instructor-led days, either in a classroom in 50+ cities or live online. Each training day runs from 08:30 to 16:30 and provides approximately 6.5 contact hours. Short technical briefings are followed by guided analysis, case work and review of analytical decisions. Participants build a reproducible R analysis project during the course and leave with a structured script set, an analytical report, visualisations, model outputs and a documented workflow. A certificate of completion is awarded.

The course suits professionals who need to analyse data independently or contribute stronger analytical code to a team. Cases can be adapted for banking, public sector, development programmes, insurance, retail, healthcare, telecommunications and corporate functions.

What you will be able to do

  • Build reproducible R projects using scripts, packages, relative paths and documented assumptions
  • Import, validate and transform CSV, Excel, database and API data using tidyverse methods
  • Create analytical datasets through joins, reshaping, missing-data treatment and variable engineering
  • Produce statistical graphics with ggplot2 using appropriate scales, annotations and faceting
  • Apply descriptive statistics, hypothesis tests and confidence intervals to business questions
  • Estimate and diagnose linear and logistic regression models in R
  • Develop reusable R functions, automated checks and version-controlled analytical workflows
  • Present a complete reproducible statistical analysis with documented findings and recommendations

Benefits of attending

For you

  • Produce repeatable analyses instead of manually rebuilding spreadsheet calculations
  • Write R scripts that colleagues can inspect, rerun and maintain
  • Select appropriate statistical tests and explain their assumptions
  • Create charts and reports suitable for technical and management audiences
  • Build a portfolio-ready reproducible analysis project

For your organisation

  • Reduce manual data preparation and recurring reporting effort
  • Improve traceability from source data to statistical conclusions
  • Standardise analytical workflows across reporting and research teams
  • Strengthen quality control for models, forecasts and performance analysis
  • Increase internal capacity for evidence-based decisions without outsourced analysis

Course modules

16 modules over 10 days

Participants can configure an R project and write clear scripts using core R language features.

  • R installation, package libraries, project folders, and reproducible working directories
  • RStudio panes, scripts, consoles, help files, and session management
  • Objects, vectors, coercion rules, and assignment operators in R
  • Atomic types, missing values, constants, and vectorised arithmetic
  • Functions, arguments, return values, and namespace-qualified package calls
  • Script annotations, code style, and error messages during execution

Participants can select and manipulate appropriate R data structures for analytical tasks.

  • Vectors, matrices, lists, factors, and data frames compared
  • Indexing observations and variables with numeric, logical, and named selectors
  • Conditional expressions using if, else, case_when, and logical operators
  • Iteration with for loops, while loops, apply functions, and map
  • Factor levels, ordered categories, and reference groups for modelling
  • Date-time classes, time zones, and duration calculations using lubridate

Participants can import common source files and assess data quality before analysis.

  • CSV and delimited files imported with explicit encoding and column types
  • Excel workbooks read from selected sheets, ranges, and named cells
  • Inspecting dimensions, variable names, duplicate records, and unexpected values
  • Data dictionaries documenting source fields, definitions, units, and permitted values
  • Missing-data patterns assessed before exclusion, imputation, or recoding decisions
  • Validation rules applied to identifiers, dates, ranges, and category values

Participants can create analysis-ready datasets using dplyr transformation pipelines.

  • filter, select, arrange, mutate, and summarise applied within pipelines
  • Grouped summaries calculated by customer, region, period, or programme
  • Mutate statements creating rates, ratios, flags, and derived categories
  • case_when rules translating business classifications into coded variables
  • Inner, left, right, and full joins matched to reporting requirements
  • Join diagnostics identifying unmatched keys, duplicated matches, and row inflation

Participants can reshape inconsistent data and prepare text and date fields for analysis.

  • pivot_longer and pivot_wider reshaping repeated measures and reporting tables
  • separate, unite, and extract methods splitting compound identifier fields
  • String cleaning with regular expressions, pattern matching, and standardisation
  • Date parsing from mixed formats, fiscal periods, and reporting timestamps
  • Outlier flags built from business rules, quantiles, and z-scores
  • Analysis variables engineered from raw transactions, events, and classifications

Participants can design clear ggplot2 charts that communicate analytical findings accurately.

  • Grammar of graphics layers, aesthetics, geoms, scales, and themes
  • Bar, line, scatter, histogram, boxplot, and density charts selected appropriately
  • Faceting comparisons by region, customer segment, product, or time
  • Colour palettes, labels, annotations, and legends designed for accessibility
  • Logarithmic scales and transformations used without misleading visual interpretation
  • Chart exports produced with controlled dimensions, resolution, and file formats

Participants can profile distributions, relationships and data-quality issues before formal modelling.

  • Frequency tables, cross-tabulations, proportions, and cumulative distributions calculated accurately
  • Mean, median, variance, standard deviation, and interquartile range compared
  • Distribution shape assessed through histograms, density plots, and quantile plots
  • Correlation matrices interpreted alongside scatterplots and substantive variable definitions
  • Segment analysis comparing outcomes across groups with unequal sample sizes
  • Exploratory findings recorded as testable questions and analytical assumptions

Participants can produce a documented analytical report from organised R project files.

  • Project folders separating raw data, processed data, scripts, outputs, and documentation
  • R Markdown documents combining narrative, code, tables, charts, and results
  • Code chunks configured for readable output, warnings, messages, and caching
  • Parameters used to rerun reports for different periods or business units
  • Relative file paths protecting portability between analyst workstations and shared repositories
  • Analytical assumptions, exclusions, and source references recorded within reports

Participants can select, run and interpret common inferential tests in R.

  • Sampling distributions, standard errors, confidence intervals, and statistical uncertainty
  • Null and alternative hypotheses stated for measurable business questions
  • t-tests comparing means for independent, paired, and one-sample designs
  • Chi-square tests assessing association between categorical variables and outcomes
  • ANOVA comparing group means with planned post-hoc comparisons
  • P-values, effect sizes, power, and practical significance interpreted together

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

  • Linear regression equations linking continuous outcomes to explanatory variables
  • Model formulas specifying main effects, interactions, transformations, and categorical predictors
  • Coefficient estimates interpreted with confidence intervals and business units
  • Residual plots checking linearity, constant variance, normality, and influential observations
  • Multicollinearity assessed using correlation patterns and variance inflation factors
  • Adjusted R-squared, RMSE, and holdout error used for model comparison

Participants can estimate binary-outcome models and evaluate classification performance.

  • Binary outcomes modelled with binomial generalised linear regression
  • Odds ratios and predicted probabilities translated into decision-relevant language
  • Classification thresholds selected using costs, prevalence, and operational capacity
  • Confusion matrices measuring sensitivity, specificity, precision, and overall accuracy
  • ROC curves and area under curve comparing classification models
  • Calibration checks comparing predicted risk with observed event rates

Participants can quantify model uncertainty and assess performance using resampling methods.

  • Train-test splits preserving outcome proportions and temporal ordering where needed
  • K-fold cross-validation estimating out-of-sample model performance
  • Bootstrap samples calculating confidence intervals for uncertain statistics
  • Monte Carlo simulation testing assumptions, scenarios, and decision thresholds
  • Random seeds controlling repeatable sampling and simulation results
  • Data leakage identified between training, validation, scoring, and reporting datasets

Participants can prepare time-indexed data and produce baseline forecasts with diagnostics.

  • Regular time indexes constructed from daily, monthly, quarterly, and annual records
  • Trend, seasonality, cycles, and irregular variation identified graphically
  • Lagged variables, moving averages, and growth rates calculated correctly
  • Autocorrelation and partial autocorrelation examined before model selection
  • ARIMA models fitted using differencing, autoregressive, and moving-average terms
  • Forecast accuracy measured with MAE, RMSE, MAPE, and forecast bias

Participants can retrieve, combine and document data from databases and web APIs.

  • DBI connections querying relational databases without exporting unnecessary records
  • SQL queries parameterised for filters, joins, aggregations, and reproducible extracts
  • REST API requests constructed with endpoints, parameters, headers, and authentication
  • JSON responses parsed into tabular structures for subsequent analysis
  • Pagination, rate limits, retries, and failed requests handled predictably
  • Source provenance recorded for downloaded data, query dates, and refresh rules

Participants can create maintainable R code with reusable functions and review controls.

  • Custom functions defined with arguments, defaults, validation, and returned objects
  • Functional programming applied to repeated files, groups, and reporting periods
  • Unit tests checking expected outputs, boundary cases, and error conditions
  • Assertions detecting impossible values before downstream calculations proceed
  • Git commits recording meaningful changes to scripts, reports, and documentation
  • Code review criteria covering readability, correctness, reproducibility, and assumptions

Participants can build, review and present a complete reproducible R analysis addressing a defined decision question.

  • Decision question framed with stakeholders, measures, scope, and analytical constraints
  • Raw data imported, validated, transformed, and documented in a project structure
  • Exploratory analysis identifying patterns, anomalies, limitations, and candidate explanations
  • Statistical model selected, validated, and interpreted against stated assumptions
  • Visualisations and tables prepared for technical reviewers and decision makers
  • Reproducible report presenting methods, findings, recommendations, and limitations

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 assessment checklist
  3. tidyverse transformation script library
  4. ggplot2 chart specification guide
  5. Regression diagnostics checklist
  6. Capstone analytical report

Who should attend

  • Data Analysts — need repeatable statistical analysis and reporting from operational datasets
  • Business Intelligence Analysts — need stronger methods beyond dashboard-level descriptive reporting
  • Research Analysts — need transparent statistical workflows for surveys, studies and evaluations
  • Risk Analysts — need regression, validation and time-series methods for risk data
  • Monitoring and Evaluation Specialists — need reproducible analysis of programme indicators and survey results
  • Financial Analysts — need auditable models, forecasts and visual analysis from financial data

Skills and tools covered

R data wranglingStatistical modellingData visualisationReproducible reportingModel diagnosticsAnalytical code review

Tools and standards

R, RStudio, tidyverse, Git

How the course runs

Training methodology

The course combines short instructor briefings with guided coding, case-based analysis, paired review and group discussion. Participants work with realistic operational, survey, financial and customer datasets, moving from raw files to documented findings. Trainers demonstrate techniques in R and then support participants as they apply the same methods to structured tasks. Model outputs, charts and code are reviewed against stated analytical questions, assumptions and quality checks. Participants also plan how to transfer project structures, reporting conventions and review practices to their own work.

Requirements and prerequisites

Participants should be comfortable working with spreadsheets or tabular datasets and interpreting basic descriptive statistics such as averages, percentages and distributions. Prior exposure to any programming language is helpful, but not required. Participants should understand the purpose of a dataset, variables, records and data types. The course assumes confidence with routine computer tasks, including file management. Advanced mathematics, prior R experience, database administration and formal statistical training are not required. Participants benefit most when they can bring examples of non-sensitive datasets or analytical questions from their work.

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

You should be comfortable working with structured data in spreadsheets or similar tools and know basic descriptive statistics. Programming experience is useful but not required; the course starts with R language fundamentals before moving to statistical methods.

Bring a laptop that permits installation of R and RStudio, or confirm your organisation's software process before attendance. You may also bring non-sensitive sample data or an analytical question from your work.

It is designed for analysts, researchers, risk specialists, monitoring and evaluation staff, financial analysts and business intelligence professionals. It is most suitable for people who need to produce or review statistical analysis rather than only consume dashboards.

The course includes core R programming, but moves beyond syntax into data validation, statistical inference, regression, forecasting, reproducible reporting and code quality. It is broader and more analytical than a course focused only on charts or introductory coding.

Participants can use the project structures, transformation scripts, reporting patterns and diagnostic checklists for recurring reports and analysis projects. The methods apply to operational performance, customer data, surveys, financial records, risk indicators and programme results.

The first week establishes R programming, data preparation, visualisation, exploratory analysis and reporting. The second week concentrates on inference, modelling, validation, forecasting, external data access, code quality and a final capstone analysis.

Questions about this course?

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