Data Visualization: A Practical Introduction by Duke University Professor Kieran Healy is a great introduction Data Visualization. If you have not heard of the book before, here is a little back story. The author, Kieran Healy developed the book using R Bookdown and made the whole book available online for free. Yes, it is available […]
Introduction to Maximum Likelihood Estimation in R – Part 1
The core of statistical inference can thought of situation like this. You have some observed data and you want to understand the actual population that generated the sample data you have. Parameter estimation by MLE One typically models that the observed data is generated by some probability distribution. For the sake of simplicity, let us […]
How To Make Grouped Boxplots in Python with Seaborn?
Boxplots are one of the most common ways to visualize data distributions from multiple groups. In Python, Seaborn potting library makes it easy to make boxplots and similar plots swarmplot and stripplot. Sometimes, your data might have multiple subgroups and you might want to visualize such data using grouped boxplots. Here, we will see examples […]
How To Visualize Sparse Matrix in Python?
When you work with sparse matrix data structure with SciPy in Python, sometimes you might want to visualize the sparse matrix. A quick visualization can reveal the pattern in the sparse matrix and can tell how “sparse” the matrix is. And it is a great sanity check. One way to visualize sparse matrix is to […]
How To Make Grouped Boxplots with ggplot2?
Boxplots are great to visualize distributions of multiple variables. ggplot2 is great to make beautiful boxplots really quickly. Sometimes, you may have multiple sub-groups for a variable of interest. In those situation, it is very useful to visualize using “grouped boxplots”. In R, ggplot2 package offers multiple options to visualize such grouped boxplots. Let us […]