STATISTICS with R
Welcome to Statistics with R!
Statistics with R offers clear, practical tutorials on statistical analysis using R, with examples, datasets, and step‑by‑step R code for every method. Start with learning how to install R and RStudio and explore the RStudio environment.



Comparing Groups: Analysis of Variance

Correlation & Association



Psychometrics & Measurement
Advanced Topics in Statistics
Conditional Inference Trees in R for Clinical Risk Stratification
Conditional inference trees (ctrees) implement recursive partitioning using permutation‑based hypothesis tests rather than impurity‑based split criteria. At each node, the algorithm tests global independence between the response and each predictor,…
Repeated Measures in R Using Linear Mixed‑Effects Models
Analyzing repeated‑measures data is a common task in psychology, education, basic science, health sciences, and many other fields where the same experimental units are measured across multiple time points or…
How to Perform ANCOVA Using Linear Models (with R Examples)
ANCOVA (analysis of covariance) is a widely used statistical method for comparing the mean values of multiple groups on a continuous outcome while adjusting for the influence of a related…
How to Create and Interpret Q–Q Plots (From Scratch in R)
In this Statistics Note, we learn how to create Q-Q plots from the scratch in R. A quantile-quantile plot (Q-Q plot for short) is a scatter plot that shows how…