Leanpub Header

Skip to main content

Applied Quantitative Analysis in R for Social Researchers

Build a complete R workflow for social research, from data preparation and visualisation to advanced mediation, moderation, and causal analysis. This track takes you beyond basic regression to understanding why and when relationships occur, using real data and modern R tools. Learn skills you can apply directly to your own research, from first scripts to rigorous causal models.

Minimum price

$299.00

$299.00

You pay

$299.00
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
These courses have a total suggested price of $350.00. Get them now for only $299.00!
About

About

About the Track

This track provides a complete and structured pathway for social researchers who want to use R confidently and apply it to substantive, theory-driven research questions. It brings together two complementary courses—Introduction to R for Social Researchers and Mediation and Moderation Analysis using R—to take you from core data skills to advanced causal analysis in a single, coherent learning experience.

The track begins by building a solid foundation in R as a research tool. You will learn how to work effectively in R and RStudio, prepare and clean real social science data, create clear and publication-ready visualisations, and carry out core statistical analyses commonly used in applied research. The emphasis throughout is on practical workflows and realistic datasets, ensuring that the skills you develop translate directly to your own research projects.

Building on this foundation, the track then moves to advanced methods for understanding why and when relationships between variables occur. You will learn how to estimate and interpret mediation and moderation models, analyse interaction effects, and move beyond simple regression to path analysis, structural equation modelling, and causal mediation frameworks. These methods allow you to test mechanisms, explore contextual effects, and draw richer substantive conclusions from observational and experimental data.

Across both courses, learning is hands-on and applied. Short lectures are combined with live demonstrations, worked examples, and practical exercises using real-world data. You will work with widely used R packages such as tidyverse, ggplot2, lavaan, mediation, and interactions, and you will learn how to visualise, interpret, and communicate complex results clearly and rigorously.

By completing this track, you will be able to:

  • Work confidently in R for applied social research
  • Build clean, reproducible data workflows
  • Create clear and effective visualisations
  • Apply core statistical methods used in social science
  • Estimate and interpret mediation and moderation models
  • Analyse mechanisms and contextual effects using modern causal tools

This track is designed for PhD students, early-career researchers, and applied analysts in the social, behavioural, and health sciences who already have some familiarity with quantitative research and want to deepen both their technical skills and their ability to draw meaningful conclusions from data.

Share this track

Certificate

Verified Certificate

When you successfully complete the Track, you will receive a verified Certificate of Completion from Leanpub, certifying that you have completed the entire Track.

Courses

Courses Included

Introduction to R for Social Researchers

A Practical Course on Data Preparation, Visualisation, and Statistical Analysis

Introduction to R for Social Researchers is a practical, step-by-step course designed to help social researchers confidently use R for real research. The focus is not on programming for its own sake, but on building a solid, usable workflow for working with social science data.

The course includes over 6 hours of video content, combining clear explanations with live demonstrations in R and RStudio. It takes you from first contact with R through the core skills needed for everyday research: preparing and cleaning data, working efficiently with R, creating clear, publication-ready visualisations, and carrying out common statistical procedures used in social research. Throughout, the emphasis is on both how to do things in R and why they are done that way in applied research settings.

Rather than abstract or toy examples, the course is grounded in realistic, real-world data familiar to social researchers, including large survey datasets and complex sample designs. Each section is accompanied by hands-on practical exercises, with worked solutions, so you can actively practise the skills and check your understanding as you go.

In addition to the videos and practicals, the course provides access to a dedicated discussion forum, where you can ask questions, clarify concepts, and get help when applying the material to your own data. This support is designed to help you move beyond passive learning and build genuine confidence in using R independently.

This course is well suited for:

  • PhD students and early-career researchers
  • Social scientists transitioning to R from SPSS, Stata, or Excel
  • Policy, education, and applied researchers who need a modern data workflow
  • Anyone who wants a clear, structured foundation before moving on to more advanced methods

By the end of the course, you will be able to work comfortably in R, understand the logic of modern R workflows, and apply R effectively to your own social research projects, using tools and practices that scale beyond this course.

 

Mediation and Moderation Analysis using R

A Complete Guide to Mediation, Moderation, and Causal Analysis Using R and Real-World Data

Understanding why and when relationships between variables occur is central to quantitative social science. This course on Mediation and Moderation Analysis using R provides a complete, hands-on introduction to the two frameworks that allow researchers to uncover both mechanisms (mediation) and contextual effects (moderation). You will learn how to identify, estimate, and interpret direct, indirect, and interaction effects using modern statistical tools and real-world data.

Mediation analysis focuses on how one variable influences another through an intermediate mechanism — for example, how education affects health through income or wellbeing. Moderation analysis examines when or for whom an effect is stronger or weaker — for instance, whether the relationship between stress and health depends on gender or social support. Together, these methods reveal the structure of causal processes and provide deeper insights than simple regression models.

The course begins with the conceptual foundations of mediation and moderation, then progresses to advanced applications including path analysis, structural equation modeling (SEM), longitudinal mediation, multi-group analysis, and causal mediation frameworks. You will learn to use R packages such as lavaan, mediation, and interactions to estimate, visualise, and interpret these models.

Each lesson combines short video lectures, illustrated slides, and clear explanations with practical exercises based on real wold data — ensuring that all examples reflect realistic social research. Practical sessions guide you step-by-step through model estimation, diagnostics, and interpretation. Every exercise includes downloadable datasets, solutions, and R scripts, allowing you to replicate analyses and learn by doing.

By the end of the course, you will:

  • Understand the logic and assumptions of mediation and moderation analysis.
  • Estimate and interpret interaction and mediation models using R.
  • Learn how to estimate moderation with the Johnson–Neyman method.
  • Build path models and SEMs to capture direct, indirect, and total effects.
  • Extend analyses to longitudinal and causal mediation frameworks.
  • Conduct and interpret sensitivity analyses to assess robustness.
  • Visualise and communicate results effectively through plots and model diagrams.

This course is designed for researchers, students, and analysts in the social, behavioural, and health sciences who already have basic familiarity with regression analysis and want to deepen their methodological toolkit. Whether you are working with survey data, experiments, or observational studies, you will gain the skills to design stronger studies, interpret results rigorously, and understand the mechanisms that drive social and behavioural outcomes.

Join the course to build a robust understanding of mediation and moderation analysis using R, and learn how to apply these techniques to your own research using transparent, reproducible, and data-driven methods.

Testimonials

Alexandru Cernat is the best quantitative analysis teacher I have experienced. His courses are well thought out and this one is the exact same. I feel my knowledge on mediation analysis has grown substantially, and the practicals accompanying the lectures are really useful.

Instructor

About the Instructor

Alexandru Cernat

Alexandru Cernat is a professor in the social statistics department at the University of Manchester. He has a PhD in survey methodology from the University of Essex and was a post-doc at the National Centre for Research Methods and the Cathie Marsh Institute. His research and teaching focus on: survey methodology, longitudinal data, measurement error, latent variable modelling, new forms of data and missing data. He am also the founder of longitudinalanalysis.com, a platform that helps researchers and analysts learn to collect, clean, and analyse longitudinal data. You can find out more about him and his research at: alexcernat.com.

Leanpub Podcast

Episode 267

An Interview with Alexandru Cernat

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub