Sunday, June 8, 2014

Visualizing Our Time

I saw a two interesting posts on reddit that related to visualizing how an average person would end up spending their life. These gloomy, yet weirdly motivational videos inspired me to quantify and visualize my own life.

To start, there was Ze Frank’s enumeration of the days of a human life as jelly beans. Ze Frank used a jelly bean to represent each of the 28,835 days an average human is expected to have in their life. He then proceeds to scoop up jelly beans that would be used for various activities, such as work, sleeping, watching tv, etc. It was a strangely haunting video that I kind of fell in love with. It’s definitely worth a check.

Next there was this image of a grid 52 columns by 77 rows wide. Each of the columns is meant to represent a week in a year while each row is meant to represent a year. The entire grid is meant to illustrate the number of weeks an average person would have (using an average life expectancy of 77 years).

I was compelled to make my own visual representation of life. I decided that the easiest way to do it would be using Excel and conditional formatting.

I first decided to get a slightly more specific estimate of my life expectancy.  I used this calculator and got the pathetic, but unsurprising estimate of 71.54 years. I guess having a food pyramid that is accurately represented by a slice of pepperoni pizza (lots of cheese, carbs, high sodium meat, saturated fats, and no veggies) isn't the path to longevity.

So, I created my 52 x 72 (rounding up with optimism) grid of weeks in my life and proceeded to gather the information I needed to conditionally format it. Glossing over the details of the methodology, this is what I ended up with.




The grey shading at the top denotes weeks of my life that are in the past. My life progress bar is at 34.71%
Small black boxes denote significant events in my life. I couldn’t actually think of much to place in this field, so there are only two. Hopefully things get more checkered with black boxes in the future.

Light blue boxes denote significant events in other peoples life. I.e. Jan Koum founding Whatsapp, Ray Kroc buying McDonalds, JK Rowling publishing the Philosopher’s Stone…

It was meant to be something of a benchmark against other people who have accomplished significant things in their life, but the whole thing was getting a bit sad though so I just left people who started things at ages older than my own to quell any creeping feelings in adequacy. In short, there is no Mark Zuckerberg box.

To format the future cells with time that I’ll spend sleeping, working, faffing about… I have an input that looks like this:


Anyway, you can use that legend to see how my life is being spent.  One thing to note is that “hours a day vegging out” is a target, not necessarily an accurate recording. (I would love to say that I only spend 1.5 hours a weekday goofing off, but then how would I be able to come across so many awesome posts on reddit?)

The white space left is something I found interesting. Should I be able to stick to the above utilization of days, I will have a quarter of my life un-allocated that I can use for any number of things. I tried to get some estimates for how long it would take to do some things, like learn languages I am interested in, complete all the courses required for certain undergraduate degrees, and I used it to create the following body of text that appears after a user of the spreadsheet has inputted their personal parameters.



(I was hoping to share the spreadsheet, so it's formatted in such a way that anyone should be able to use the it and come up with their own outputs for their own specific input parameters. It still needs some work and documentation to make complete sense and be more user friendly though. Hopefully I'll upload that at some point.)

It’s pretty staggering that I could technically achieve all that between now and 30 in just my un-allocated time. As a reminder, this un-allocated time does not include time sleeping, working, hanging with friends, and even some goofing off. An interesting anchor is that converting those un-allocated hours into dollars (using a benchmark wage of $8, a rough shot of minimum wage) yields less than $100,000. I guess in absolute terms without any framing, $100K may seem like a lot of money to receive, but for 6 years? I don’t know. Especially because the above listed skills could potentially increase my earning power to long run compensate for that amount pretty quick (granted I was using a benchmark rate of minimum wage).

Sadly, I recognize that developing all the above listed skills would be highly unlikely likely. It seems pretty tough to allocate over 5 hours a day  to intense study.(I don’t have 6 hours every day, this is a weighted average of the limited free time on the weekday and the abundance of it on the weekend)

At the end of all this, I’m left with a weird feeling. On one hand, seeing that I’m a third of the way through life is pretty depressing. It’s also pretty sad to see so much of my remaining life allocated away to things that at face value don’t seem too exciting. On the other hand though, it’s pretty cool to see how much I can learn at the highest and most efficient utilization of my un-allocated time. It sets a goal for what the absolute highest possible learning from now till 30 could be, and turns out that list is pretty impressive; it looks like I could more than double my current skill-set -pretty amazing considering it’s taken me 24 years to get here.

After graduation I was feeling kind of glum about my chosen path and how I had spent the last four years. I wished that I had done something more to do with math or CS, but that realization came too late and I had to just sleep in the bed I had made. Sure. Loads of people talk about lifelong learning, but in my mind, whatever was learned outside of formal schooling would never be as substantial if outside the field you focused on in university.

However, with things like Coursera, OpenCourseWare, and even iTunes, that sentiment doesn't seem as true anymore. After discovering these amazing resources, tabulating the time to complete courses, and looking at how much time I actually have available through the above clock, it seems like achieving the same level of mastery that once required tertiary education is attainable well after schooling. The resources are online, I have the time to completely go through them, the only question that remains is whether or not I have the discipline to actually develop these skills. I know I can’t put in five hours a day as the above output suggested to achieve all those skills, but can I even put in 2.5 hours to achieve a half? Maybe one hour to achieve a fifth? We’ll just have to wait and see.

All in all, I’m newly encouraged that these days, the learning that occurs in the years after the age of 22 doesn't seem to have to fall so too short of the learning that occurs in the years just before it. 


Hello

Just testing out something called tableau that I could potentially use for some fun stuff.

I had a .csv of some Hong Kong Housing data for various classes of apartments (Classes range from A - E and are bucketed based on square meter size of the apartments) in various areas for the period 1986 - 2014.



Friday, May 16, 2014

Leasehold vs Freehold property

The Curious Thing

A colleague is looking to purchase property in Singapore and brought up the question of leasehold vs freehold property. I’m fairly new here so might be missing some of the details of the differences, but in summary, it seems like property here can be sold on limited leases, or perpetual ownership. Specifically, my colleague was looking at two comparable properties:
  1. 99 year leasehold beginning in 2008 (93 years left on lease before property reverts back to state)
  2. Freehold  Property – Belongs to buyer forever

All other things being equal, the freehold property should obviously command a higher price per square foot – and indeed it did:  S$840 psf. vs S$660.

That being said, I became curious with regards to the value of this premium. Was it really worth it? Singapore is a pretty hot real estate market and there is definitely value in owning property in perpetuity. The value of the leasehold would undoubtedly decay over time as the lease neared maturity. With these thoughts in mind I tried to model the cash flows that would result from investing in each type of property.

Hypothesis

For a fixed investment out, it seemed clear that there would be advantages in the leasehold for the short term. We could buy more square footage with our fixed amount at a lower cost psf, the eventual renter would be indifferent to the nature of the property tenure, and we would thus achieve a higher rental yield on capital. As we neared lease expiry though, it seemed that this yield enhancement would be offset by the decay in the home value. At some point, it would be optimal to sell the leasehold property having exhausted the overall value we could get from its lower psf price.

The Model Used

During lunch I decided to test this hypothesis out and tried to model an investment in either freehold or leasehold property.

I used pretty back on the envelope (quickest available Google searches) assumptions about costs of capital, rental yields, property growth rates, etc. For modelling the depreciation of the leasehold, I used the function :

-e-tR

t = time to expiry
R = Real rate of return

This passed a couple sanity checks such as:
1.    Nearing the end of the lease, the value of the leasehold should approach the cost of renting the property for whatever life was left on the lease.
2.    Value decay is negligible at first, but accelerates near the end. So it can't really be seen counteracting the growth in the property value until much closer to the expiry of the lease.




I modelled the cash flows off first buying each type of property, then collecting a market rent for each of the years owned, and finally selling it in year x. I then calculated the NPV of these cash flows for various values of x (within the life of the lease).

Results

While my initial instinct was correct (collecting a few years of enhanced yield through a discounted leasehold property to eventually sell it), I was surprised at how long this holding period would last before depreciation eroded value.

For this particular discount (leasehold about 20% cheaper than freehold), the NPV advantage of holding the property lasted until for 84years! (90 years into its 99 year life).

In other words, from a NPV standpoint, it was better to buy a 93-year leasehold, rent it out, and sell it in 84 years than to buy a freehold, collect rent, and sell it in the 84 years.



Adjusting assumptions of the model (property growth rate, cost of capital, rental yield) did slide the number of years that it would be beneficial to hold the leasehold property, but not by enough to mitigate our surprise. Changes that decreased the holding period include the following:

  • Increasing property growth rate
  • Decreasing rental yield
  • Decreasing Cost of Capital
  • Decreasing psf discount of leasehold to freehold 

Decreasing the discount of leasehold psf cost to freehold to 1% still yielded a surprisingly large holding period of about 42 years into a 99 year lease. 

This definitely surprised both of us. We were thinking 5 - 20 years would be the holding period range.

Anyway, I’ll eventually try and post the model so people can point out any mistakes and unrealistic assumptions – still new to this blogger thing. If I can’t, maybe I’ll just post relevant tables and assumptions. If you're looking carefully I guess you'll notice some scary big numbers on the y-axes. The annual property growth rates I'm using are pretty high at around 6%, seem in line with long run historical though.


[Note to self: It’s saved on work computer]

Thursday, May 15, 2014

No substantial plans for this blog as of yet. I've just been thinking lately about keeping some kind record of my thoughts and curiosities. Other than the fact that this blog will concern things of interest to me, I can't imagine there being any thematic undercurrent. I guess I'll try tag and bucket posts so there will be some semblance of organization. No promises though.

I don't think I'll be sharing this as of yet, it's more of a way for me to look back at my own thoughts. However, if you are someone else reading this, hope you enjoy it. I'll probably try to do a lot of amateur theorizing about subjects that I am poorly versed in, so kind and constructive criticism will definitely be welcome. 

Thanks for stopping by.

Tim