Wednesday, December 28, 2016

Are there actually more notable deaths in 2016?


I was curious to see whether 2016 was really as bad as it felt in terms of notable deaths and created the following table.

Data was pulled from the Births and Deaths sections of the Wikipedia year summaries just so you're aware of it's obvious limitations. Basically, if a birth or death was mentioned on the year summary, I assumed it was notable.


In looking at the first third, we see that average age of notable death is going down which seems in line with the increasing life expectancy over the years.

Notable deaths were pretty spare in the early half of the 1900s, but one has to wonder if this just a function of how sparse information was for the period and how difficult notability would be to garner at that point in time.

While the latter half of the century had more deaths, by the early 2000s, things seem to decline.

With that decline in mind,  that's probably why this year has seemed so terrible in recent memory



Looking only at 2000 - 2016, notably deaths seem to be drastically increasing. 

Something that might stand out to you is 2011s drastically low average age of death. A close up of the 2000 - 2016 period further highlight the tragedy of September 2011.


On September 7, 2011 a plane carrying a Russian Hockey team crashed killing all players on board. 

The final section, "Notable births", seems to generally increase over time, possibly again due to the easy of gaining notability through quicker spread of information. Unsurprisingly, there are very few notable entries for those born after 2000 due to the fact that these individuals have yet to have live enough of a life to do anything notable. 

Those born in the 90s are starting to turn up on the wikipedia year summaries, but there is a strangely quiet space in 1994.


Other interesting things to note are the general trend across the months for death and age. 

The general idea that winter months tend to be harsh on the old seems to echo in the data with January and February showing higher deaths as well as higher average age of death for those months.

So how unusual was 2016?

I decided to restrict the look back to what I would consider people's recent memory. The early half of the 20th century hardly seemed appropriate.

From a simple chart, 2016 doesn't seem too far out there, particularly standing next to 1979. 
It is still almost 2 standard deviations away from the mean for the period though. 

When we further restrict the window to exclude the tumultuous 70s and 80s, it becomes even more unusual. 

Finally, for the 2000s, it is incredibly unusual.


Wednesday, April 20, 2016

How many unmarried men are there of your selected age, income, and height criteria?



I combined income and height distributions to the marital status data from the last post to create a filter to estimate how many unmarried men exist in Hong Kong that satisfy age, income, and height criteria. Please don't rip into me too hard, I don't by any means assume this is an actual, exhaustive list of filters a woman would use for evaluating men. It's just for fun. 

How to Use:

Due to how census data brackets ages and income, you have to select from the drop down menu the minimum and maximums for age and monthly income.

I pretended height was approximately normally distributed and just used some mean and standard deviation online - you can enter any number for this field.

Anyway, the bottom result is the joint probability of height and income filters applied to the subset of single men in the age range. So it's:


(# of single men in age range) * (% of people in income range) * (% of men in height range)

=

Number of single males in HK that satisfy the specified age, income, and height criteria





Big caveat: there's a lot of reason to believe that some of this data is not independent. Higher salaries will probably correlate with higher ages, even height is said to correlate with higher income. I'm not really going to delve into those depths. I treated them as independent. Again, it's just for fun.


Also, I decide to throw in the figure for single women of an age less than the maximum male age stated (and above the age of 20) just for reference. Again, I know height, income, and the man being older aren't set in stone rules for dating, but they are at least joked about as conditions. 

Monday, April 18, 2016

All the single ladies more than all the single guys?

There was a funny exchange that went on last week regarding an article written by Alan Lee on EJ Insight titled “Hey sisters, get real or die alone”. It drew a few responses due to its general sexist tone, most notably by an article by Laurel Chor at HK Coconuts. While the original article from EJ Insight seems have been taken down, the HK coconuts page preserved much of the hilarity, particularly with a few snapshots of FB comments in which the Alan tries to defend his original article along with himself.


Anyway, I’m not here to take a side on that little drama, I’m here to comment on some numbers brought up by Alan’s original article:
“proportion of women to men in the city was at 1000:856 last year, compared with 1000:904 in 2013.”
I gave the 2015 census data a quick check and got the following numbers:

Male: 3.370,100
Female: 3,954,200

Or roughly, 1000:852 ðŸ‡­ðŸ‡° women to men. Seems close enough.

The thing is though, that ratio is for all of Hong Kong’s entire population, at every age range. 

The first way this skews the data is that women naturally live longer than men, thus the population at the older brackets will be weighted heavily female even though I don’t think that this segment is particularly relevant for examining the dating and marriage market.

We should probably further narrow to exclude people under 20. While 18 probably should be added to the pool, the data is cut into buckets of 5 years; I figured I definitely wanted to exclude 15 year olds from the dating pool that goes all the way up to 39.

All in all, I confined the population to be examined to be between the ages of 20 and 39 (I don’t mean to offend anyone outside this range, it’s kind of a line drawn in the sand by the original article). 


When we confine to this population, we get the following split:

Male (aged 20 – 39): 903,000
Female (aged 20 – 39): 1,195,400

Ouch. That looks even worse. That’s a female to male ratio of 1000:756 

Here’s where it turns around though.

That’s just the raw population counts, if we look at the marriage numbers for that same range, we have:

Married Males (aged 20 – 39): 292,400
Married Females (aged 20 – 39): 543,400

A lot of females have been taken out of the population. This yields an implied single count of:

Single Males (aged 20 – 39): 611,100
Single Females (aged 20 – 39): 652,000

1,000:937 single females to single males. Not as bad right? That’s still 40,900 females hanging though. Will it get worse? Let's try and guess...

New singles in the 20 – 39 range don’t often come out of the blue, a lot of them come from… people in the 10-19 age bracket. What does that look like? Well, it’s a lot more Male heavy. 

(This next part is a caution to guys in their late 20s and early 30s thinking they will wait 5 years and catch a young 20 something girl.)

The 10 – 19 age range is:

Male: 311,300
Female:  294,000

While not a terribly earth shattering shift on it’s own, sliding the population table 10 years (ignoring immigration) and taking into account very negligible mortality differences at this point, we get this ratio:

Year 2025: (20 – 39 year old) Female to Male Ratio – 1,000:940

Just as a reminder:

Year 2015: (20 – 39 year old) Female to Male Ratio – 1,000:756

2025 is looking way better for the females. What’s more tilting though is that if we keep the current percentage of singles for each gender-age category constant and reapply it to this new aged population in 2025 (remembering that large proportions of men stay single in this age range), we get the following ratio:

Year 2026 [20 – 39 years old, Unmarried] Male to Female Ratio 
...
...
...
...



1,000 Female : Male 1,160 



Not to detract from that punch line, but if men really are the "fine wines" that remain eligible until the 40s. I really should be including the single men at the 40-49 bracket in this, further heightening competition amongst the men for limited women.

Despite all that though, can anyone really get complacent with those numbers? Men in this decade or women in the next? Our individual lives aren't statistics. It's not like dating is ranking and matching the entire population of singles until you run out of one gender. You don't get a date as the shittiest of 600,000 just because the other gender has 600,001.


Wednesday, October 7, 2015

CKI and PAH merger

CKI and PAH Merger Analysis:

Summary: There doesn't seem to be much incentive for independent shareholders in PAH to take the proposed deal. With only a 10% of the shareholders needed to block the deal, it seems like a tough squeeze.

Key Deal Points:

CKI offers 1.04 shares for independent* PAH Share.
Following the merger, PAH will cease to exist.
A special dividend will be paid of HKD 5.00 / new CKI share.

While there are other more fungible arguments to be made about why this could be a good deal for PAH (things like scale, applying greater management expertise, exposure to more diversified operations...), this analysis will mainly look at the numerical incentive for such a merger.

Analysis:

Evaluating the Exchange Ratio

At first glance, There doesn't seem to be much by way of incentive in terms of the 1.04 exchange ratio. At the time of writing, the price ratio of PAH to CKI is 1.055, an exchange at these terms net a 1.4% loss for PAH shareholders.

Taking into account CKI's current ownership of about 40% that will not be subject to the exchange ratio, the deal actually looks less bad for independent shareholders due to the fact that CKI ownership PAH is somewhat "diluted" because they do not scale their existing stake up 1.04 times.

This results in the net loss being 0.91% for independent PAH shareholders.

Below is a table denoting the value of the deal (excluding the value of the dividend, we'll get to that later) for each of the parties involved. 1.04 is about as flat a trade as it could get. There was an analyst that voiced that at least an exchange ratio of 1.21 would be required to tempt PAH, we can see that equates to a premium of about 10%.


Evaluating the Dividend
The numerical substance of the deal probably lies PAH's massive and seemingly underutilized cash balance. There are definitely companies in my portfolio that frustrate me when they over-cautiously accumulate cash, so I can see why CKI shareholders of PAH might want it paid out in the form of a dividend. Additionally, I can also see why some PAH shareholders might like the deal purely on the basis of the dividend. 

That being said, here are the numbers. I've made a pretty big assumption in that the Price / Book Value of the merged CKI stays the same before and after the dividend. The real answer probably that it gets a little higher to keep the price a little more afloat despite the reduction in book value given the decrease in cash. Where along the spectrum P/B ends up, its quite unlikely that it will be lower after the dividend. 

Anyway, using constant P/B as a limiting assumption, here is a table of how PAH value is affected by various sizes of dividend and various exchange ratios.


What do we see here? 

1. The higher the exchange ratio the better value is for PAH shareholders. No brainer.
2. The higher the dividend payout, the worse things get for PAH shareholders. Why would that be? 
Well, because of our assumption of P/B being constant (P/B = 1.54), money in the company was worth more than money out. There's also the fact that some of that more of that money would be distributed to CKI parties that ordinarily wouldn't have had a claim of that share of the cash (CKI other than the 39% that have a stake in PAH)

You might be thinking, well, that's a lot of money now that wasn't doing anything. What if there are projects CKI wanted to do but couldn't finance. What if there was a high rate of return PAH independents could get with the proceeds of the dividend. Just to indulge, here is another sensitivity of value for PAH if they had something better to do with the PAH dividend cash other than let it sit in PAH.


From the above, we can see that the value to PAH shareholders is pretty incentive from getting a 0% premium on cash above PAH to 14%. (for this sensitivity I fixed exchange ratio and dividend at 1.04 and HKD 5.00 /share)

The different columns denote share prices one year from the dividend date. Things may seem rosy at 65 bucks, but note, the post-dividend price keeping P/B constant is only HKD 61.16

Final Table:

CKI might have a chance to sweeten the deal for PAH. I don't think they can do it by increasing the dividend payout. It just means that more of that PAH cash is spread about a base that now includes more of CKI. It is unlikely that PAH shareholders get a good enough return on cash that cash now could present more value than cash in the company. Value at this point seems dependent on:

1. Exchange ratio: whereas higher is obviously better for PAH shareholders.
2. Share price growth: The proposal for the merger touts a lot of value from the merger of the companies, this value hopefully translates into a higher share price for the merged company in the future.

Below is a table of PAH value for various levels of the above two variables:


The red and green formatting of various cells in the above table denote whether or not the change in value for PAH is greater or less than the absolute change in value for the new merged CKI. 

We see that for the current given exchange ratio of 1.04, if the new merged CO does perform well, PAH shareholders will not fare as well as CKI's original shareholders. They both could potentially gain, it's just not very equally attributed. So even though the focus of this analysis was to evaluate from PAH independent shareholder's point of view, this table should show why the deal is generally more favorable for CKI's original shareholders.

This isn't to say that PAH absolutely shouldn't take the deal. It could be that their stock will independently flounder without the guidance and CKI management, indeed this is a lot of what CKI touts in its proposal, that being said, it wasn't the most tempting of carrots for CKI to dangle. 

Conclusion:

It's not a great deal for PAH independent shareholders. PAH should only take it at these terms (div HKD 5.00 / share, exchange ratio 1.04) if:

1. They believe PAH will be unable to do well without the aid of CKI's management and governance resources.

2. They have an absurdly high cost of capital and could do with the dividend (not really serious about this one but I guess it could happen).



* Approximately 39% of PAH is owned by CKI related parties leaving 61% independently owned. This 61% potentially includes shareholders of both companies though.

Sunday, July 26, 2015

Analysis of Cross-Harbour Holdings (0032.hk)

Full Disclosure: As a result of this analysis, I am long Cross-Harbour Holdings (0032.hk)

Target Price: HKD 16.53
Current Price: HKD 9.80


Profile:
Holding Company focused on transport Infrastructures.

Notable Holdings on Balance Sheet:
Cash and Cash Equivalents:  1,980,000,000
50% of Western Harbour Tunnel Company (WHTC): 1,488,927,000
39.5% of Tate's Cairn Tunnel Company Ltd (TCTCL): 413,681,000
Current Liabilities (-254,605,000)
Non-Current Liabilities (-230,583,000)
[Other Assets]...                                         
Net Asset Value = HKD 4,233,673,000

Outstanding Shares = 372.68 million
Per Share Book Value = HKD 11.36
Current Share Price = HKD 9.80

























While it already seems a decent price compared to book value, I would like to zoom in on its major holding, WHTC.

Cross Harbour Holdings has a 50% stake in WHTC which is valued at about HKD 3 billion thus yielding the book value in Cross-Harbour Holdings statement of about 1.5 billion HKD. WHTC has the operating rights to the Western Tunnel until 2023.


Due to accounting differences as well as reporting cutoff differences, Western Harbor Tunnel Crossing reports its own equity value at a higher HKD 3.5 billion, this value largely derived from its "Intangible Operating Right" of the cross harbour toll road until 2023. This line item has been declining steadily as the operating right nears expiration.




Whether you use the HKD 3 billion valuation as shown on CHH's books or the HKD 3.5 billion on WHTC's books, NEITHER seem in line with the cash flows.

After Tax Profit for WHTC has been increasing steadily from 2006 to 2014.

YearAfter Tax Profit (HKD '000)
2006299,083
2007272,756
2008352,365
2009403,899
2010458,158
2011536,901
2012681,444
2013731,673
2014826,925

Even at the conservative assumption that this growth stops and stays flat at this year's figure of HKD 826 million for the remainder of the lease to 2023. At a 7% discount rate, the NPV of that profit yields a discounted cash flow value for the company of HKD 5.4 billion, a difference of HKD 2.4 billion above Cross-Harbours current book valuation. If we were to attribute 50% of that added value (as a result of Cross-Harbour's 50% stake) to the 372 million shares of CHH, we get a new equity value of HKD 14.59 per share, a 50% increase on today's price of HKD 9.80. Better fit extrapolations of net operating profit after tax yield an even higher value.

Sanity Check: Where does that low book valuation of HKD 3 / 3.5 billion come from if the cash flows are so good as to justify HKD 5.4 billion + NPV?

To me, it looks like that book value is the cost of constructing the tunnel less depreciation. Looking back at how "Intangible Operating Right" of the tunnel has changed over the years on the balance sheet. It has decreased at a fairly predictable rate: no not due to the fact that there are fewer cash flows left on the lease, but according to a depreciation of the construction cost. If we extrapolate data from 2006 - 2014 back to the 1994 project start date, we see that it pretty much gives us back the $7billion dollar cost of construction.





In summary, I think Cross-Harbour Holdings is a great value buy:
a) It is extremely cheap compared to book value.
b) Even book value seems understated due to the booking of the value of its major asset, the Western Harbour Tunnel Company (which unfortunately is private otherwise I would buy that directly).
c) I used a logarithmic curve to project NOPAT for WHTC which seemed to fit data better, and using  that and a 7% discount rate, I received an implied per share value for Cross-Harbour Holdings of HKD 15.43 dollars compared to its current price of HKD 9.80.
d) WHTC has been and should be paying out a large part of its profit as dividends as its lease ends. As this is a cash flow based valuation, this is a good thing to see.
e) as the main component of value in question is a lease with only 8 years left, it's less sensitive to large errors in cash flow projection in comparison to not finite entities with very questionable terminal value estimation.

Primary Risks:
- Cross-Harbour Holdings has been a fairly illiquid stock with its average daily volume for the last 10 days amounting to 126,000 shares.  It could be hard to get in and out of because of this. Thus I advise getting into it only if you can hold for the cash flows as a safety net.
-The actual distributions of the cash as dividends has been pretty slow relative to how much the company has been accumulating. (Take note of the large cash / cash equivalents balance on the balance sheet)
-It is quite high relative to historical prices.


Other Notes:
Additionally, there are studies about the upcoming Central - Wanchai bypass roads that will greatly increase the capacities of the tunnel which were previously constrained by their output capacity on the island side. 

General developments on the west side of Hong Kong Island as well as Kowloon also could be a benefit to the demand for the tunnel.

Price Per Share of Cross-Harbour Holdings using various models of projecting WHTC's NOPAT growth




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.