https://youtu.be/CSVnEKCWh5M import requests from bs4 import BeautifulSoup import pandas as pd import re html = “”” Ultra Running Events Ultra Running Events 50 Mile Races 100 Mile Races 50 Mile Races Rocky Mountain 50 Date: August 10, 2025 Location: Boulder, Colorado Desert Dash 50 Date: September 14, 2025 Location: Moab, Utah 100 Mile Races Mountain […]
beautifulsoup4 Selectors
import requests from bs4 import BeautifulSoup import pandas as pd import re html = “”” Ultra Running Events Ultra Running Events 50 Mile Races 100 Mile Races 50 Mile Races Rocky Mountain 50 Date: August 10, 2025 Location: Boulder, Colorado Desert Dash 50 Date: September 14, 2025 Location: Moab, Utah 100 Mile Races Mountain Madness […]
python levenes test
Example 1 – Manual Example # 100m race times for college and pro athletes #Calculate the medians # Calculate absolute deviations from the median # Calculate mean of absolute deviations # Calculate sum of squared deviations from the mean of deviations # Combine for total squared deviations # Total number of observations # Degrees of […]
python one sample z test
Example 1 More Manual
scipy chi square test of independence
https://youtu.be/Jb9sxlnhZMo#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 Test for Independence#This test checks if there’s an association between two categorical variables by […]
Python One-Sample T-Test
One-Sample T-Test Used to compare the mean of a single sample to a known value (usually a population mean). Example 1 Manual Calculation Step 5: Degrees of freedom and p-value Example 2 – Shoes Two Tail Example 3 – Rookie Batting Average One Tail rookie batting average is the same as the population mean (0.250)Rookie […]
Inverse Matrix
2×2 example 3×3 example properties A^-1 * A = A * A^-1 = I (AB)^−1=B^−1A^−1 (A^T)^−1=(A^−1)^T (kA)^−1=(1/k)(A^−1) (A^−1)^−1=A
Python Identity Matrix
Example 1 Create a 3×3 identity matrix also can use np.eye Example 2 Matrix Multiplication Example 3 Determinant of the Identity Matrix Example 4 Identity Matrix is Its Own Inverse Example 5 Eigenvalues of the Identity Matrix
Python Determinant of a Matrix
2×2 Example 3×3 Example singular matrix identity matrix The determinant of a product of matrices satisfies det(AB)=det(A)⋅det(B) Swapping two rows (or columns) of a matrix multiplies the determinant by − 1 Eigenvalues of A and their product Scale A by a scalar k and compute determinant the shape attribute of a numpy array provides the […]