Example 1 – Manual Calculation – Strikeouts Per Season Example 2 Scipy Example 3 Marathon Times Example viz
python quantiles statistics
In Python, a quantile is a statistical term used to describe a point or value below which a certain proportion of the data falls. It means a quntile split data into intervals. We start by importing numpy and pandas. numpy is used for high-performance numerical computation. Pandas is used for data manipulation, data analysis and […]
python variance and standard deviation
https://youtu.be/p4H2b2x_nWc#population and sample variance/std deviationVariance measures how far each data point in the set is from the mean andthus from every other point in the set. It is the average of the squared differences from the mean.Population variance is calculated when you have data for the entire population.It gives a measure of the dispersion of […]
Python Z-Score
We are going to be looking at Python Z-score. Z-score tells us how far a data poin is from the mean. To start we’re going to import the necessary libraries. numpy as np, stats and pandas Example 1 Numpy Let’s create a list of numbers called data containing a sequence of integers. Next we calculate […]
Spearman Rank Correlation
Spearman Rank Correlation [Simply explained] Example 2 Fast wth scipy
python covariance matrix
Example 1 Manual #The positive value of 3.6 indicates that the prices of Stock A and Stock B tend to move in the same#direction. When the price of Stock A increases, the price of Stock B also tends to increase,#and vice versa. Example 2 Numpy Sample Covariance Example 4 Pandas Sample – No Option Example […]
python skewness of distribution
Skewness measures the asymmetry of a distribution. Positive skew (right-skewed): Tail is longer on the right, most values are on the left. Negative skew (left-skewed): Tail is longer on the left, most values are on the right. Zero skew: Summetrical distribution (like a normal bell curve). https://youtu.be/mHP5CEsxnxE Here, we import key libraries for statistical analysis […]
Law of Large Numbers Python
Example 1 Coin Flips (Bernoulli Distribution) #If we repeat the coin flip multiple times, the sum of these Bernoulli trials follows a#Binomial distribution. However, when looking at a single flip, it’s simply a Bernoulli distribution Example 2 Data Science Salaries (Normal Distribution)
Python probability mass function
Example 1 Binom success or failure, multiple trials each time Example 2 Poisson number of events happening in a fixed interval of time Example 3 Geometric trials till first success Example 4 Uniform equal likelyhood of result
Python Probability Point Function
Example 1 lowest 20% lowest 70% Example 2 Find the data points that are between 25 and 50% Example 3 Find the top 20% data points Example 4 Numpy Percentiles Cover Quartile, Decile, Percentile in the next video Example 5 Graph Matplotlib seaborn doesnt have a PPF Option