
In our data-driven world, understanding statistics is key to unlocking insights and making informed decisions. Learning statistics with Python offers a practical approach to mastering these concepts. Statology provides comprehensive Python-based tutorials covering all areas of statistics, from basics to advanced topics. This five-part series curates these resources, offering a structured learning path in both programming and statistics. Each tutorial is concise and accessible, designed for efficient learning.
About Part II: Descriptive Statistics & Data Visualization
Part II of the series continues introducing more important concepts from descriptive statistics, namely similarity and distance measures, and provides a brief exploration of some advanced and applied topics, predominantly under an exploratory data analysis viewpoint, such as clustering. After this, we move on to Python tutorials covering data visualization techniques.
1. Similarity and Distance Measures
Methods to quantify the similarity or dissimilarity between data points, samples, or populations, are crucial in a variety of statistical analysis methodologies and machine learning techniques: clustering, pattern recognition, classification, etc. The following tutorials teach you how to use Python to apply metrics that indicate how close or far apart your data points are. Mastering these metrics is key to being able to compare datasets, group similar data points together in a coherent manner, or detect anomalies or data points that significantly deviate from the rest.
- How to calculate Euclidean distance in Python
- How to calculate Manhattan distance in Python
- How to calculate Jaccard similarity in Python
- How to calculate Mahalanobis distance in Python
2. Advanced and Applied Topics
Having learned at this point the descriptive statistics foundations, and before moving on to the next topic in this journey (data visualization), it’s the perfect time to have a glimpse at some more complex statistics-based techniques and practical applications. This way, you’ll gain some insight into specialized methodologies commonly used in data science and analytics. In part V of this series, we will put the lens on more advanced predictive solutions like predictions and forecasting. But for now, let’s cover some tutorials aimed at guiding you through clustering data, univariate and bivariate analysis, and multi-dimensional scaling. These are common methods for solving real-world challenges requiring some statistical rigor.
- How to Perform K-Means Clustering in Python
- How to Use the Elbow method in Python
- How to Perform Multidimensional Scaling in Python
- How to Perform Univariate Analysis in Python
- How to Perform Bivariate Analysis in Python
3. Basic Data Visualizations
Visualizing data is a valuable way of getting further insight into understanding what the data looks like, and discovering what key patterns and trends they exhibit. Choosing the right visualization or chart type heavily depends on the nature of your data and what properties of the data you want to display. The following tutorials cover some foundational plotting techniques deemed essential for visualizing data distributions and relationships clearly and effectively. They combine the use of several well-known Python libraries for data visualization, such as seaborn and matplotlib, as well as pandas for handling data structures.
- How to create barplots in seaborn
- How to create a stacked bar chart in Pandas
- How to create a Histogram from a Pandas Series
- How to Create a Relative Frequency Histogram in Matplotlib
- How to Create a Pie Chart in Seaborn
- How to Create a Scatter Plot From a Pandas DataFrame
- How to create Heatmaps in Seaborn
4. Advanced Data Visualizations
To go one step beyond in creating powerful and insightful data visualization, try exploring these Python tutorials that showcase the creation of more specialized and complex plots. Some of these plots are commonly used in machine learning modeling processes and model evaluation, namely for predictive solutions like classifiers and regression models. These plots can be an interesting discovery for those who already mastered the basics of data visualization.
- How to create a Pareto chart in Python
- How to create a Bell curve in Python
- How to Perform a Correlation Test in Python
- How to Plot a ROC Curve in Python
- How to Plot a Logistic Regression curve in Python
Co,ing Up Next
In the next post in this series, you’ll be able to learn how to deal with probabilities and probability distributions in Python, and perform a variety of data sampling techniques.
