
External
Statistical Thinking for the 21st Century
Statistical thinking is a way of understanding a complex world by describing it in relatively simple terms that nonetheless capture essential aspects of its structure, and that also provide us some idea of how uncertain we are about our knowledge. The foundations of statistical thinking come primarily from mathematics and statistics, but also from computer science, psychology, and other fields of study.
- Author
- Russell A. Poldrack
- Publisher
- Stanford University
- Source
- LibreTexts
- License
- CC BY-NC
- Language
- EN
- Category
- Basic Sciences
Contents· 203 sections
- 01: Introduction
- 1.01: What Is Statistical Thinking
- 1.02: Dealing with Statistics Anxiety
- 1.03: What Can Statistics Do for Us
- 1.04: The Big Ideas of Statistics
- 1.05: Causality and Statistics
- 1.06: Suggested Readings
- 02: Working with Data
- 2.01: What Are Data
- 2.02: Discrete Versus Continuous Measurements
- 2.03: Suggested Readings
- 2.04: Appendix
- 2.05: What Makes a Good Measurement
- 03: Introduction to R
- 3.01: Why Programming Is Hard to Learn
- 3.02: Using RStudio
- 3.03: Getting Started with R
- 3.04: Variables
- 3.05: Functions
- 3.06: Vectors
- 3.07: Math with Vectors
- 3.08: Data Frames
- 3.09: Using R Libraries
- 3.10: Working with Data Files
- 3.11: Suggested Readings and Videos
- 04: Summarizing Data
- 4.01: Why Summarize Data
- 4.02: Summarizing Data Using Tables
- 4.03: Idealized Representations of Distributions
- 4.04: Suggested Readings
- 05: Summarizing Data with R (with Lucy King)
- 5.01: Introduction to the Tidyverse
- 5.02: Creating or Modifying Variables Using Mutate()
- 5.03: Tidyverse in Action
- 5.04: Looking at Individual Variables Using Pull() and Head()
- 5.05: Computing a Frequency Distribution (Section 4.2.1)
- 5.06: Computing a Cumulative Distribution (Section 4.2.2)
- 5.07: Data Cleaning and Tidying with R
- 06: Data Visualization
- 6.01: Anatomy of a Plot
- 6.02: Principles of Good Visualization
- 6.03: Accommodating Human Limitations
- 6.04: Correcting for Other Factors
- 6.05: Suggested readings and videos
- 07: Data Visualization with R (with Anna Khazenzon)
- 7.01: The Grammar of Graphics
- 7.02: Getting Started
- 7.03: Lets Think Through a Visualization
- 7.04: Plotting the Distribution of a Single Variable
- 7.05: Plots with Two Variables
- 7.06: Creating a More Complex Plot
- 7.07: Additional Reading and Resources
- 08: Fitting Models to Data
- 8.01: Appendix
- 8.02: What Is a Model
- 8.03: Statistical Modeling- An Example
- 8.04: What Makes a Model Good
- 8.05: Can a Model Be Too Good
- 8.06: The Simplest Model- The Mean
- 8.07: The Mode
- 8.08: Variability- How Well Does the Mean Fit the Data
- 8.09: 8.8 Using Simulations to Understand Statistics
- 8.10: Z-scores
- 09: Fitting Simple Models with R
- 9.01: Mean
- 9.02: Median
- 9.03: Mode
- 9.04: Variability
- 9.05: Z-scores
- 10: Probability
- 10.01: What Do Probabilities Mean
- 10.02: Suggested Readings
- 10.03: Appendix
- 10.04: What Is Probability
- 10.05: How Do We Determine Probabilities
- 10.06: Probability Distributions
- 10.07: Conditional Probability
- 10.08: Computing Conditional Probabilities from Data
- 10.09: Independence
- 10.10: Reversing a Conditional Probability- Bayes Rule
- 10.11: Learning from Data
- 10.12: Odds and Odds Ratios
- 11: Probability in R
- 11.01: Basic Probability Calculations
- 11.1.01: Empirical Frequency (Section 10.2.2)
- 11.02: Conditional Probability (Section 10.4)
- 12: Sampling
- 12.01: How Do We Sample
- 12.02: Sampling Error
- 12.03: Standard Error of the Mean
- 12.04: The Central Limit Theorem
- 12.05: Confidence Intervals
- 12.06: Suggested Readings
- 13: Sampling in R
- 13.01: Sampling Error (Section @refsamplingerror)
- 13.02: Central Limit Theorem
- 13.03: Confidence Intervals (Section @refconfidence-intervals)
- 14: Resampling and Simulation
- 14.01: Monte Carlo Simulation
- 14.02: Randomness in Statistics
- 14.03: Generating Random Numbers
- 14.04: Using Monte Carlo Simulation
- 14.05: Using Simulation for Statistics- The Bootstrap
- 14.06: Suggested Readings
- 15: Resampling and Simulation in R
- 15.01: Generating Random Samples (Section @refgenerating-random-numbers)
- 15.02: Simulating the Maximum Finishing Time
- 15.03: The Bootstrap
- 16: Hypothesis Testing
- 16.01: Null Hypothesis Statistical Testing (NHST)
- 16.02: Null Hypothesis Statistical Testing- An Example
- 16.03: The Process of Null Hypothesis Testing
- 16.04: NHST in a Modern Context- Multiple Testing
- 16.05: Suggested Readings
- 17: Hypothesis Testing in R
- 17.01: Simple Example- Coin-flipping (Section 16.3.5.1)
- 17.02: Simulating p-values
- 18: Quantifying Effects and Desiging Studies
- 18.01: Confidence Intervals
- 18.02: Effect Sizes
- 18.03: Statistical Power
- 18.04: Suggested Readings
- 19: Statistical Power in R
- 19.01: Power Analysis
- 19.02: Power Curves
- 19.03: Simulating Statistical Power
- 20: Bayesian Statistics
- 20.01: Generative Models
- 20.02: Bayes Theorem and Inverse Inference
- 20.03: Doing Bayesian Estimation
- 20.04: Estimating Posterior Distributions
- 20.05: Choosing a Prior
- 20.06: Bayesian Hypothesis Testing
- 20.07: Suggested Readings
- 20.08: Appendix-
- 21: Bayesian Statistics in R
- 21.01: A Simple Example (Section 20.3)
- 21.02: Estimating Posterior Distributions (Section 20.4)
- 21.03: Bayes Factors (Section 20.6.1)
- 22: Modeling Categorical Relationships
- 22.01: Example- Candy Colors
- 22.02: Pearsons chi-squared Test
- 22.03: Contingency Tables and the Two-way Test
- 22.04: Standardized Residuals
- 22.05: Odds Ratios
- 22.06: Bayes Factor
- 22.07: Categorical Analysis Beyond the 2 X 2 Table
- 22.08: Beware of Simpsons Paradox
- 22.09: Additional Readings
- 23: Modeling Categorical Relationships in R
- 24: Modeling Continuous Relationships
- 24.01: An Example- Hate Crimes and Income Inequality
- 24.02: Is income Inequality Related to Hate Crimes
- 24.03: Covariance and Correlation
- 24.04: Correlation and Causation
- 24.05: Suggested Readings
- 24.06: Appendix-
- 25: Modeling Continuous Relationships in R
- 25.01: Computing Covariance and Correlation (Section 24.3)
- 25.02: Hate Crime Example
- 25.03: Robust Correlations (24.3.2)
- 26: The General Linear Model
- 26.01: Linear Regression
- 26.02: Fitting More Complex Models
- 26.03: Interactions Between Variables
- 26.04: Beyond Linear Predictors and Outcomes
- 26.05: Criticizing Our Model and Checking Assumptions
- 26.06: What Does Predict Really Mean
- 26.07: Suggested Readings
- 26.08: Appendix
- 27: The General Linear Model in R
- 27.01: Linear Regression (Section 26.1)
- 27.02: Model Criticism and Diagnostics (Section 26.5)
- 27.03: Examples of Problematic Model Fit
- 27.04: Extending Regression to Binary Outcomes.
- 27.05: Cross-validation (Section 26.6.1)
- 28: Comparing Means
- 28.01: Testing the Value of a Single Mean
- 28.02: Comparing Two Means
- 28.03: The t-test as a Linear Model
- 28.04: Bayes Factor for Mean Differences
- 28.05: Comparing Paired Observations
- 28.06: Comparing More Than Two Means
- 28.07: Appendix
- 29: Comparing Means in R
- 29.01: Testing the Value of a Single Mean (Section 28.1)
- 29.02: Comparing Two Means (Section 28.2)
- 29.03: The t-test as a Linear Model (Section 28.3)
- 29.04: Comparing Paired Observations (Section 28.5)
- 29.05: Analysis of Variance (Section 28.6.1)
- 30: Practical statistical modeling
- 30.01: The Process of Statistical Modeling
- 31: Practical Statistical Modeling in R
- 32: Doing Reproducible Research
- 32.01: How We Think Science Should Work
- 32.02: How Science (Sometimes) Actually Works
- 32.03: The Reproducibility Crisis in Science
- 32.04: Questionable Research Practices
- 32.05: Doing Reproducible Research
- 32.06: Doing Reproducible Data Analysis
- 32.07: Conclusion- Doing Better Science
- 32.08: Suggested Readings
- 33: References