November 2011

Resampling and Shrinkage : Solutions to Instability of mean-variance efficient portfolios

November 11, 2011 | systematicinvestor

Small changes in the input assumptions often lead to very different efficient portfolios constructed with mean-variance optimization. I will discuss Resampling and Covariance Shrinkage Estimator – two common techniques to make portfolios in the mean-variance efficient frontier more diversified and immune to small changes in the input assumptions. Resampling was introduced ... [Read more...]

What you wish you knew before you started a PhD

November 11, 2011 | Rob J Hyndman

I asked my research group recently what they wished they had learned before they started work on a PhD. Here are some of the responses. More mathematics. Particular topics they named included real analysis, functional analysis, measure theory, algebra, linear algebra. That would have been my response also. I still ... [Read more...]

Another look at autocorrelation in the S&P 500

November 11, 2011 | Pat

Casting doubt on the possibility of mean reversion in the S&P 500 lately. Previously A look at volatility estimates in “The mystery of volatility estimates from daily versus monthly returns” led to considering the possibility of autocorrelation in the returns.  I estimated an AR(1) model through time and added a ... [Read more...]

Surviving a binomial mixed model

November 11, 2011 | Luis

A few years ago we had this really cool idea: we had to establish a trial to understand wood quality in context. Sort of following the saying “we don’t know who discovered water, but we are sure that it wasn’t … Continue reading → [Read more...]

Plotting implicit functions in R

November 11, 2011 | Ted Hart

So in prepping for my latest manuscript on population dynamics I have been creating all the necessary figures.  One of them I considered was a 2-d surface plot of a modified Ricker equation showing the transitions from extinction stability, and stability to limit cycles.  Inconveniently though the only way to ... [Read more...]

What 5,728.986 miles look like…

November 10, 2011 | Andy

Time Series as calendar heat maps + All of my running data since April 1, 2009 = Generated by the following code: #Sample Code based on example program at: source(file = "calendarHeat.R") run [Read more...]

Managing a Local R Repository

November 10, 2011 | Jason

I will be teaching a workshop on R and LaTeX at NEAIR in just under a month. One of the issues I will encounter is a lack of Internet access. I also work with restricted data from NCES which requires the computer to be secured including no network access. As ... [Read more...]

PostGIS Quickie

November 10, 2011 | dylan

Today I needed to cut out a rectangle of geologic data from a state-wide map in an AEA coordinate system, using a bounding box from a UTM zone 10 region, with the output saved in UTM zone 10 coordinates. PostGIS makes this type of operation very simple... [Read more...]

Web Scraping Yahoo Search Page via XPath

November 10, 2011 | Tony Breyal

Seeing as I’m on a bit of an XPath kick as of late, I figured I’d continue on scraping search results but this time from Yahoo.com Rolling my own version of xpathSApply to handle NULL elements seems to have done the trick and so far it’s ... [Read more...]

Changing world, Changing JGB term structure

November 10, 2011 | teramonagi

Writing the article "How much does "Beta" change depending on time?", I learned how to create an animation by using R language. Then, I would like to continue do that in this article.In this article, I visualize time series of JGB term struct... [Read more...]

In case you missed it: October Roundup

November 10, 2011 | David Smith

In case you missed them, here are some articles from October of particular interest to R users. The creator of the ggplot2 package, Hadley Wickham, shares details on some forthcoming big-data graphics functions (based on research sponsored by Revolution Analytics). A list of several dozen free data sources that can ... [Read more...]

Code optimization, an Rcpp solution

November 10, 2011 | romain francois

Tony Breyal woke up an old code optimization problem in this blog post, so I figured it was time for an Rcpp based solution This solutions moves down Henrik Bengtsson's idea (which was at the basis of attempt 10) down to C++. The idea was to call sprintf less than the ... [Read more...]

Expected Salary by Major

November 10, 2011 | rafalab

In this recent editorial about the Occupy Wall Street movement, Richard Kim profiles a protestor that despite having a master’s degree can’t find a job. This particular protestor quit his job as a school teacher three years ago and took out a $... [Read more...]

Facebook Graph API Explorer with R

November 10, 2011 | Tony Breyal

I wanted to play around with the Facebook Graph API  using the Graph API Explorer page as a coding exercise. This facility allows one to use the API with a temporary authorisation token. Now, I don’t know how to make an R package for the proper API where you ... [Read more...]

Bridge and Torch problem in R

November 10, 2011 | jedifran

A couple months ago I came across the bridge and torch problem at a careers fair in Oxford. A young tech company called QuBit used it as a brain teaser challenge for would be software engineers to solve before submitting … Continue reading → [Read more...]
1 7 8 9 10 11 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)