Skip to content
  • Blog
  • YouTube
  • Skool Community
  • Services
    • Streamlit Developer for Hire
    • Hire n8n automation engineer
Data Consulting
Mentorships

Statistics

  • Home
  • Blog
  • Statistics
  • Page 2
Statistics

Python Cumulative distribution function

June 12, 2025 Ryan Nolan No comments yet

In this article, we’ll explore how to use the Cumulative Distribution Function (CDF) in Python through several practical examples. First, we’ll do a manual calculation to get a better grasp of the idea conceptually. Then, we’ll go on to utilizing NumPy and SciPy to do it more efficiently. Lastly, we’ll use Matplotlib and Seaborn to […]

Statistics

uniform distribution python

June 12, 2025 Ryan Nolan No comments yet

https://colab.research.google.com/drive/1And9Ryq0SUIrzRwPKNu_51N5LOmcl26m?authuser=2 Example 1 Random Numbers 0 to 1 Example 2 Generate Dice Rolls Example 3 Data Points Example 4 Histogram Plot Example 5 Calculate PMF Example 6 Calculate CDF

Statistics

Poisson distribution in python

June 12, 2025 Ryan Nolan No comments yet

https://colab.research.google.com/drive/1xDMi4lOvL9L1v_qW_uapz3DhJE8Rh3_Q?authuser=2 Example 1 generate Poisson-Distributed Random Variables Numpy Example 2 generate Poisson-Distributed Random Variables Scipy Example 3 Calculating Poisson Probability Mass Function (PMF) Part 1 # is a function that gives the probability that a discrete random variable is exactly#equal to a particular value. In other words, the PMF describes the distribution of a#discrete random […]

Statistics

Binomial distribution python

June 12, 2025 Ryan Nolan No comments yet

https://youtu.be/bZfnCdLLxAI#sns.distplot hist=True#To do Mean, Variance, STD#probabiliy of less or equal to K Occurences #Exmaple 1 Creation in Numpy (YouTube Subscribers) Example 2 Creation in Scipy Coin Flip Example 3 Calculate PMF #Probability of Exaxtyl K Occurences #n= sample size #k = number of SUCCESS #p = probability Example 4 Calculate CDF #Probability of less of […]

Statistics

Harmonic Mean in Python

June 12, 2025 Ryan Nolan No comments yet

Example 1 Manual Calc Example 2 statistics Example 3 scipy

Statistics

Geometric Mean in Python

June 12, 2025 Ryan Nolan No comments yet

Example 1 Manual Example 2 Numpy Example 3 Scipy Example 4 Scipy Percentages Growth Rate Growth Rate

Statistics

scipy chi square goodness of fit

June 7, 2025 Ryan Nolan No comments yet

https://youtu.be/Fv-U-pZ4HbI#The Chi-Squared test determines whether there’s a significant association between categorical variables.#It compares the observed frequencies (counts) to the expected frequencies, calculated under the null hypothesis that the variables are independent or that the observed distribution fits a given distribution. #Chi-Squared Goodness-of-Fit Test#This test assesses if the observed frequencies for a single categorical variable match […]

Statistics

simpsons paradox in Python

June 6, 2025 Ryan Nolan No comments yet

2nd example Running 1st plot just the mile time/miles per week

Statistics

two sample z test scipy

June 6, 2025 Ryan Nolan No comments yet

https://youtu.be/EiDemzaNbBI To start we’re going to import a few python packages. ztest: Impors the function to perform a Z-test for comparing means. numpy as np: for numberical operations. from scipy.stats import norm: Imports the normal distribution functions. from statsmodels.stats.weightstats import ztest import numpy as np from scipy.stats import norm #import math Then we set the […]

Statistics

paired sign test in Python

June 6, 2025 Ryan Nolan No comments yet

https://youtu.be/NoLyDRChxrU Firstly, we import statistical functions from Scipy binomtest: for performing a binomial test shapiro: for performing the Shapiro-Wilk test (tests for normality) numpy as np: for numerical operations and array handling. from scipy.stats import binomtest, shapiro import numpy as np Here we set the significance  level “alpha” to 0.05 alpha = 0.05 Example 1 […]

Posts pagination

Previous 1 2 3 Next

Search

Categories

  • LangChain (3)
  • LeetCode (8)
  • Linear Algebra (7)
  • N8N (37)
  • Python (31)
  • Python Pandas (36)
  • Sbert (1)
  • scikit-learn (29)
  • Statistics (24)
  • Streamlit (43)
  • Time Series (6)
  • Uncategorized (4)
  • Web Scraping (5)

Recent posts

  • n8n RAG Embeddings with OpenAI
  • n8n RAG Text Splitters
  • n8n Binary Data

Helping Data Professions further there careers

Important Links
  • Blog
  • Sponsorships
  • Mentorships
  • Data Freelancing
LinkedIn
  • Ryan Nolan
  • Matt Payne
Get in touch
  • ryannolandata@gmail.com

© Ryan & Matt Data Science

  • Terms & Conditions
  • Privacy Policy