Welcome to On Statistics

  • How to Plot a Normal Distribution in Python

    How to Plot a Normal Distribution in Python

    A normal distribution, also known as Gaussian distribution or bell curve, is a continuous probability distribution that describes data with a symmetrical bell-shaped curve. It is widely used in statistics to model real-world phenomena, such as human height, IQ scores, and errors in measurement. In this tutorial, we will explore how to generate and plot…

  • How to Create a Log-Log Plot in Python

    How to Create a Log-Log Plot in Python

    A log-log plot, also known as a double logarithmic plot, is a useful visualization tool for analyzing data that follows a power law distribution. Power law distributions are characterized by the property that the probability of an event occurring is inversely proportional to the size of the event. In other words, large events are less…

  • How to Calculate Partial Correlation in Python

    How to Calculate Partial Correlation in Python

    Correlation is a statistical method used to measure the linear relationship between two variables. However, sometimes we want to know the relationship between two variables while controlling for the effect of a third variable. This is where partial correlation comes in. In this article, we will discuss the concept of partial correlation and how to…