Descriptive Statistics in Python
Descriptive Statistics in Python
How to Use a Monthly Payment Function in Python (3 Examples)
You can use the following function in Python to calculate the monthly payments necessary to pay off a certain loan, given the initial size...
Descriptive Statistics in Python
How to Calculate Compound Interest in Python (3 Examples)
We can use the following compound interest formula to find the ending value of some investment after a certain amount of time:
A = P(1...
Descriptive Statistics in Python
How to Solve a System of Equations in Python (3 Examples)
To solve a system of equations in Python, we can use functions from the NumPy library.
The following examples show how to use NumPy to...
Descriptive Statistics in Python
How to Transform Data in Python (Log, Square Root, Cube Root)
Many statistical tests make the assumption that datasets are normally distributed. However, this is often not the case in practice.
One way to address this...
Descriptive Statistics in Python
How to Calculate Sample & Population Variance in Python
The variance is a way to measure the spread of values in a dataset.
The formula to calculate population variance is:
σ2 = Σ (xi – μ)2 / N
where:
Σ: A symbol...
Descriptive Statistics in Python
How to Calculate a Trimmed Mean in Python (With Examples)
A trimmed mean is the mean of a dataset that has been calculated after removing a specific percentage of the smallest and largest values...
Descriptive Statistics in Python
How to Calculate Conditional Probability in Python
The conditional probability that event A occurs, given that event B has occurred, is calculated as follows:
P(A|B) = P(A∩B) / P(B)
where:
P(A∩B) = the probability...
Subscribe
- Never miss a story with notifications
- Gain full access to our premium content
- Browse free from up to 5 devices at once
Must read