Python Day 2: Christmas Tree Last time I went to pick up a real Christmas tree was with Little Charles. It was a really big tree, I have to hold it on the way back. This year I don’t have a real tree, so I made a Christmas tree with Python. Code: import matplotlib as mpl from mpl_toolkits.mplot3d…

Data Science Day 21: Last time we showed an example of using the independent T-test to compare the Age mean value between players in Real Madrid and Barcelona. What statistical method should we use if we want to compare the age mean among the players in Barcelona, Real Madrid, and Juventus? Answer: We…

Data Science Day 20: When we are watching Soccer games, at the beginning of the match, the screen will show the basic info for each team. Suppose we want to know is there any difference between the average age between Real Madrid and Barcelona players, What statistical test should we use? Answer: We can use T-test to determine whether there…

Data Science Day 19: In Supervised Learning, we specify the possible categorical values and train the models for pattern recognition. However, what if we don’t have the existing classified data model to learn from? The case we model the data in order to discover the way it clusters, based on certain attributes is Unsupervised Learning. Clustering Analysis in one of…

Data Science Day 15 Risk Ratio Last time, we give a SAS example of Risk Difference to test if two groups are experiencing the same proportion of a certain event. In order to understand the topic better, we will go over Risk Ratio. Definition: Risk Ratio or Relative Risk (RR) is the probability that an event occurs in a group 1…

Python Day 1: Neuron Network Graph Suppose we would like to build a basic network graph implies a student’s grade is affected by IQ and Study. In addition, Interest and method affect the result of the study. # libraries import pandas as pd import numpy as np import networkx as nx import matplotlib.pyplot as plt #build dataframe with connections: df…