Browsed by
Category: R

Words of Power: How Trump and Harris Use Language to Shape Their Leadership

Words of Power: How Trump and Harris Use Language to Shape Their Leadership

Words carry immense power. Emphasis, tone, and vernacular all influence how we interpret a message. Simple phrases, often meant to be forgotten, can become embedded in our language forever. Politicians, more than most, understand the weight of words. While norms have been challenged over the last decade, entire careers can still be derailed by a single misstep in phrasing. Personally, I’ve always been captivated by natural language processing (NLP) for this very reason. The idea that we can extract deeper…

Read More Read More

Forecasting Gas Prices Using R

Forecasting Gas Prices Using R

Introduction Gas prices impact our daily lives significantly. Whether it’s driving to work, transporting goods, or planning a road trip, the cost of gas can affect our decisions and budgets. With this in mind, I set out to create a simple, yet thorough model that could predict future gas prices. In this blog post, we’ll take you through the project, explaining the process in simple terms and sharing our findings. The primary engine behind this project is Fable, an easy-to-use…

Read More Read More

Coding Something Tricky? Try Excel, No Really.

Coding Something Tricky? Try Excel, No Really.

In the realm of data science, where Python and R reign supreme, it might seem counterintuitive to bring Excel into the equation. However, Excel, a tool often associated with traditional business analysis, can serve as a powerful ally in the initial stages of algorithm development. This blog post explores the benefits of using Excel to work out pseudo code before transitioning to more sophisticated programming environments. Excel: A Visual and Interactive Sandbox Excel’s grid layout provides a natural environment for…

Read More Read More

How to Choose Between pivot_longer and gather in R

How to Choose Between pivot_longer and gather in R

When it comes to reshaping data in R, there are often multiple ways to achieve the same result. One common task in data manipulation is converting wide data into long data, and two popular functions for this purpose are pivot_longer and gather. Both functions serve the same fundamental purpose, but they belong to different versions of the tidyr package in R. In this article, we’ll explore these two functions and discuss reasons for choosing one over the other. Understanding the…

Read More Read More

R Vs Python: The Ultimate Showdown

R Vs Python: The Ultimate Showdown

When it comes to Data Analysis, both R and Python have become staples in the data science toolbox. But which one should you reach for when you’re about to dive into your next dataset? Let’s break it down. R: The OG of Data Analysis Pros: Cons: Python: The Jack of All Trades Pros: Cons: The Showdown: EDA Visualizations R’s ggplot2 is arguably more intuitive and offers a lot of customization. Python’s matplotlib and seaborn are powerful but require more effort…

Read More Read More