we are going to be looking at Python Tuples. Some characteristics of tuples are: Tuple data never change.Tuples are used to store multiple items in a single variable.Tuples are ordered and unchangeable.Since tuples are indexed, they can have items with the same value. https://youtu.be/2LV2T7KLJaI we start by creating a tuple called “tuple1”. Notice the type of […]
Python While Loops
We are going to be looking at the While loop in python. The while loop in python is a control flow statement that repeatedly executes a block of code as long as a specified condition is true. Example 1 Basic While Loop Here, we are using the while loop to print numberd from 1 to […]
eigenanalysis Python
Example from slides 3×3 Example
Shapiro-Wilk Test Python
#Uniform Example General #Example with a Paired T Test
mann-whitney u test python
#similiar to t test for independent samples#that t test looks at the mean #mann-whitney u loks at rank sum difference#sort from smallest to largest (smallest rank 1 largest last rank)#example rank group 1 sum 36 rank group sum 2 42 #confirm data is not normally distributed #write null and alternative hypothesis#The Mann-Whitney U Test is […]
Spearman Rank Correlation
Spearman Rank Correlation [Simply explained] Example 2 Fast wth scipy
One-Way ANOVA
https://youtu.be/e0lum-6vuw4 ANOVA (Analysis of Variance) is a statistical method used to compare the means of three or more groups to determine whether at least one group mean is significantly different from the others. If the difference in means is only due to random variation, we accept the null hypothesis (H₀). If the differences are larger […]
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)