Posts

Scraping International Investment Agreement Data

International Economics
Foreign Direct Investment
Web Scraping

Comprehensive and up-to-date data on international investment agreements (IIAs) concluded between (groups of) countries are hard to come by, making it difficult to study their effects on bilateral investment flows. In this post, I propose and describe a simple approach to obtain and manipulate data from UNCTAD's IIA Mapping Project using R.

Introduction to R: Assignment

Intensive Statistics
RStudio
Assignment

This assignment accompanies the "Introduction to R" tutorial session for MCom (Economics) students attending the Intensive Statistics course at Stellenbosch University (2024).

Introduction to R: Tutorial

Intensive Statistics
RStudio
Tutorial

This post serves as the primary tutorial notes for the "Introduction to R" sessions of the Intensive Statistics course for MCom (Economics) students at Stellenbosch University (2024). This lecture is intended to offer a cursory introduction to enable students to perform basic operations in R and RStudio.

CPT to BRU: A (Very) Cursory Google Flights Analysis

RStudio
Google Flights
Aviation

Google Flights is a useful platform with which to find the cheapest flights for a given trip. However, a user like me could find it difficult to peruse prices for return flights across multiple dimensions simultaneously. I capture information from the platform's "Date Grid" and perform some very simple eyeballing.

OpenAI Playground: Chat Mode for Dummies

Artificial Intelligence
OpenAI
Tutorial

The OpenAI Playground is a web-based platform that enables users to generate text using artificial intelligence (AI) without any prior programming experience. In this post, we will explore the chat mode of the OpenAI Playground, which allows users to interact with the GPT-3 language model in a conversational manner.

Are humans rational?

Philosophy and Economics
Rationality
Behavioural Economics

The question of human rationality has been debated since time immemorial. In recent decades, neuroscientific and behavioural evidence seem to suggest that people are not the paragons of rationality as we might have once believed.

The Benefits and Unintended Costs of Airline Alliances

Institutional Economics
Transaction Costs
Aviation

The New Institutional Economics provides scholars with a useful framework with which to perform comparative institutional analyses. The notion of transaction costs is particularly valuable when comparing different institutional arrangements, such as hybrid organisational structures.

More articles »

Posts

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/WihanZA/wihan_distill, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".