Is Miss Stagflation coming to visit? The Misery index is the sum of inflation and unemployment rate. We would like them both to stay naturally low, and we are miserable when they are not. The index is currently floating in … Continue reading →
Is Miss Stagflation coming to visit? The Misery index is the sum of inflation and unemployment rate. We would like them both to stay naturally low, and we are miserable when they are not. The index is currently floating in … Continue reading →
When you google “Kurtosis”, you encounter many formulas to help you calculate it, talk about how this measure is used to evaluate the “peakedness” of your data, maybe some other measures to help you do so, maybe all of a … Continue reading →
For those of you who are into machine learning, here you can find a cool collection of databases to play around with your favorite algorithm. I choose one out of the available 200 and fit a logistic regression model. The idea … Continue reading →
Few weeks back I gave a talk about Backtesting trading strategies with R, got a few requests for the slides so here they are:
This is not an investment advice!! Couple of weeks back, during amst-R-dam user group talk on backtesting trading strategies using R, I mentioned the most effective style for hedge funds is relative value statistical arbitrage, I read it somewhere. After … Continue reading →
Bootstrap your way into robust inference. Wow, that was fun to write.. Introduction Say you made a simple regression, now you have your . You wish to know if it is significantly different from (say) zero. In general, people look … Continue reading →
When I was searching for data about U.S prison population, for another post, I run across eurostat, a nice source for data to play around with. I pooled some numbers, specifically homicides recorded by the police. A panel data for … Continue reading →
Spurious Regression problem dates back to Yule (1926): “Why Do We Sometimes Get Nonsense Correlations between Time-series?”. Lets see what is the problem, and how can we fix it. I am using Morgan Stanley (MS) symbol for illustration, pre-crisis time … Continue reading →
Open source is amazing! I cannot even start to imagine the amount of work invested in R, in firefox browser (Mozilla), or Rstudio IDE, all of which are used extensively around the globe, free. Not free as in: free sample … Continue reading →
A beta of a stock generally means its relation with the market, how many percent move we should expect from the stock when the market moves one percent. Market, being a somewhat vague notion is approximated here, as usual, using … Continue reading →