Statistics Notes

Statistics Notes

Q-Q Plots from Scratch

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 one empirical distribution approximates a theoretical distribution. Before we dive into QQ plots, let’s clarify an important concept: quantiles. What is a quantile? A quantile […]

Statistics Notes

Regression Residuals for Total Energy Intake Adjustment

Confounders are undesirable variables that affect the relationship between two variables of interest in a study. For example, in epidemiological research studying the effects of a nutrient on a health issue, such as diabetes, the participant’s body size or physical activity can confound the relationship between the nutrient and the health issue. Therefore, it is

Scroll to Top