NBA, Logistic Regression, and Mean Substitution

April 19, 2011
By
NBA, Logistic Regression, and Mean Substitution

I’m currently sitting at about 32K feet above sea level on my way from Tampa International to DIA and my options … Continue reading →

Read more »

RStudio, Revolution Analytics and Deducer: A Tale of Three GUIs

April 19, 2011
By

I’m in the process of moving from SPSS to R at the moment. It’s not been the easiest of rides, but then learning how to do a core part of your job never really should be. It’s been fun, though – don’t get me wrong – it’s definitely been an adventure!! Here I’m going to

Read more »

Day #25-26 R is soo static!

April 19, 2011
By

Today I stumbled upon a very nice package called “rgl”. For documentation and demos, take a look at it’s website. Rgl is: quoted by rgl site itself: The rgl package is a visualization device system for R, using OpenGL as the rendering...

Read more »

Day #25-26 R is soo static!

April 19, 2011
By

Today I stumbled upon a very nice package called “rgl”. For documentation and demos, take a look at it’s website. Rgl is: quoted by rgl site itself: The rgl package is a visualization device system for R, using OpenGL as the rendering...

Read more »

Flu Trends

April 18, 2011
By
Flu Trends

Not a model, but certainly Mickey Mousey: here’s some R code that plots Google’s US flu data:df <- read.csv(url("http://www.google.org/flutrends/us/data.txt"), skip=11)df$Date <- as.Date(df$Date)dev.new(height=8, width=12)# Leave a thin outer...

Read more »

Mickey Mouse Models

April 18, 2011
By
Mickey Mouse Models

My statistics professor once drew a little Markov chain on the board and called it “just a Mickey Mouse model,” because it was too simple to represent anything serious.

Read more »

pre-generate pictures of your knitting

April 18, 2011
By
pre-generate pictures of your knitting

This was a birthday present for my spouse. (Don't worry--I also covered a lot of things -- fruit/nuts/cocoa puffs/etc -- in chocolate. But I think both were appreciated!)Sometimes p...

Read more »

pre-generate pictures of your knitting

April 18, 2011
By
pre-generate pictures of your knitting

This was a birthday present for my spouse. (Don't worry--I also covered a lot of things -- fruit/nuts/cocoa puffs/etc -- in chocolate. But I think both were appreciated!)Sometimes p...

Read more »

A Population Regression

April 18, 2011
By
A Population Regression

Here's a video on some of the theory behind simple linear regression.There's no R involved with this video, but the video provides some theory behind what it is that R's lm() command estimates.

Read more »

A Population Regression

April 18, 2011
By
A Population Regression

Here's a video on some of the theory behind simple linear regression.There's no R involved with this video, but the video provides some theory behind what it is that R's lm() command estimates.

Read more »

Details of two-way sync between two Ubuntu machines

April 18, 2011
By
Details of two-way sync between two Ubuntu machines

In a previous post I discussed my frustrations with trying to get Dropbox or Spideroak to perform BOTH encrypted remote backup and AND fast two way file syncing. This is the detail of how I set up for two machines, both Ubuntu 10.10, to perform two way sync where a file change on either machine

Read more »

GEOSTAT 2011 — Canberra

April 18, 2011
By
GEOSTAT 2011 — Canberra

Just got back from the 2011 GEOSTAT summer school that recently took place in Canberra, Australia. Thanks to Tom Hengl for the invitation to co-teach the course, to the great folks at ANU who made it possible, and to all of the students who participat...

Read more »

Test Difference Between Diversity-Indices of Two Samples with Abundance Data

April 18, 2011
By
Test Difference Between Diversity-Indices of Two Samples with Abundance Data

I adapted a scheme for a permutation test from the PAST Software (Hammer & Harper, http://folk.uio.no/ohammer/past/diversity.html) that tests difference between diversity-indices of two samples with abundance data... Read more »

Read more »

Introducing Rook

April 18, 2011
By
Introducing Rook

Rook is a web server interface and software package for R. It is very much like Ruby’s Rack. In fact it is so much like Ruby’s Rack that I decided to use the same name and basic class hierarchy. You could say I “borrowed heavliy” from Ruby’s ...

Read more »

Simulation studies in R – Reproducing MacCullums et al. 2002 “Effects of variable dichotomization”

April 18, 2011
By

  This Article is also available in EN, ES.

Read more »

Progress reading SAS sas7bdat files (natively) in R

April 18, 2011
By

This post describes some preliminary results from a compatibility study of the SAS sas7bdat file format. The most current results stored in a github repository here: sas7bdat The ultimate goal is a native solution to the incompatibility between open-source statistical software (e.g. R) and sas7bdat database files. Demonstration There has been significant progress in interpreting

Read more »

Using R, Sweave and Latex to integrate animations into PDFs

April 18, 2011
By
Using R, Sweave and Latex to integrate animations into PDFs

The first week of April I attended an excellent workshop on biplots held by Michael Greenacre and Oleg Nenadić at the Gesis Institute in Cologne, Germany. Throughout his presentations, Michael used animations to visualize the concepts he was explaining. He also included  animations in some of his papers. This inspired me to do this post

Read more »

Multivariate Repeated Measurements With adonis():

April 18, 2011
By
Multivariate Repeated Measurements With adonis():

Lately I had to figure out how to do a repeated measures (or mixed effects) analysis on multivariate (species) data. Here I share code for a computation in R with the adonis function of the vegan package. Credit goes to Gavin Simpson providing most of ...

Read more »

Weight compared to risk fraction

April 18, 2011
By
Weight compared to risk fraction

How well do asset weight constraints constrain risk? The setup In “Unproxying weight constraints” I claimed that many constraints on asset weights are really a proxy for constraining risk. That is not a problem if weights are a good proxy for risk.  So the question is: how good of a proxy are they? To give … Continue reading...

Read more »

Historical Sources of Bond Returns-Comparison of Daily to Monthly

April 17, 2011
By
Historical Sources of Bond Returns-Comparison of Daily to Monthly

Thanks so much for the comment on my last post Historical Bond Price and Total Returns from 10y Yield Series “I know this might sound antithetical to a bond guy, but won't the monthly series get you close enough? “ which proved me wrong and allow...

Read more »

A Creative Use of R

April 17, 2011
By
A Creative Use of R

Update (5/18/2011): Looks like Freakonomics approves as well. Let the record show that I approved first :)I approve: "I use the open-source program R to create the patterns."But, I'm not sure I approve of calling these distributions "evil."In case you...

Read more »

A Creative Use of R

April 17, 2011
By
A Creative Use of R

Update (5/18/2011): Looks like Freakonomics approves as well. Let the record show that I approved first :)I approve: "I use the open-source program R to create the patterns."But, I'm not sure I approve of calling these distributions "evil."In case you...

Read more »

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

I am using xtable package of R to produce all the necessary codes for producing table suitable for LaTeX, and also discussing how to export the codes to a tex file. Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the...

Read more »

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the numbers and other codes. But with the help of xtable package of R it is possible to produce all the necessary codes for producing table in LaTeX and also possible to...

Read more »

Going over the speed limit

April 17, 2011
By
Going over the speed limit

In an earlier post   I had reported on how R compared with Stata for executing algorithms involving maximum likelihood estimation. This post  offers the following updates on the last post: Stata is in fact even faster than previously reported. The 64-bit version of the newly...

Read more »

Going over the speed limit

April 17, 2011
By
Going over the speed limit

In an earlier post   I had reported on how R compared with Stata for executing algorithms involving maximum likelihood estimation. This post  offers the following updates on the last post: Stata is in fact even faster than previously reported. The 64-bit version of the newly...

Read more »

Exporting R graphics as LaTeX code – version 0.6.1 of the tikzDevice package is out

April 17, 2011
By

(Guest post on R-bloggers by Charlie Sharpsteen) Cameron and I are pleased to announce version 0.6.0 of the tikzDevice package which should be available shortly at your local CRAN mirror! The tikzDevice makes it possible to export R graphics as LaTeX code that can be included in other documents or compiled into stand alone figures. The full power of...

Read more »

Statistics without Maths

April 17, 2011
By
Statistics without Maths

I got an interesting message from Chris Atherton the other day who has offered to do a workshop at the Technical Communications UK conference on statistics and data visualisation. The problem is that for some tech writers, their understandin...

Read more »

Rcpp article in JSS

April 17, 2011
By
Rcpp article in JSS

The Journal of Statistical Software published our Rcpp article

Read more »