When Actuarial Science Collides with Data Science

Regularised Regression with glmnet in R

Machine Learning

Lasso your predictors, ridge your bets, and stretch into elastic net with glmnet in R.

Confidence Interval

Statistics

Confidence intervals, but make them less scary: what they mean, when to use them, and how to calculate them in R with penguins.

Open vs Closed LLMs

Artificial Intelligence
Large Language Models
Generative AI

Open vs closed LLMs, decoded without the corporate fog: what they are, why the internet keeps arguing about them, and how to think about the trade-offs without losing the plot.

Causal Forest: Finding Who Benefits Most From a Treatment

Machine Learning
Causal Inference

Getting to the root of treatment effects, one causal tree at a time.

Principal Component Analysis

Principal component analysis
Dimensionality reduction

A practical introduction to PCA: how it works, when it is useful, what to watch out for, and how to implement it in R.

Negative Binomial Regression for Count Data

Machine Learning
Supervised Learning

When counts get too negative for Poisson, negative binomial regression can help you model the extra dispersion without losing count.

Experimental Design - Concepts

Experimental Design

A casual walkthrough of the main ideas behind experimental design: treatments, randomisation, replication, blocking, confounding, and validity.

Hyperparameter tuning - Tune Race, Win loss, and Sim anneal

Machine Learning
Supervised Learning

Multivariate Analysis Of Variance (MANOVA)

Machine Learning
Supervised Learning

Partial Least Square

Supervised Learning

Why did the partially blind man fall into the well? He couldn’t see that well.

Latent Profile Analysis

Principal component analysis

I have many hidden talents...Problem is I don’t know where they are

Latent Class Analysis

Unsupervised Learning

Finding the unseen

Zero-Inflated Poisson

Machine Learning
Supervised Learning

Too many zeros!

Survival Analysis in Python

Survival Model
Python

My first Python post! Still surviving!

Conjoint Analysis in R

Conjoint Analysis
Marketing Analytics

A practical guide to estimating, coding, and interpreting a simple full-profile conjoint analysis in R.

Conjoint Analysis - Concepts

Experiemental Design
Concepts

Going back to the concepts

Machine Learning on Time Series

Machine Learning
Time Series

Ordinal Regression

Machine Learning
Supervised Learning

When we take into account the inherent ranking

Discriminant analysis

Machine Learning
Supervised Learning

Differentiating the groups!

Model Performance on Survival Models

Machine Learning
Survival Model

How do you survival a fall without a parachute? Just like any other season

Causal Inference - Instrumental Variable

Machine Learning
Causal Inference

Finding a close enough variable

Support Vector Machine

Machine Learning
Supervised Learning

Don’t trust stairs, they’re always up to something, but at least they support you step by step.

Different Types of ANOVA

Machine Learning
Supervised Learning

1, 2, 3, Go!

Causal Inference - Regression Discontinuity

Machine Learning
Causal Inference

Causal Inference - Match

Machine Learning
Causal Inference

Are we similar?

Survival Analysis with Gradient Boosting Models

Machine Learning
Survival Model

A practical walk-through of fitting and interpreting a GBM survival model in R.

Causal Inference - Sensitivity Testing (Sensemakr)

Machine Learning
Causal Inference

Causal Inference - Inverse Probability Weighting

Machine Learning
Causal Inference

Causal Inference - Difference-in-differences

Machine Learning
Causal Inference

Recurrent Events

Machine Learning
Survival Model

When its no longer a one-off event

Multinomial Logistic Regression

Machine Learning
Supervised Learning

When the target is more than 2 classes

Causal Inference - Weight

Machine Learning
Causal Inference

Causal Inference - Directed Acyclic Graph

Machine Learning
Causal Inference

Poisson Regression

Machine Learning
Supervised Learning

A fish regression? Google translate from French to English to check what "poisson" means

Boruta

Machine Learning
Feature Selection

Not Boruto, also not burrito

Multi-state Risk

Machine Learning
Survival Model

When the survival analysis is no longer straightforward

Logistic Regression on Aggregated Data

Machine Learning
Supervised Learning

Different methods but give the same results

Prophet

Time Series
Time Series Forecasting

Not the usual "Prophet" actuaries refer to

Encoding Categorical Variables Using GLM

Machine Learning
Supervised Learning

Tweedie Distribution

Machine Learning
Supervised Learning

Wait, are you referring to Tweety bird?

Accumulated Local Effect (ALE)

Machine Learning
Model Explanability

Local Moran's I

Geospatial Analytics

Are the selected locations different from each other?

Linear Mixed Effect Model

Machine Learning
Supervised Learning

When all are being "mixed" together

Global Spatial Autocorrelation

Geospatial Analytics

Proportion Hazard Assumption under Cox Model

Machine Learning
Survival Model

Have you checked the assumption?

Distance-based Spatial Weights

Geospatial Analytics

Part 2 - Journey to find the "neighbours"

K-proto Clustering

Machine Learning
Unsupervised Learning

Sorting numeric and categorical data at one go

Survival Decision Tree

Machine Learning
Survival Model

Treeeeeeeeeeeee

Contiguity-based Spatial Weights

Geospatial Analytics

Are you my "neighbours"?

Cox Proportional Hazards Model

Machine Learning
Survival Model

A practical introduction to one of the most widely used methods in survival analysis

Survival Modelling - Log Rank Test

Machine Learning
Survival Model

Are the survival curves same? Yes or no?

Reading PDF into R

Text Analytics

Time Series Decomposition

Time Series

Breaking down to the "lego block" of time series

Exponential Smoothing

Time Series
Time Series Forecasting

Smooth the time series out!

Visualizing Time Series

Time Series
Data Visualization

It's about time

Generalized Linear Model

Machine Learning
Supervised Learning

Back to Actuaries Most Beloved Model

Survival Modelling - Kaplan-Meier

Machine Learning
Survival Model

In the long run we are all dead - John Maynard Keynes

Fairness

Machine Learning
Model Explanability

Is the model judgement fair?

Bayes Optimisation

Machine Learning
Hyperparameter Tuning

When the prior info is put to good use

Hyperparameters Tuning With Regular Search and Non-regular Search

Machine Learning
Hyperparameter Tuning

Define the domain to search for the hyperparameter combination that gives the best model performance

Partial Dependence Plot (PDP)

Machine Learning
Model Explanability

If all else being equal, what is the effect of the selected variable?

Local Interpretable Model-Agnostic Explanations (LIME)

Machine Learning
Model Explanability

Don't worry, you won't feel any sourness while using the method

Association Rules

Unsupervised Learning
Association Rules

Revealing the hidden "rules" within the data

Point Pattern Analysis

Geospatial Analytics

How do you know whether the objects are randomly dispersed within an area?

Topic Modeling

Text Analytics

Discovering the topics within the text data

Text Analytics 101

Text Analytics

Finding the "gold" within the text

K-Means Clustering

Machine Learning
Unsupervised Learning

Why don't we call this algorithm as k-average algorithm? Because it's mean.

Clustering

Machine Learning
Unsupervised Learning

Mirror, mirror on the wall, which data are similar to one another?

Transfer Learning with Convolution Neural Network

Tensorflow/Keras
Deep Learning
Image Recognition
Transfer Learning

Why learn from scratch when you can leverage the existing work?

Naive Bayes Classifier

Machine Learning
Supervised Learning

When the "naive" one outperform the conventional

Model Stacking

Machine Learning
Supervised Learning

When the sum of all component is greater than individual component

Data Wrangling - The Quest to Tame The 'Beast'

Data Wrangling

Rawwwwwwwwww!

The Unconventional Path

Journey of Joining the "Dark" Side

More articles »

When Actuarial Science Collides with Data Science