Stefan Angrick

Ten years ago, the Federal Reserve, the central bank of the United States, launched the first of several rounds of Quantitative Easing in response to the Global Financial Crisis, which drastically increased the size of its balance sheet. Since then, the Fed has been looking to roll back this expansion in an effort to “normalise” monetary policy. A good time to take a closer look.px.gif

Read more...

Mozilla's Thunderbird email client is a great piece of software with a great community behind it. One of the things that did not work well for me out of the box, though, is the small default font size in Thunderbird, which creates problems on high-res “Retina” displays. Here is how you adjust the defaults.px.gif

Read more...

If you frequently work with text documents created on Windows, you will most likely have come across Calibri and Cambria, the “new” default fonts on Microsoft Office since version 2007. Both fonts are TrueType typefaces, so if you have access to the original .ttf/.ttc files (e.g. from an Office license), using them on a Linux distribution is fairly straightforward. One issue that pops up often when using the original fonts, though, is bad rendering. Certain characters might appear stronger than others, which can be quite distracting. The reason is that Microsoft apparently decided to embed surprisingly bad bitmaps in their fonts. Fortunately, you can tell your system not to use embedded bitmaps. Here is how.px.gif

Read more...

A common approach to comparing financial systems across countries is by looking at the role banks play in providing the real economy with credit. The Bank for International Settlements (BIS) has great data sets on measures of credit across countries that make it very easy to do such a comparison. Plotting the share of bank credit relative to total credit across time reveals some interesting patterns.px.gif

Read more...

Bond market returns are typically analysed as time series data (where changes in yield are tracked over time) or across maturities (where interest rates on different contract lengths are chained together to produce the yield curve for any given date). For the US government bond market, the St. Louis Fed's FRED database provides data for a whole range of US Treasury Bonds and US Treasury Bills, allowing you to do either of these exercises. Sometimes, however, it can be useful to get a sense of how the shape of the yield curve evolves over time in a 3D graph. Here is how to create one using plotly in R.px.gif

Read more...

The AsianBondsOnline portal of the ASEAN+3 Asian Bond Markets Initiative (ABMI) provides a wealth of information on Asian bond markets, including market size, currency of denomination, pricing information, and liquidity statistics, among others. I need to get a quick overview of the market every few months, so I put together a little R script to do the job for me. The script gets the latest data on local currency bonds and foreign currency bonds from AsianBondsOnline, aggregates the data for government bonds and corporate bonds and outputs the result as static and interactive graphs.px.gif

Read more...

It was time to update to the latest Ubuntu LTS (Long Term Support) release again recently, and it turned out that setting up Fcitx wasn’t quite as simple this time around. Here is what I had to do to get it to work.px.gif

Read more...

I have recently been doing a lot of work in R, a statistical programming language, and have started accumulating a small collection of functions that I regularly use. One of the tools I have particularly come to rely on is this function to obtain data from the United Nation's Comtrade database, a great source for country-to-country trade statistics. Since there seemed to be no R package that provides access to their new API (which is still in beta), I simply wrote a function for myself based on the sample code on their homepage and kept it with my personal files. Motivated by posts like this one, however, I decided to put the code into an R package and share it here for others to use.px.gif

Read more...

If you have recently updated your Android device to the latest Android version 5 “Lollipop”, you may have noticed that the “Gallery” app has been replaced by Google's brand-new “Photos” app which depends on Google Plus. If you don't like the idea of linking your photos to Google's social network, or if you have disabled/uninstalled the Google Plus app altogether, there is a way to get back the familiar Gallery app without compiling it yourself: by pulling it from a CyanogenMod rom image. Here is how.px.gif

Read more...

After recently upgrading to Ubuntu 14.04 Trusty Tahr (LTS), I decided to give Fcitx, the default input method framework on Ubuntu's Chinese sister project Ubuntu Kylin, a try and I was pleasantly surprised. Not only is Fcitx rock-solid and actively developed, it also offers input methods for Japanese, Korean, Vietnamese and a bunch of other languages in addition to the default Chinese input methods. Here is how you get it to work on Ubuntu 14.04.px.gif

Read more...