Blog Archives

Performance of Trend Factor in Chinese market

Performance of Trend Factor in Chinese market

Han, Y.F., and Zhou, G.F. have an interesting working paper on the performance of a trend factor they proposed:QuotationIn this paper, we propose a trend factor to capture cross-section stock price trends. In contrast to the popular momentum factor co...

Read more »

A simple strategy between A-shares and H-shares

A simple strategy between A-shares and H-shares

A similar article was posted at the sub-personal blog before and I paste it here in case someone is interested.At the moment there are 84 firms listed at both A (Shanghai and Shenzhen) and H (Hongkong) stock markets, according to the law of one price,...

Read more »

R Optimization Test

R Optimization Test

I have tested several R optimization functions before: nlm, optim(Nelder-Mead), optim(BFGS), optim(SANN), nlminb, optim (L-BFGS-B) for a eight-parameter Vasicek interest rate model, overall I find that for my setting, nlminb is the best and all R func...

Read more »

Interview: Patrick Burns Quantitative Finance in R

Interview: Patrick Burns Quantitative Finance in R

Dr. Patrick Burns is the founder of Burns Statistics, providing consulting and bespoke software specializing in quantitative finance, programming in the S language, and optimization via genetic algorithms and simulated annealing. Patrick has written m...

Read more »

Week in Review 021211 R Language

Week in Review 021211 R Language

Happy last month of 2011. I will fly to Sydney to present a paper at the 24th Australasian Finance & Banking Conference on next Thursday, so we may not have a review next week. However, feel free to contact me @a_biao for sharing any useful post. This week's review is highly concentrated on

Read more »

Necessity to Explain CDS with A Regime Switching Model

Necessity to Explain CDS with A Regime Switching Model

Examining the determinants of credit default swap (CDS) spreads is a hot topic, CDS spread has displayed siginificant regime switching behaviour since the break of credit crisis, which can be seen from the old graph in the post Credit Default Spread a...

Read more »

Using R in Excel

Got to know a very cool tool to use R in Excel named RExcel, basically it provides an integration solution such that users can get data, run command in Excel the same way as in R, which is presumably good and convenient to present results to your coll...

Read more »

Download R 2.13.0 for Windows

Some of you may hear that the new release of R 2.13.0 is out, with some Windows-specific changes to R 2.13.0:file.exists() and unlink() have more support for files > 2GB;A few more file operations will now work with >2GB files.which could help us to relieve the worry of handling large datasets in R.

Read more »

How to Vectorize Nested Loop in R?

Could any R expert here help me to vectorize my for loop? Thanks in advance for your favor. The reason I am in trouble is the variable inside my "for" function are updated after each loop, which makes me feel difficult to use lapply, sapply or whatever. Simplifed codes are listed below:for (i in 1:N) { #N could be...

Read more »

Issues of R Client Library For The Google Prediction API

December 16, 2010
By

The Google Prediction API is a black-box system for building predictive models, it provides pattern-matching and machine learning capabilities. So Google algorithms automatically creates a model from the training models given a set of training data and makes prediction under this model given a set of explanatory variables, read http://code.google.com/apis/predict/docs/getting-started.html for an overview. I am eager...

Read more »