Posts Tagged ‘ R Language ’

Yet another inferno

November 26, 2010
By
Yet another inferno

Many from the R world will know The R Inferno. Abstract: If you are using R and you think you’re in hell, this is a map for you. A newly minted inferno is The 9 circles of scientific hell. Most amusing to me is Circle 4: p-value fishing, the punishment of which is brilliant. As … Continue reading...

Read more »

Were stock returns really better in 2007 than 2008?

November 22, 2010
By
Were stock returns really better in 2007 than 2008?

We know that the S&P 500 was up a little in 2007 and down a lot in 2008.  So on the surface the question seems really stupid.  But randomness played a part.  Let’s have a go at deciding how much of a part. Figure 1: Comparison of 2007 and 2008 for the S&P 500. Statistical … Continue reading...

Read more »

R is a name you need to know

November 11, 2010
By
R is a name you need to know

As if that is news to some of you. Forbes has a Mean Business blog post by Steve McNally titled “Names You Need to Know in 2011: R Data Analysis Software”. The post includes several links to why R is wonderful. It also includes a pretty — but seemingly useless — statistical graph.  Correct me … Continue reading...

Read more »

The ARORA guessing game

November 9, 2010
By
The ARORA guessing game

The game ARORA (A random or real array) is a website that gives you two time series at a time. Your job is to guess which series is real market data and which is permuted data.  It’s fun — try it. With some practice you will probably be able to guess which is which well … Continue reading...

Read more »

How to Start Using (pgf)Sweave in LyX in One Minute

October 30, 2010
By

regor Gorjanc published an interesting article “Using Sweave with LyX” in R News in 2008, which (I believe) makes it much easier to use Sweave. I use command-line tools a lot every day, but I am still “GUI-addicted”. (I don’t want to comment more about Microsoft Word here.) LyX is a somewhat WYSIWYG tool based

Read more »

Ideas for World Statistics Day

October 19, 2010
By
Ideas for World Statistics Day

World Statistics Day is 2010 October 20.  If you work with data (or you should), then you are a statistician and this is a day for you. Try the Monte Hall problem on your mother. Start reading Bad Science.  I mean the book, but here’s the blog. Take a step towards breaking your spreadsheet addiction … Continue reading...

Read more »

American TV does cointegration

October 18, 2010
By
American TV does cointegration

Fringe provides an excellent example of cointegration.  This is a television show in which there are two adjacent universes.  The universes are almost alike but not exactly. Now, everyone knows that history is chaotic.  If a butterfly does an extra flap of its wings, then that difference spreads out to change subsequent events everywhere.  But … Continue reading...

Read more »

On the Gory Loops in R

October 17, 2010
By

his blog post is mainly for Stat 579 students on the homework for week 7, since I received too many “gory” loops in the homework submissions and I think it would help a bit to write my thoughts on R loops for beginners. The immortal motto for newbies in programming is: If you want to

Read more »

A tale of two returns

October 4, 2010
By
A tale of two returns

It was the best of times, it was the worst of times. As you may have guessed, this is a mashup of a novel by Charles Dickens and an explanation of financial returns. The key plot element of A Tale of Two Cities is that there are two men, Charles Darnay and Sydney Carton, who … Continue reading...

Read more »

Physical economy v social economy

September 17, 2010
By
Physical economy v social economy

There’s a hole in the bucket of traditional economics. Homo socialus seems to be on the rise, and homo economicus is getting harder to find. Vulcanism has become evident in the R community over the last several days.  One of the visible eruptions has been over money.  This resulted in a blog post by Tal … Continue reading...

Read more »