(Photo credit: Wikipedia)

**Date of Analysis: 10 January 2020**

**Period of data: Jan 2017 to Dec 2019**

**Number of transactions analyzed: 4702**

(transaction data extracted from URA website)

District 5 is one of the districts within the RCR (Rest of Central Region) of Singapore. It comprises of few neighbourhoods such as Clementi, Pasir Panjang and West Coast. Some of the private properties in this region are **The Clementi Canopy**, **Blue Horizon** and **The Trilinq** etc. Recent new properties in the area are **Parc Clematis**, **Kent Ridge Hill Residences** and **Whistler Grand.**

How do the private properties in D5 generally fare? Using ** box plots**, here are the details for each of the properties in D5.

*More box plots of other condominiums in this district (together with all the other districts) could be unlocked when you become a patron (**https://www.patreon.com/datascienceinvestor**)*

To help you better understand the data, I will use **Pasir Panjang Court** as an example here. From the diagram, you can see that

Average price- $1025.2 psf

Median price- $996 psf

Price at 25th percentile- $929.5 psf

Price at 75th percentile- $1121 psf

I personally think that box plot is a good way to present the data. In this case, you can easily see the average price, median price, price at 25th percentile and price at 75th percentile from the plots. You could also tell at one glance how wide the spread of prices are for any of the condominium projects. Pretty neat, I will think.

The metric used here is $psf as it is a common indicator to reflect property prices.

The most expensive condominium in D5 is **Bijou** with an average price of $1942.4 psf while the most affordable condominium in D5 is **Park West **with an average price of $796.8 psf. **Bijou** is a freehold mixed development SOHO located opposite Pasir Panjang MRT station, making it an excellent choice of apartment to invest in as this is the type of condominium which will attract buyers and tenants.

Now, let's take a look at the various ** scatter plots** to have a better insight of how the property prices perform across 4702 transactions in the past 3 years.

First, a scatter plot of the $psf against date.

In scatter plot, we could derive r coefficient, which is used to explain the strength of the linear relationship between 2 variables. Since we are using $psf and date as the variables, r coefficient allows us to better understand how the $psf changes with time. To some extent, if the r coefficient is high, we could roughly assume that the $psf increases positively with time. The r coefficient (or much simply/loosely put, the gradient for the line of best fit) in the scatter plot above is 0.38. This means that the $psf in D5 is enjoying a healthy increment over the past 3 years.

From this line of best fit, you could also better understand if you are "over-paying" for your property purchase (eg. if you property is above the line of best fit). Taking a quick glance at the scatter plot, your transaction will be on the high side if you are paying more than $1400 psf in Oct 2018. Of course, there could be many factors such as location, tenure etc that could influence your buying price. This is still a general assumption.

So, which projects perform remarkably well comparatively in the past 3 years?

The plot above shows a myriad of lines of best fit from various different projects in D5.

2 of the top performing projects from the graph above are **The Clement Canopy ** and **Blue Horizon**. **The Clement Canopy** is a 99 year leasehold property which is looking at completion recently and is very near to good schools such as Nan Hua High and NUS High School. **Blue Horizon** is a 99 year leasehold property which TOP in 2005. Despite it being relatively far away from Clementi Station, it still enjoys good price appreciation over the past 3 years. Perhaps its peaceful surroundings and proximity to West Coast Park helps.

Next, how do freehold perform against leasehold during this 3 years period?

I have only included freehold transactions in this plot and you could see that the r coefficient of 0.07 is much lesser than the r coefficient of 0.38 for the scatter plot with all transactions. This means that the freehold properties actually perform worse than leasehold properties in D5 and might not actually worth the premium.

Also, how about apartments of various sizes? How do they perform against each other?

Apartments of all sizes has enjoy increment in $psf over the past 3 years, with apartments lesser than 500sqft (typically studio/1 bedder) performing the best. Generally, there is not too much difference in performance between apartments of various sizes.

What you have seen above are largely data insights that we have derive using the various data science tools. But, what if we could actually use these insights to build machine learning model to attempt to predict the prices of the properties in D5 and understand if the prices the seller is asking for is reasonable? How could we do that?

We could try various different machine learning models to attempt to do so. Some examples of such machine learning models we could use are ** random forest** and

**. They are methods which we could generally use to apply regression techniques to attempt to construct a linear relationship between price and various other variables (in this case, it will be project name, date of sales, size of flat etc). What we ultimately try to construct is a predictive model which allows us to have the highest confidence in prediction by attempting to reducing as much prediction errors as possible (think about**

__linear regression__**Mean Absolute Error**and

**Root Mean Squared Error**)

If you are already feeling confused at this point of time, don't be as these information are highly technical in nature. You may read up more about them if you want to. Otherwise, I believe the information above in the box plots and scatter plots are more than enough for you to better understand the property prices in D5. I will also attempt to explain or illustrate more of this in a separate post in the future.

Running through all 4702 transactions through several machine learning models, I eventually achieve a model which provides me with suitable evaluation results (MAE of 77356, RMSE of 123800 and R2 of 0.956).

I then now try to put this machine learning model to practice and use it to determine what should be a reasonable price for the following property.

Project: The Trilinq

Area: 753 sqft

Floor level: Low Floor (assume to be 01 to 05)

Running through the machine learning model which I have created, the price I have obtained is __$851,129__ which is much lesser than the asking price of $1,250,000. I also noticed the $psf ($1660) asked for this property is also much higher than the average $psf ($1293.7) for the The Trilinq. This might then suggest that there is some room for price negotiation here. But of course, more investigation will also be needed to look at other factors beyond these parameters.

Of course, the above example is just a glimpse of what is achievable as you could actually use it to determine a lot more property prices in the region. In the future, I will also consider uploading this machine learning model online so you could actually use it to determine/predict property prices based on this model. But that's a story for another day.

Now, with these data in mind, go be a data science investor!

*Psst.. If you like what you read, please scroll down and subscribe for regular updates!*

## Comments