φ philip’s curve
Categories
All
(28)
Penang Monthly
(6)
Python
(2)
R
(5)
econometrics
(1)
ggplot2
(1)
python
(1)
tidyverse
(1)
wage-gap
(1)
Penang's Semiconductor Crossroads
Penang Monthly
Navigating global trends and industrial upgrading
Philip Khor
Jan 1, 2025
US-China Tensions and the Transformation of Penang's Tech Industry
Penang Monthly
First published in Penang Monthly (October 2024).
Philip Khor
Oct 1, 2024
Pay for progress: do head of state governments' pay respond to performance?
R
Malaysiakini’s data journalism team just published this fascinating analysis about the salaries of states’ heads of government:
Philip Khor
Aug 9, 2024
Penang's Evolving Schooling Preferences
Penang Monthly
Penang’s education scene is changing rapidly. While Malaysia’s private school enrollment remains modest compared to the region, it is seeing a concerning shift.
Philip Khor
Aug 1, 2024
EPF Account 3: Flexibility or Erosion of Retirement Savings?
Penang Monthly
First published in Penang Monthly (June 2024).
Philip Khor
Jun 1, 2024
Brain drain: not as big a problem as you think
First published on LinkedIn.
Philip Khor
May 29, 2024
Temperatures 🌡️
Panasnya
Philip Khor
May 13, 2024
Hello Julia
Not sure how I landed up browsing through Julia for Data Science and Julia Data Science this Saturday evening. Julia is a fascinating language, but I think the learning…
Philip Khor
Apr 28, 2024
The Limited Local Benefits of Swiftonomics
Penang Monthly
This article was first published in the April 2024 issue of Penang Monthly.
Philip Khor
Apr 26, 2024
My approach to Covid-19 in 2024
Four years into the pandemic, my refusal to align myself with the rest of society sleepwalking into a replay of 2019 norms of work and life has set me back for years…
Philip Khor
Apr 1, 2024
When Less Is More Expensive: The Trend of Shrinkflation
Penang Monthly
First published in Penang Monthly (September 2023).
Philip Khor
Sep 1, 2023
Seasonality in decarbonisation
or, perhaps, the carbon costs of returning to the office?
Philip Khor
Aug 31, 2023
(Individual) tax rebates suck
One of my pet peeves is to see people advocate for tax rebates when they should know better.
Philip Khor
Jul 9, 2023
Gradient boosting?
There’s no shortage of machine learning hot takes on how the XGBoost gradient boosting framework continues to defy the no-free-lunch theorem by being perhaps the most…
Philip Khor
Apr 20, 2022
Nested cross-validation
In Why do cross-validation, I described cross-validation as a way of evaluating your modeling workflow from start to end to help you pick the appropriate model and avoid…
Philip Khor
Oct 24, 2020
Why do cross-validation?
In short, we do cross-validation to pick the right model. But what does that mean for our ‘final model’?
Philip Khor
Oct 11, 2020
WSL2 and R
R
Windows Subsystem for Linux (WSL) is a great way to run Linux software on your computer without dual-booting or starting over. For certain reasons, you may want to run R in…
Philip Khor
Aug 27, 2020
Charts can lie
Data visualization is something we use to understand our data. Sure, it has some aesthetic function, but its primary purpose is to communicate what’s in the data.
Philip Khor
Oct 14, 2019
Learning to sell data science
Half of your job, regardless of what that job is, is being able to sell your work. (source)
Philip Khor
Aug 7, 2019
Link functions matter
There’s a bit of a conversation on Twitter whether to use linear models or logistic models for estimating effect sizes in the case of binary response variables. I wondered…
Philip Khor
Jul 14, 2019
Reflections on the tidyverse
R
tidyverse
At my previous gig as a junior data scientist trainer, my team was given some time to revamp our base R-based syllabus to be more tidy-friendly while retaining significant…
Philip Khor
Jul 7, 2019
File paths and data science projects
Large data science projects can be a pain to manage. Cookiecutter Data Science recommends the following project folder structure, and I think it’s a good picture of how a…
Philip Khor
Jun 13, 2019
The Australian gender wage gap: interactive viz
ggplot2
wage-gap
I wrote a piece at The Ambitious Economist on Australia’s gender wage gap with some good ol’
ggplot2
dataviz. However, there was a chart showing the gender wage gap by…
Philip Khor
Jun 9, 2019
PSA: Python, OLS and perfectly collinear variables
econometrics
python
Unlike most implementations of linear models (e.g. Stata, R), Python packages don’t usually drop perfectly collinear variables.
Philip Khor
Jun 5, 2019
My first package: bnmr
R
bnmr is a wrapper for
httr
to access BNM (Malaysia’s central bank)’s recently released API. I wrote this to practice writing R packages, with lots of help from the R Packages…
Philip Khor
May 4, 2019
Exploring GE14 results with Python (part 2)
Python
See here for part 1.
Philip Khor
Aug 31, 2018
Exploring GE14 results with Python (part 1)
Python
There’s an interesting blog post up on DataTarik about using random forests to model the outcomes of Malaysia’s 14th general election (GE14). While I have my reservations…
Philip Khor
Aug 25, 2018
Visualising government expenditure data with ggplot2
R
I thought I’d practice my rusty R skills when I came across a post by Khairil Yusof on the Sinar Project Facebook group that Malaysian Administrative Modernisation and…
Philip Khor
Aug 24, 2018
No matching items