<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Rahul Raoniar · Blog</title><link href="https://www.rahulraoniar.com/blog/"/><link rel="self" href="https://www.rahulraoniar.com/blog/feed.xml"/><id>https://www.rahulraoniar.com/blog/</id><updated>2026-12-02T00:00:00Z</updated><author><name>Rahul Raoniar</name></author><entry><title>The Journey Home: Women, Cities and Travelling After Dark</title><link href="https://www.rahulraoniar.com/blog/women-and-the-journey-home-at-night/"/><id>https://www.rahulraoniar.com/blog/women-and-the-journey-home-at-night/</id><updated>2026-12-02T00:00:00Z</updated><summary>A transport researcher who studies women&#x27;s night travel walks a friend through 150 years of history, the world&#x27;s cities, and what the evidence says actually works.</summary></entry><entry><title>The Sound of a Green Light: How Blind and Disabled People Cross the World&#x27;s Streets</title><link href="https://www.rahulraoniar.com/blog/how-blind-and-disabled-people-cross-the-street/"/><id>https://www.rahulraoniar.com/blog/how-blind-and-disabled-people-cross-the-street/</id><updated>2026-12-01T00:00:00Z</updated><summary>On a trip to Tokyo, a blind traveller tells his friend what crossing a street feels like, and which cities help and which get in the way.</summary></entry><entry><title>How Long Should a Yellow Light Last? The Physics Behind the Amber</title><link href="https://www.rahulraoniar.com/blog/the-amber-light-formula/"/><id>https://www.rahulraoniar.com/blog/the-amber-light-formula/</id><updated>2026-11-30T00:00:00Z</updated><summary>Meher and her transport-planner mom work out the amber-light formula, and check a famous story about where it came from.</summary></entry><entry><title>Extreme Value Theory, Explained with a Story: Counting Crashes That Haven&#x27;t Happened Yet</title><link href="https://www.rahulraoniar.com/blog/extreme-value-theory-road-safety-explained/"/><id>https://www.rahulraoniar.com/blog/extreme-value-theory-road-safety-explained/</id><updated>2026-11-29T00:00:00Z</updated><summary>Estimate crashes from near-misses with extreme value theory, step by step.</summary></entry><entry><title>Red Means Stop: A Short History of the Traffic Light</title><link href="https://www.rahulraoniar.com/blog/history-of-the-traffic-light/"/><id>https://www.rahulraoniar.com/blog/history-of-the-traffic-light/</id><updated>2026-11-29T00:00:00Z</updated><summary>A grandfather who once directed traffic by hand tells his grandson how the traffic light came to be.</summary></entry><entry><title>Round and Round the Block: A Short History of Parking</title><link href="https://www.rahulraoniar.com/blog/history-of-parking/"/><id>https://www.rahulraoniar.com/blog/history-of-parking/</id><updated>2026-11-29T00:00:00Z</updated><summary>Two friends hunt for a parking spot, and a parking professor explains how it got this hard.</summary></entry><entry><title>Why Is the Road Painted Like a Zebra? A Short History of the Crosswalk</title><link href="https://www.rahulraoniar.com/blog/history-of-the-crosswalk/"/><id>https://www.rahulraoniar.com/blog/history-of-the-crosswalk/</id><updated>2026-11-29T00:00:00Z</updated><summary>A curious kid and her transport-planner mom on how crosswalks came to be.</summary></entry><entry><title>The Empirical Bayes Method, Explained with a Story: Why Crash Counts Alone Can Fool You</title><link href="https://www.rahulraoniar.com/blog/empirical-bayes-method-road-safety-explained/"/><id>https://www.rahulraoniar.com/blog/empirical-bayes-method-road-safety-explained/</id><updated>2026-11-29T00:00:00Z</updated><summary>How Empirical Bayes corrects misleading crash counts, step by step.</summary></entry><entry><title>Ordered Logistic Regression in R (research-oriented modeling and interpretation)</title><link href="https://www.rahulraoniar.com/blog/ordered-logistic-regression-in-r-research-oriented-modeling-and-interpretation/"/><id>https://www.rahulraoniar.com/blog/ordered-logistic-regression-in-r-research-oriented-modeling-and-interpretation/</id><updated>2023-04-14T00:00:00Z</updated><summary>Fit an ordered logistic regression model in R and interpret it for research.</summary></entry><entry><title>Plotting Traffic Crash Trend using Python, Matplotlib, and Seaborn</title><link href="https://www.rahulraoniar.com/blog/crash-trend-plotting-using-python-matplotlib-and-seaborn/"/><id>https://www.rahulraoniar.com/blog/crash-trend-plotting-using-python-matplotlib-and-seaborn/</id><updated>2023-04-14T00:00:00Z</updated><summary>Turn a year-by-year crash count table into a publication-ready dodged bar plot with pandas, Matplotlib and Seaborn.</summary></entry><entry><title>Introduction to Box and Boxen Plots — Matplotlib, Pandas and Seaborn Visualization Guide (Part 3)</title><link href="https://www.rahulraoniar.com/blog/introduction-to-box-and-boxen-plots-matplotlib-pandas-and-seaborn-visualization-guide-part-3/"/><id>https://www.rahulraoniar.com/blog/introduction-to-box-and-boxen-plots-matplotlib-pandas-and-seaborn-visualization-guide-part-3/</id><updated>2022-09-05T00:00:00Z</updated><summary>Learn to draw box plots and boxen (letter-value) plots with Matplotlib, pandas and Seaborn.</summary></entry><entry><title>Introduction to Dodged Bar Plot (with Numerical Stats)— Python Visualization Guide (Part 2.3)</title><link href="https://www.rahulraoniar.com/blog/introduction-to-dodged-bar-plot-with-numerical-stats-python-visualization-guide-part-2-3/"/><id>https://www.rahulraoniar.com/blog/introduction-to-dodged-bar-plot-with-numerical-stats-python-visualization-guide-part-2-3/</id><updated>2022-08-31T00:00:00Z</updated><summary>Use dodged bar plots to compare numerical statistics such as means across groups in Python.</summary></entry><entry><title>Introduction to Stacked Bar Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 2.2)</title><link href="https://www.rahulraoniar.com/blog/introduction-to-stacked-bar-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-2-2/"/><id>https://www.rahulraoniar.com/blog/introduction-to-stacked-bar-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-2-2/</id><updated>2022-08-04T00:00:00Z</updated><summary>Learn to draw stacked bar plots with Matplotlib, pandas and Seaborn.</summary></entry><entry><title>Introduction to Dodged Bar Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 2.1)</title><link href="https://www.rahulraoniar.com/blog/introduction-to-dodged-bar-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-2-1/"/><id>https://www.rahulraoniar.com/blog/introduction-to-dodged-bar-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-2-1/</id><updated>2022-07-04T00:00:00Z</updated><summary>Learn to draw dodged (grouped) bar plots with Matplotlib, pandas and Seaborn.</summary></entry><entry><title>Introduction to Line Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 1)</title><link href="https://www.rahulraoniar.com/blog/introduction-to-line-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-1/"/><id>https://www.rahulraoniar.com/blog/introduction-to-line-plot-matplotlib-pandas-and-seaborn-visualization-guide-part-1/</id><updated>2022-06-15T00:00:00Z</updated><summary>Learn data visualization in Python from scratch, starting with line plots in Matplotlib, pandas and Seaborn.</summary></entry><entry><title>Generate Numerical Correlation and Nominal Association Plots using Python</title><link href="https://www.rahulraoniar.com/blog/generate-numerical-correlation-and-nominal-association-plots-using-python/"/><id>https://www.rahulraoniar.com/blog/generate-numerical-correlation-and-nominal-association-plots-using-python/</id><updated>2022-05-06T00:00:00Z</updated><summary>Plot Pearson correlations between numeric variables and associations between categorical variables in Python.</summary></entry><entry><title>Set Up Python and VS Code for Data Science, Step by Step</title><link href="https://www.rahulraoniar.com/blog/set-up-python-and-vs-code-for-data-science/"/><id>https://www.rahulraoniar.com/blog/set-up-python-and-vs-code-for-data-science/</id><updated>2022-04-05T00:00:00Z</updated><summary>Install Miniconda and Visual Studio Code, give each project its own clean environment, and run your first Jupyter notebook — with a screenshot for every click.</summary></entry><entry><title>Start Your Data Science Journey with These Books and Courses</title><link href="https://www.rahulraoniar.com/blog/start-your-data-science-journey-books-and-courses/"/><id>https://www.rahulraoniar.com/blog/start-your-data-science-journey-books-and-courses/</id><updated>2022-03-26T00:00:00Z</updated><summary>Twenty-six books and courses, in the order I would take them if I started over, from your first line of Python to deep learning, time series and big data.</summary></entry><entry><title>Introduction to PySpark</title><link href="https://www.rahulraoniar.com/blog/introduction-to-pyspark/"/><id>https://www.rahulraoniar.com/blog/introduction-to-pyspark/</id><updated>2021-11-27T00:00:00Z</updated><summary>Get started with PySpark: create a Spark session, load data, and filter, group and aggregate it.</summary></entry><entry><title>How to use Stata and Python Together Directly from Jupyter Notebook</title><link href="https://www.rahulraoniar.com/blog/how-to-use-stata-and-python-together-directly-from-jupyter-notebook/"/><id>https://www.rahulraoniar.com/blog/how-to-use-stata-and-python-together-directly-from-jupyter-notebook/</id><updated>2021-11-06T00:00:00Z</updated><summary>Run Stata and Python side by side in a single Jupyter notebook.</summary></entry><entry><title>Survival Analysis in Stata (KM Estimate, Cox-PH and AFT Model)</title><link href="https://www.rahulraoniar.com/blog/survival-analysis-in-stata-km-estimate-cox-ph-and-aft-model/"/><id>https://www.rahulraoniar.com/blog/survival-analysis-in-stata-km-estimate-cox-ph-and-aft-model/</id><updated>2021-10-30T00:00:00Z</updated><summary>Survival analysis in Stata: Kaplan-Meier curves, Cox proportional hazards regression and accelerated failure time models.</summary></entry><entry><title>Survival Analysis in Python (KM Estimate, Cox-PH and AFT Model)</title><link href="https://www.rahulraoniar.com/blog/survival-analysis-in-python-km-estimate-cox-ph-and-aft-model/"/><id>https://www.rahulraoniar.com/blog/survival-analysis-in-python-km-estimate-cox-ph-and-aft-model/</id><updated>2021-10-29T00:00:00Z</updated><summary>Survival analysis in Python: Kaplan-Meier curves, Cox proportional hazards regression and accelerated failure time models.</summary></entry><entry><title>Finding the Best Distribution that Fits Your Data using Python’s Fitter Library</title><link href="https://www.rahulraoniar.com/blog/finding-the-best-distribution-that-fits-your-data-using-pythons-fitter-library/"/><id>https://www.rahulraoniar.com/blog/finding-the-best-distribution-that-fits-your-data-using-pythons-fitter-library/</id><updated>2021-06-06T00:00:00Z</updated><summary>Use Python&#x27;s fitter library to find the probability distribution that best fits your data.</summary></entry><entry><title>Modelling Binary Logistic Regression using Tidymodels Library in R (Part-1)</title><link href="https://www.rahulraoniar.com/blog/modelling-binary-logistic-regression-using-tidymodels-library-in-r-part-1/"/><id>https://www.rahulraoniar.com/blog/modelling-binary-logistic-regression-using-tidymodels-library-in-r-part-1/</id><updated>2021-04-30T00:00:00Z</updated><summary>A step-by-step guide to fitting logistic regression with R&#x27;s tidymodels library.</summary></entry><entry><title>Generate Publication Ready Facet, Pair, and Joint Plots using Seaborn Library (Part 2)</title><link href="https://www.rahulraoniar.com/blog/generate-publication-ready-facet-pair-and-joint-plots-using-seaborn-library-part-2/"/><id>https://www.rahulraoniar.com/blog/generate-publication-ready-facet-pair-and-joint-plots-using-seaborn-library-part-2/</id><updated>2021-03-02T00:00:00Z</updated><summary>Generate publication-ready facet, pair and joint plots with Python&#x27;s Seaborn library.</summary></entry><entry><title>Generate Publication-Ready Plots Using Seaborn Library (Part-1)</title><link href="https://www.rahulraoniar.com/blog/generate-publication-ready-plots-using-seaborn-library-part-1/"/><id>https://www.rahulraoniar.com/blog/generate-publication-ready-plots-using-seaborn-library-part-1/</id><updated>2020-12-20T00:00:00Z</updated><summary>Generate publication-ready histograms, box plots, bar plots and more with Python&#x27;s Seaborn library.</summary></entry><entry><title>Model Hyperparameters Tuning using Grid, Random and Genetic based Search in Python</title><link href="https://www.rahulraoniar.com/blog/model-hyperparameters-tuning-using-grid-random-and-genetic-based-search-in-python/"/><id>https://www.rahulraoniar.com/blog/model-hyperparameters-tuning-using-grid-random-and-genetic-based-search-in-python/</id><updated>2020-10-22T00:00:00Z</updated><summary>Tune machine learning models in Python with grid search, random search and genetic-algorithm search.</summary></entry><entry><title>Fitting MLR and Binary Logistic Regression using Python (Research-Oriented Modeling &amp; Interpretation)</title><link href="https://www.rahulraoniar.com/blog/fitting-mlr-and-binary-logistic-regression-using-python-research-oriented-modeling/"/><id>https://www.rahulraoniar.com/blog/fitting-mlr-and-binary-logistic-regression-using-python-research-oriented-modeling/</id><updated>2020-10-08T00:00:00Z</updated><summary>Estimate multiple linear and binary logistic regression models in Python and report them for research publications.</summary></entry><entry><title>Machine Learning Model Explanation using Shapley Values</title><link href="https://www.rahulraoniar.com/blog/machine-learning-model-explanation-using-shapley-values/"/><id>https://www.rahulraoniar.com/blog/machine-learning-model-explanation-using-shapley-values/</id><updated>2020-09-26T00:00:00Z</updated><summary>Interpret a black-box machine learning model with SHAP (SHapley Additive exPlanations).</summary></entry><entry><title>Combining Multiple ggplot2 Plots for Scientific Publications</title><link href="https://www.rahulraoniar.com/blog/combining-multiple-ggplot2-plots-for-scientific-publications/"/><id>https://www.rahulraoniar.com/blog/combining-multiple-ggplot2-plots-for-scientific-publications/</id><updated>2020-09-20T00:00:00Z</updated><summary>Learn how to combine several ggplot2 plots into one figure for scientific publications.</summary></entry><entry><title>Modelling Multiple Linear Regression Using R (research-oriented modelling and interpretation)</title><link href="https://www.rahulraoniar.com/blog/modelling-multiple-linear-regression-using-r-research-oriented-modelling-and-interpretation/"/><id>https://www.rahulraoniar.com/blog/modelling-multiple-linear-regression-using-r-research-oriented-modelling-and-interpretation/</id><updated>2020-08-26T00:00:00Z</updated><summary>Train a multiple linear regression model in R, interpret its coefficients and run a stepwise regression.</summary></entry><entry><title>Online Courses for Starting your Research Journey</title><link href="https://www.rahulraoniar.com/blog/online-courses-for-starting-your-research-journey/"/><id>https://www.rahulraoniar.com/blog/online-courses-for-starting-your-research-journey/</id><updated>2020-08-26T00:00:00Z</updated><summary>The Coursera courses students should take to build research skills.</summary></entry><entry><title>Diabetes Prediction Model Explanation using LIME</title><link href="https://www.rahulraoniar.com/blog/diabetes-prediction-model-explanation-using-lime/"/><id>https://www.rahulraoniar.com/blog/diabetes-prediction-model-explanation-using-lime/</id><updated>2020-08-21T00:00:00Z</updated><summary>Train and test a diabetes classification model in Python, then explain its predictions with LIME.</summary></entry><entry><title>Setting Up IPython Notebook using Anaconda Distribution</title><link href="https://www.rahulraoniar.com/blog/setting-up-ipython-notebook-using-anaconda-distribution/"/><id>https://www.rahulraoniar.com/blog/setting-up-ipython-notebook-using-anaconda-distribution/</id><updated>2020-08-06T00:00:00Z</updated><summary>Set up an Anaconda environment and connect it to an IPython (Jupyter) kernel.</summary></entry><entry><title>Decision Tree-Based Diabetes Classification in R</title><link href="https://www.rahulraoniar.com/blog/diabetes-classification-using-decision-trees/"/><id>https://www.rahulraoniar.com/blog/diabetes-classification-using-decision-trees/</id><updated>2020-08-04T00:00:00Z</updated><summary>Train, prune and tune a decision tree classifier to predict diabetes in Python.</summary></entry><entry><title>How to Create and Customize Bar Plot Using ggplot2 Package in R</title><link href="https://www.rahulraoniar.com/blog/how-to-create-and-customize-bar-plot-using-ggplot2-package-in-r/"/><id>https://www.rahulraoniar.com/blog/how-to-create-and-customize-bar-plot-using-ggplot2-package-in-r/</id><updated>2020-07-30T00:00:00Z</updated><summary>Build a bar plot in R with ggplot2, then adjust its colours and labels.</summary></entry><entry><title>Diabetes Classification using PyCaret</title><link href="https://www.rahulraoniar.com/blog/diabetes-classification-using-pycaret/"/><id>https://www.rahulraoniar.com/blog/diabetes-classification-using-pycaret/</id><updated>2020-07-27T00:00:00Z</updated><summary>Compare models, tune hyperparameters and plot results for a diabetes classifier in a few lines of code with PyCaret.</summary></entry><entry><title>How to Generate ECDF Plot using Python and R</title><link href="https://www.rahulraoniar.com/blog/how-to-generate-ecdf-plot-using-python-and-r/"/><id>https://www.rahulraoniar.com/blog/how-to-generate-ecdf-plot-using-python-and-r/</id><updated>2020-07-06T00:00:00Z</updated><summary>Plot an empirical cumulative distribution function (ECDF) and compute percentiles in both Python and R.</summary></entry><entry><title>How to use Notion Note-taking Application for Research</title><link href="https://www.rahulraoniar.com/blog/how-to-use-notion-for-research/"/><id>https://www.rahulraoniar.com/blog/how-to-use-notion-for-research/</id><updated>2020-06-28T00:00:00Z</updated><summary>An introduction to the Notion note-taking app and how to organise your research in it.</summary></entry><entry><title>Inserting and Resizing Images in IPython Notebook (Python and R)</title><link href="https://www.rahulraoniar.com/blog/adding-image-files-inside-an-ipython-notebook-python-and-r/"/><id>https://www.rahulraoniar.com/blog/adding-image-files-inside-an-ipython-notebook-python-and-r/</id><updated>2020-05-22T00:00:00Z</updated><summary>A quick fix for showing image files inside a Jupyter (IPython) notebook, in both Python and R.</summary></entry><entry><title>Hyperparameter Tuning of Keras Deep Learning Model in Python</title><link href="https://www.rahulraoniar.com/blog/hyperparameter-tuning-of-keras-deep-learning-model-in-python/"/><id>https://www.rahulraoniar.com/blog/hyperparameter-tuning-of-keras-deep-learning-model-in-python/</id><updated>2020-05-13T00:00:00Z</updated><summary>Automate hyperparameter tuning for a Keras deep learning model in Python.</summary></entry><entry><title>Start Your CNN Journey with PyTorch in Python</title><link href="https://www.rahulraoniar.com/blog/start-your-cnn-journey-with-pytorch-in-python/"/><id>https://www.rahulraoniar.com/blog/start-your-cnn-journey-with-pytorch-in-python/</id><updated>2020-04-24T00:00:00Z</updated><summary>Classify handwritten digits with a convolutional neural network (CNN) in PyTorch.</summary></entry><entry><title>Make Your Data Manipulation Fast, Fluent, and Fun Using the dfply Package in Python</title><link href="https://www.rahulraoniar.com/blog/make-your-data-manipulation-fast-fluent-and-fun-using-the-dfply-package-in-python/"/><id>https://www.rahulraoniar.com/blog/make-your-data-manipulation-fast-fluent-and-fun-using-the-dfply-package-in-python/</id><updated>2020-03-30T00:00:00Z</updated><summary>Manipulate data in Python with dplyr-style pipes using the dfply package.</summary></entry><entry><title>Modelling Binary Logistic Regression Using R (research-oriented modelling and interpretation)</title><link href="https://www.rahulraoniar.com/blog/modelling-binary-logistic-regression-using-r-research-oriented-modelling-and-interpretation/"/><id>https://www.rahulraoniar.com/blog/modelling-binary-logistic-regression-using-r-research-oriented-modelling-and-interpretation/</id><updated>2020-03-10T00:00:00Z</updated><summary>A hands-on guide to fitting a binary logistic regression model in R and interpreting it for research.</summary></entry><entry><title>Modelling Binary Logistic Regression Using Python (research-oriented modelling and interpretation)</title><link href="https://www.rahulraoniar.com/blog/binary-logistic-regression-using-python-research-oriented-modelling-and-interpretation/"/><id>https://www.rahulraoniar.com/blog/binary-logistic-regression-using-python-research-oriented-modelling-and-interpretation/</id><updated>2020-03-07T00:00:00Z</updated><summary>A hands-on guide to fitting a binary logistic regression model in Python and interpreting it the way research papers need.</summary></entry><entry><title>Programming, Data Science and Machine Learning Books (Python and R)</title><link href="https://www.rahulraoniar.com/blog/programming-data-science-and-machine-learning-books-python-and-r/"/><id>https://www.rahulraoniar.com/blog/programming-data-science-and-machine-learning-books-python-and-r/</id><updated>2020-02-17T00:00:00Z</updated><summary>Books that will help you understand the data science workflow and become a data scientist in Python and R.</summary></entry></feed>
