AppliedTextbook

Learning Statistics with R: A tutorial for psychology students and other beginners

Not rated yetRate this book

Learning Statistics with R introduces statistical thinking and R programming for psychology students and beginners. Danielle Navarro connects research design, data exploration, statistical theory and analysis. The hosted PDF is the newer Quarto version, not the original 2018 layout.

FormatPDF
LanguageEnglish
SubjectApplied
LevelUndergraduate
No. of pages796
Published2026
Read free online →

Learning Statistics with R: A tutorial for psychology students and other beginnersFree

About this book

This textbook grew from introductory psychology statistics teaching and was released for reuse and adaptation. The reviewed preface describes the transition from its earlier LaTeX form to Quarto and explains the limits of that update. Much of the original instructional approach remains, alongside corrections and short reflections on developments in statistical practice and R. The contents combine conceptual background with practical computing and later statistical tools. Readers should match chapter references and software examples to this hosted edition: its pagination and updated material differ from older versions that share the same title.

The attached edition contains 796 PDF pages, including front matter. Cover: source edition title page rendered from the PDF. The textbook and its original notices are retained; Academic Master’s study material is separate from the source text.

Book summary

Danielle Navarro’s Learning Statistics with R connects statistical reasoning with research design, data work, and analysis in R. The linked Quarto version is 0.7.1, dated October 7, 2026. This guide follows the main teaching sections across its themed parts. It emphasizes that an analysis is a connected argument about data and uncertainty, not merely a command that produces a p-value or a fitted model.

Chapter-by-chapter summaries

A Word on Statistics

The opening situates statistics as a way to reason about information and uncertainty. It prepares the reader to connect methods with questions rather than memorize procedures independently of purpose. The subject's language becomes easier to interpret when a number is understood as representing a defined feature of data or a model, not as an inherently authoritative answer.

Why Learn Statistics?

The motivation for statistical study concerns the ability to evaluate claims and conduct research. Intuition alone can misread variation or persuasive numerical presentations. The chapter connects statistical literacy with decisions about what evidence supports. Learning a procedure is therefore useful when accompanied by an understanding of the mistaken inference it helps prevent and the questions it still cannot answer.

Research Design

Measurements, variables, research structures, and the relationship between observation and explanation establish the basis for later analysis. Design determines what can reasonably be inferred before a test is selected. A numerical association does not itself establish causation, and an impressive sample size cannot repair every weakness in measurement or selection. The chapter makes these distinctions part of statistical reasoning rather than an optional caveat added after the result.

Getting Started with R

The introduction to R establishes the environment and the basic interaction between commands and objects. A learner needs to understand what has been created, what type of information it holds, and how an operation changes or uses it. Reproducing a short calculation is a starting point. Predicting its result and explaining an error provide stronger evidence that the program is understood.

R Mechanics

The mechanics chapter develops the language and working practices needed for analysis. Object behavior, operations, and help resources support more reliable use of R. Small details can change a result, so understanding the representation of data matters. The chapter encourages moving from a sequence of unexplained commands to a reproducible account in which another reader can identify the inputs and transformations.

Descriptive Statistics

Measures of location, spread, and relationships summarize different properties of data. No one number describes everything important. The chapter links calculation with interpretation and the kind of variable being summarized. A defensible description asks what the statistic retains, what it conceals, and whether the distribution or measurement scale makes it suitable for the intended comparison.

Drawing Graphs

Graphs make patterns and variation visible through choices of representation. The chapter develops plotting in R alongside interpretation of what is shown. Axis scales, grouping, and the relationship between variables affect the message. A graph should be used to investigate or communicate a defined feature of the data, with labels and context that prevent the reader from mistaking the display for a broader conclusion it does not establish.

Pragmatic Matters

Practical analysis requires importing, organizing, checking, and manipulating data before a formal method can be useful. This chapter addresses the work that connects a messy source with a usable analytical object. Decisions made here should remain traceable because recoding, selection, or missing information can affect the conclusion. Data preparation is part of the evidential argument, not an invisible preliminary step.

Basic Programming

Programming tools make repeated or structured analytical work easier to express and reproduce. The chapter connects computational control with a defined task. Reuse is valuable when the behavior of the code is clear and can be checked on a small case. Automation does not remove the need to know which observations are included and what transformation is applied to them.

A Chat About Inference

Inference moves beyond describing the observed data toward statements about quantities or processes not fully observed. That move requires assumptions and an account of uncertainty. The chapter introduces the problem that later probability, estimation, and testing address. A conclusion is not justified simply because it extends an interesting sample pattern; the connection between sample and target needs explanation.

Probability

Probability provides a language for uncertain events and the models used to describe them. The chapter develops concepts needed to understand distributions and later inferential procedures. Calculations are meaningful only when the possible outcomes and assumptions are clear. The reader should distinguish a mathematical model of randomness from a claim that the real data necessarily follow that model.

Estimating Unknown Quantities

Estimation uses sample information to learn about a target quantity. Sampling variability explains why repeated samples need not produce the same result, and intervals express uncertainty under stated conditions. The chapter connects the number calculated with its inferential role. Precision, accuracy, and validity should not be conflated: a narrow interval does not by itself establish that the design or model addresses the intended population.

Hypothesis Testing

Hypothesis testing compares observed evidence with a specified null model through a decision framework. The chapter develops the meaning and limits of testing concepts. A p-value concerns the evidence under assumptions, not a direct probability that a hypothesis is true or a measure of practical importance. Interpretation therefore requires effect information, uncertainty, and design context alongside the reported decision.

Categorical Data Analysis

Categorical outcomes require methods appropriate to counts and the relationships being examined. The chapter connects the form of a contingency or frequency question with its analysis. Expected and observed patterns have different roles, and assumptions affect the interpretation. A statistically detectable relationship still needs a substantive explanation and does not automatically establish the mechanism that produced it.

The t-Test

The t-test chapter develops comparisons involving means, including the importance of the design and relationship among observations. Different versions address different situations. The method should follow the question and data structure rather than be selected because two numbers happen to be available. A useful report connects the estimated difference, uncertainty, assumptions, and substantive context instead of stopping at significance.

One-Way ANOVA

Comparing several means introduces a model that accounts for variation among and within groups. The chapter explains why a collection of separate comparisons does not simply replace the broader analysis. An overall result and a question about particular groups are related but distinct. Interpretation needs the design and follow-up reasoning required to identify what the observed pattern actually supports.

Linear Regression

Regression models a relationship between an outcome and predictors. The chapter connects coefficients, fitted values, variation, and model assessment. A coefficient's meaning depends on the variables and model, while prediction and causal explanation remain different tasks. Graphs and diagnostics help assess whether the fitted relationship is an adequate account rather than assuming that a computed line necessarily captures the important structure.

Factorial ANOVA

Factorial designs examine more than one explanatory factor and make interactions central to interpretation. An interaction means the relationship associated with one factor depends on another, so isolated main-effect statements can become misleading. The chapter connects model terms with the design and the pattern of means. A clear explanation should describe the dependence in words and graphics, not merely list which rows in a table are significant.

Bayesian Statistics

Bayesian reasoning updates uncertainty by combining a prior model with evidence through a likelihood. The chapter provides an alternative perspective on inference rather than a new label for the same frequentist statements. A meaningful interpretation identifies the model and assumptions used. Comparing approaches is most useful when the reader explains the question each probability statement answers and how the available evidence changes the analysis.

Epilogue and Continuing Study

The closing material reflects on what an introductory course can establish and the further questions it leaves open. The broader lesson is methodological judgment: select a tool through the research question, design, data, and assumptions. References and the changelog support further reading and identification of the edition. Continued study should deepen the connection between computing an answer and explaining why it is an appropriate answer.

Study instructions

  1. Use one small dataset to connect a research question, data dictionary, cleaning record, descriptive analysis, graph, and inferential model.
  2. Write an analysis plan that identifies the target quantity and assumptions before choosing an R command.
  3. Keep a reproducible script and record package versions and any source-edition differences.
  4. For a test or model, explain the effect, uncertainty, assumptions, and substantive limitation as separate points.
  5. Compare a frequentist and Bayesian statement by the question each answers rather than treating their terminology as interchangeable.

Questions for reflection

  • Which conclusion follows from the design, and which relies on an additional statistical assumption?
  • How could a precise numerical result still answer the wrong research question?
  • When would an interaction change the meaning of a simpler group comparison?

Sources and coverage

This original study guide follows the complete linked source edition and all of its substantive chapters or named teaching sections. It condenses their main ideas and relationships; the study tasks are guidance for reading alongside the complete resource. It does not reproduce the source exercises or answer key. Book source; Complete source PDF.

About access & copyright

Check this edition’s source and licence before reusing its files or content. A library listing does not grant additional rights.

Read our Library Access & Copyright policy

Edition awareness

Identify the hosted text as a Quarto version.

Research context

Relate the book’s origin to introductory psychology statistics.

Concepts and computation

Recognise the contents’ combined theoretical and practical route.

Scope of updates

Distinguish corrections and epilogues from wholesale revision.

Reader ratings & reviews

Be the first to rate

No ratings yet

0%0%
0%0%
0%0%
0%0%
0%0%

Share your thoughts

Your review helps other students choose the right resources.

Rate this book

How helpful was this book?No sign-up needed. Your rating appears instantly.