RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Predicting Customer Churn in Banking using Machine Learning
Group Assignment for WQD7004
Business Forecasting 2
This homework used STL decomposition to extract the trend, seasonal, and residual components of the time series. The data was tidied with `mutate()` and visualized using `filter()`. The trend model was estimated using `TSLM()` and forecasts were generated with the `forecast()` function, which were then visualized with `autoplot()`. Basic forecasting models such as **MEAN(), NAIVE(),** and **RW()** were applied and visualized. Missing dates were handled by updating the time series index with `update_tsibble()`. Fitted values and residuals were calculated using `augment()` and visualized with `ggplot()` and ACF plots. Additionally, a **log() transformation** was applied, and seasonally adjusted series were generated for improved forecasting accuracy.
Business Forecasting TidyVerse
This homework used the **tidyverse** and **ggplot2** packages to tidy and manipulate data. The data was cleaned and transformed for analysis by converting it into tibble and tsibble formats. Time series data was extracted and visualized, with **seasonal data** being specifically plotted using `gg_season()` and `gg_subseries()`. The **autocorrelation function (ACF)** was also applied for deeper analysis. Daily data was updated into the **tsibble()** format to ensure correct indexing and consistency. The combined data was visualized using various plotting functions from **ggplot2**, enabling a comprehensive exploration of trends, seasonality, and autocorrelation in the time series.
Múltiplos Decrementos
Documento para ilustrar a optenção de probabilidades em ambientes multidecrementais.
Predictive Modeling for Early Detection of Heart Attack Risk
Group 8 1. Lee Min Qi 2. Lau Wen Xi 3. Sasmitta A/P Krishnan 4. Ng Jing Wen 5. Lee Xuan Yu
PDB TSA 24/25