Rstats 101
  • Home
  • LLM
  • dplyr
  • tidyr
  • ggplot2
  • Statistics
  • How-To
  • Base R

Statistics Tutorials

Learn statistical methods in R. These tutorials cover t-tests, correlation, regression, z-scores, and more.

Computing Correlation with R

Learn how to compute Pearson, Spearman, and Kendall correlation in R using the cor() function with practical examples.

Effect of centering and scaling data in R

Learn effect of centering and scaling data in r with clear examples and explanations.

How to ANOVA two-way in R

Learn how to perform anova two-way in R. Step-by-step statistical tutorial with examples.

How to Compute Pearson Correlation of Multiple Variables

Learn how to compute pearson correlation of multiple variables with this comprehensive R tutorial. Includes practical examples and code snippets.

How to Compute Z-Score of Multiple Columns

Learn how to compute z-score of multiple columns with this comprehensive R tutorial. Includes practical examples and code snippets.

How to Create a Correlation Matrix in R

Complete guide to correlation matrices in R using cor(). Learn Pearson correlation, visualization with corrplot, interpretation, and common pitfalls.

 

How to Extract p-values from multiple simple linear regression models

Learn how to extract p-values from multiple simple linear regression models with this comprehensive R tutorial. Includes practical examples and code…

How to Pearson correlation in R

Learn how to perform pearson correlation in R. Step-by-step statistical tutorial with examples.

How to Perform Logistic Regression in R

Complete guide to logistic regression in R using glm(). Learn binary classification with worked examples, model interpretation, predictions, and…

How to Perform One-Way ANOVA in R

Complete guide to one-way ANOVA in R using aov(). Learn to compare means across groups with worked examples, post-hoc tests, and result…

How to Perform a Chi-Square Test in R

Complete guide to chi-square test in R using chisq.test(). Learn to test independence between categorical variables with worked examples and…

How to Spearman correlation in R

Learn how to perform spearman correlation in R. Step-by-step statistical tutorial with examples.

How to calculate Pearson correlation in R

Learn calculate pearson correlation in r with clear examples and explanations.

How to calculate compound interest in R

Learn calculate compound interest in r with clear examples and explanations.

How to calculate covariance in R

Learn calculate covariance in r with clear examples and explanations.

 

How to calculate median-based z-scores in R

Learn calculate median-based z-scores in r with clear examples and explanations.

 

How to calculate z-scores for multiple columns in R

Learn calculate z-scores for multiple columns in r with clear examples and explanations.

How to calculate z-scores in R

Learn calculate z-scores in r with clear examples and explanations.

 

How to calculate z-scores using tidyverse in R

Learn calculate z-scores using tidyverse in r with clear examples and explanations.

How to compute Z-score

Learn how to compute z-score with this comprehensive R tutorial. Includes practical examples and code snippets.

 

How to compute proportions in R

Learn compute proportions in r with clear examples and explanations.

 

How to extract residuals from a linear regression model

In this tutorial, we will learn how to extract residual values from a linear regression model in R. Residuals are values that is remaining after…

 

How to get p-value from linear regression model

Learn how to get p-value from linear regression model with this comprehensive R tutorial. Includes practical examples and code snippets.

How to linear regression basics in R

Linear regression is a fundamental statistical method that models the relationship between a continuous outcome variable (dependent variable) and…

How to mean and median in R

Learn how to perform mean and median in R. Step-by-step statistical tutorial with examples.

How to multiple linear regression in R

Learn how to perform multiple linear regression in R. Step-by-step statistical tutorial with examples.

How to one-sample t-test in R

The one-sample t-test is a statistical hypothesis test used to determine whether a sample mean significantly differs from a known population mean.…

How to paired t-test in R

Learn how to perform paired t-test in R. Step-by-step statistical tutorial with examples.

How to perform a t-test in R

Learn perform a t-test in r with clear examples and explanations.

 

How to perform multiple t-tests using tidyverse

Learn how to perform multiple t-tests using tidyverse with this comprehensive R tutorial. Includes practical examples and code snippets.

How to perform t-test in R

Learn how to perform perform t-test in R. Step-by-step statistical tutorial with examples.

How to run multiple t-tests using tidyverse in R

Learn run multiple t-tests using tidyverse in r with clear examples and explanations.

 

How to standard deviation and variance in R

Learn how to perform standard deviation and variance in R. Step-by-step statistical tutorial with examples.

How to t-test for two samples in R

Learn how to perform t-test for two samples in R. Step-by-step statistical tutorial with examples.

How to z-score normalization in R

Learn how to perform z-score normalization in R. Step-by-step statistical tutorial with examples.

Histogram showing the distribution of number of reviews per product. Most products have few reviews (under 20), with a long tail of products having hundreds of reviews.

Introduction to Empirical Bayes in R

Learn Empirical Bayes estimation in R - a practical approach to improving estimates when you have many small samples. Includes product ratings…

Introduction to Mixed Effects Models in R

Learn the basics of mixed effects models in R using the sleepstudy dataset. Understand when and why to use them for longitudinal data, with…

Kaplan-Meier survival curve showing overall survival of lung cancer patients. The curve starts at 100% survival and decreases over time, with the median survival around 310 days.

Introduction to Survival Analysis in R

Learn survival analysis in R with step-by-step examples. Covers Kaplan-Meier curves, log-rank tests, and Cox regression using real lung cancer data.

 

Introduction to logistic regression in R

Learn introduction to logistic regression in r with clear examples and explanations.

 

Linear Regression in R with lm() function - A Practical Tutorial

In this tutorial, we will learn how to perform a simple linear regression in R using lm() function.

Logistic Regression with Single Predictor in R

Complete guide to logistic regression with single predictor in R programming. Tutorial with practical examples and code.

T-test on real data using tidyverse

Learn t-test on real data using tidyverse with this comprehensive R tutorial. Includes practical examples and code snippets.

Understanding the Normal Distribution in R

Learn about the normal distribution (bell curve) in R with practical examples and visualizations using ggplot2.

No matching items

    Featured Tutorial

    Introduction to Mixed Effects Models

    Learn when and why to use mixed models for longitudinal data with lme4

    Browse by Topic

    dplyr

    59 tutorials

    Data manipulation with filter, select, mutate, joins & more

    tidyr

    22 tutorials

    Reshape data with pivot_wider, pivot_longer, separate & unite

    ggplot2

    22 tutorials

    Create beautiful visualizations with the grammar of graphics

    Statistics

    31 tutorials

    T-tests, ANOVA, regression, correlation & more

    How-To

    53 tutorials

    Practical guides for common R tasks

    Base R

    21 tutorials

    Core R programming fundamentals

    Copyright 2025 Rstats101. All rights reserved.

     
    • About

    • Privacy Policy