June 2011

Don Quijote — Word Statistics

June 4, 2011 | Mathematical Poetics

Using the Gutenberg Project’s free text of Don Quijote + Unix for Poets, here are the most used (non-short) words in Miguel de Cervantes’ famous work: 2167 Quijote 2145 Sancho 1331 porque 1053 respondió 1027 había  900 merced  813 vuestra  79... [Read more...]

Using R for Stata to CSV Conversion

June 3, 2011 | Tony

I recently found myself in the unpleasant situation of needing to read a Stata .dta file, but not having Stata readily available to me. Normally, I’d fire up a text editor and deconstruct the file, except Stata saves its data in a proprietary Binary format, meaning it garbles some ... [Read more...]

Example 8.39: calculating Cramer’s V

June 3, 2011 | Ken Kleinman

Cramer's V is a measure of association for nominal variables. Effectively it is the Pearson chi-square statistic rescaled to have values between 0 and 1, as follows:V = sqrt(X^2 / [nobs * (min(ncols, nrows) - 1)])where X^2 is the Pearson chi-square, n...
[Read more...]

The residuals of crime

June 3, 2011 | David Smith

Real-estate search website Trulia has a new tool to help you in your choice of a new home: crime maps. With local police forces being much better about sharing data crime maps are nothing new, but Trulia takes it to the next level with a slick user interface for navigating ... [Read more...]

Always learn and never know

June 3, 2011 | infominer

I have been using R for about two years, with no previous coding background. So, I feel like the title says, “always learn and never know”. This time, I decided to use R to study a simple, non-statistical problem that came up some time ago. Suppose the exponential function 2^x ... [Read more...]

A Quantstrat to Build On

June 2, 2011 | klr

THIS IS NOT INVESTMENT ADVICE.  PLEASE DO NOT TRADE THIS SYSTEM AS IT CAN LOSE SIGNIFICANT AMOUNTS OF MONEY.  YOU ARE RESPONSIBLE FOR YOUR OWN GAINS AND LOSSES. Some R finance powerhouses have been banging away on the quantstrat package for q...
[Read more...]

Highlights from R/Finance 2011 presentations

June 2, 2011 | David Smith

Patrick Burns offers his selections from the presentations at the R/Finance 2011 conference. Check out his post for overviews of some great presentations (and truly, there's some awesome content available to download). I'll add another of my favourites: Bryan Lewis's presentation of his interface from R to the betfair betting ... [Read more...]

Australians and Americans, 10 years after 9/11

June 2, 2011 | jackman

With Lynn Vavreck at UCLA, I ran parallel public opinion surveys in Australia and the United States, measuring attitudes on security, the fight against terrorism, the wars in Afghanistan etc, some 10 years after the 9/11 attacks. Full report here (gene... [Read more...]

Sweave diagram, following Knuth’s original

June 2, 2011 | BioStatMatt

In preparation for a talk, I updated Knuth's original diagram in Donald E. Knuth. Literate programming. The Computer Journal, 27(2):97–111, May 1984. The new diagram is Sweave specific. Click the Sweave diagram for a PDF version, or right-click and select 'save image as' for the PNG version. Permission is granted for any ... [Read more...]

Selections from the R/Finance conference

June 2, 2011 | Pat

The R/Finance conference happened in Chicago at the end of April.  If, like me, you weren’t there, you can still benefit from it because slides from many of the talks are now online. Here is a quick synopsis (in chronological order) of some of the talks I found ...
[Read more...]

Annual Returns by State of the US Economy

June 1, 2011 | klr

Sometimes it is fun to just look at annual returns, especially as the financial world has shifted its focus to microseconds in a world of inconceivable macro imbalances.  St. Louis Fed (USREC) offers a binary state of the economy with 1=recession ...
[Read more...]

Kaggle Competition Walkthrough: Wrapup

June 1, 2011 | Zach Mayer

The Kaggle Don't Overfit competition is over, and I took 11th place! Additionally, I tied with tks for contributing the most to the forum, so thanks to everyone who voted for me! I voted for tks, and I'm very happy to share the prize with him, as most...
[Read more...]

R in a nutshell

June 1, 2011 | Gregor

I got this book as a reference for my work with R and do like it. Just after browsing the chapters I already found some useful hints about loading and manipulating data, e.g., loading of fixed-width data files! [Read more...]

Day #54 Major bugfix

June 1, 2011 | Stageverloop Kris » R-En

It seems that Rserve works in a 1 byte charactersystem. This was giving us strange results. When I read in data from KNIME with strange characters like µ the errors began. Every time I used the character “µ”, my output in Rserve would be:... [Read more...]

New version of analogue (0.7-0)

June 1, 2011 | ucfagls

Last week I pushed an update of my analogue package to CRAN. The last release (0.6-23) was on CRAN sometime in Mar 2010 so an update was well overdue. This (0.7-0) is a major update to analogue containing lots of … Continue reading → [Read more...]
1 9 10 11 12

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)