Much has been said about the dire shortage of Data Scientists looming on the horizon. With the spectre of Big …Continue reading »

R news and tutorials contributed by (552) R bloggers

In their paper on GARCH model comparison, Hansen and Lunde (2005) present evidence that among 330 different models, and using daily data on the DM/$ rate and IBM stock returns, no model does significantly better at predicting volatility (based on a realized measure) than the GARCH(1,1) model, for an out of sample period of about

I have been conducting several simulations that use a covariance matrix. I needed to expand the code that I found in the psych package to have more than 2 latent variables (the code probably allows it but I didn’t figure it out). I ran across Joreskog’s 1971 paper and realized that I could use the confirmatory factor analysis...

I have been conducting several simulations that use a covariance matrix. I needed to expand the code that I found in the psych package to have more than 2 latent variables (the code probably allows it but I didn’t figure it out). I ran across Joreskog’s 1971 paper and realized that I could use the confirmatory factor analysis...

Sometimes a minor change to your R code can make a big difference in processing time. Here is an example showing that if you're don't care about the names attribute when unlist():ing a list, specifying argument use.names=FALSE can speed up the process...

I installed org-mode seperately, since I had troubles with its default setting (similar to the problems described here). sudo apt-get install org-mode Next I download and installed ESS cd ~/.emacs.d/ wget http://ess.r-project.org/downloads/ess/ess-12.09-1.zip unzip ess-12.09-1.zip rm ess-12.09-1.zip Finally I had to … Continue reading →

This year's R/Finance conference on applied finance with R is scheduled for May 17-18 in Chicago, and promises once again to be the go-to conference for anyone using R in the finance industry. The keynote speakers have been announced, and it's a great lineup: Sanjiv Das, Professor of Finance and Chair of Finance Dept, Santa Clara University’s Leavey School...

Students in any basic statistics class are taught linear regression, which is one of the simplest forms of a statistical model. The basic idea is that a ‘response’ variable can be mathematically related to one or any number of ‘explanatory’ variables through a linear equation and a normally distributed error term. With any statistical tool,

This a brief guide to using R in collaborative, social ways. R is a powerful open-source programming language for data analysis, statistics, and visualization, but much of its power derives from a large, engaged community of users. This is an introduction to tools for engaging the community to improve your R code and collaborate with others. (Am I...

A Brief Introduction to Metaprogramming in Julia In contrast to my previous post, which described one way in which Julia allows (and expects) the programmer to write code that directly employs the atomic operations offered by computers, this post is meant to introduce newcomers to some of Julia’s higher level functions for metaprogramming. To make