2011

Backtesting Part 4: random strategies

October 21, 2011 | Zach Mayer

Note: This post is NOT financial advice!  This is just a fun way to explore some of the capabilities R has for importing and manipulating data.   In part 2, we found that our 200-day high, hold 100 days strategy yielded average annual return... [Read more...]

Volume by Price charts with R – first attempt

October 21, 2011 | enguyen

I stumbled upon this chart in the R Graph Gallery, which got me thinking someone could come up with a Volume by Price chart using R. Such charts can be useful to determine support and resistance levels, as they illustrate amount of volume for different price ranges. Below is my ... [Read more...]

Generating sets of permutations

October 21, 2011 | ucfagls

In previous posts I discussed how to generate a single permutation from a fully-randomised or restricted permutation design using shuffle(). Here I want to briefly mention the shuffleSet() function and illustrate it’s usage. Every time you call shuffle() it has to interpret the … Continue reading → [Read more...]

le Monde puzzle [#745]

October 20, 2011 | xi'an

The puzzle in Le Monde this weekend is not that clear (for a change!), so I may be confused in the following exposition: Three card players are betting with a certain (and different) number of chips each, between 4 and 9. After each game, the looser doubles the number of chips of ... [Read more...]

Since My Last Trip to Disney

October 20, 2011 | klr

My family is off to DisneyWorld for a week, so there will not be any posts while I am there. However, I thought it would be interesting to see how Disney stock has done since my last trip September 2010.Maybe since Disney has done so poorly, the crowd...
[Read more...]

Spatial correlation in designed experiments

October 20, 2011 | Luis

Last Wednesday I had a meeting with the folks of the New Zealand Drylands Forest Initiative in Blenheim. In addition to sitting in a conference room and having nice sandwiches we went to visit one of our progeny trials at … Continue reading → [Read more...]

Shipping Mix

October 20, 2011 | john.nelson

With a fresh pile of historical global shipping data, we came back to the flow visualizations that illustrated tangible supply lines that facilitate global trade.  This time we've isolated two types of shipping vessels, cargo and tanker, in order ...
[Read more...]

Queueing up in R, continued

October 20, 2011 | Matt Asher

Shown above is a queueing simulation. Each diamond represents a person. The vertical line up is the queue; at the bottom are 5 slots where the people are attended. The size of each diamond is proportional to the log of the time it will take them to be attended. Color is ... [Read more...]

postdoctoral positions in Paris

October 20, 2011 | xi'an

There is a call for postdoctoral positions supported by the Paris Mathematical Sciences Foundation. The deadline is December 13 and the on-line application is available. If you are interested in working with me on Bayesian statistics  (model choice, time series model) or computational methods (SMC, MCMC, ABC, &c.) thru this call, ... [Read more...]

Does the S&P 500 exhibit seasonality through the year?

October 20, 2011 | Pat

Are there times of the year when returns are better or worse? Abnormal Returns prompted this question with “SAD and the Halloween indicator” in which it is claimed that the US market tends to outperform from about Halloween until April. Data The data consisted of 15,548 daily returns of the S&... [Read more...]

Confidence interval diagram in R

October 19, 2011 | heuristicandrew

This code shows how to easily plot a beautiful confidence interval diagram in R. First, let’s input the raw data. We’ll be making two confidence intervals for two samples of 10. In case you curious, the data represents samples from … Continue reading → [Read more...]

R. I. P. EMA

October 19, 2011 | The Average Investor

That’s right, I am moving away from exponential moving averages. Originally, I decided to use them somewhat arbitrary, probably because they tend to swing faster. Last night, after spending two and half hours debugging an issue which yet again turned out to be a particular property of these averages, ... [Read more...]

the Wang-Landau algorithm reaches the flat histogram in finite time

October 19, 2011 | xi'an

Pierre Jacob and Robin Ryder (from Paris-Dauphine, CREST, and Statisfaction) have just arXived (and submitted to the Annals of Applied Probability) a neat result on the Wang-Landau algorithm. (This algorithm, which modifies the target in a sort of reweighted partioned sampling to achieve faster convergence, has always been perplexing to ... [Read more...]

Web-friendly visualizations in R

October 19, 2011 | andrew

Aleks points me to this new tool from Wojciech Gryc. Right now I save my graphs as pdfs or pngs and then upload them to put them on the web. I expect I’ll still be doing this for awhile—I like having full control of what my graphs look ... [Read more...]

The R-Files: Paul Teetor

October 19, 2011 | David Smith

"The R-Files" is an occasional series from Revolution Analytics, where we profile prominent members of the R Community. Name: Paul Teetor Profession: Quantitative developer (freelance) Nationality: American Years Using R: 7 Known for: Author of R Cookbook (O’Reilly Media, 2011) An active member of the R community, Paul Teetor is a ... [Read more...]
1 30 31 32 33 34 143

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)