Blog Archives

Getting Social Sciences Out of the Black Box: The Open Access Revolution

April 8, 2014
By
Getting Social Sciences Out of the Black Box: The Open Access Revolution

Trading Ethos for LogosUp until very recently (the last 10 years) it has been uncommon for social science researchers to share their data even when the sharing would neither compromise the private information of the subjects nor the validity of the stu...

Read more »

Does R have too many packages?

April 3, 2014
By
Does R have too many packages?

The Homeless EconometricianThe amazing growth and success of CRAN (Comprehensive R Archive Network) is marked by the thousands of packages have been developed and released by a highly active user base.  Yet even so, one of the founders and primary...

Read more »

Stata Fully Mapped into R

April 1, 2014
By
Stata Fully Mapped into R

Hello all of you Stata loving statistical analysts out there!  I have great news.  I am finally nearly done with the package I have been working on which provides the mechanism for Stata users to seamlessly move from Stata to R though use of ...

Read more »

Why use R? Five reasons.

March 27, 2014
By
Why use R? Five reasons.

In this post I will go through 5 reasons: zero cost, crazy popularity, awesome power, dazzling flexibility, and mind-blowing support. I believe R is the best statistical programming language to learn. As a blogger who has contributed over 150 posts in Stata and over 100 in R I have extensive experience with both a proprietary statistical programming language...

Read more »

Estimating Variance as a Function of Treatment Rank Class

March 24, 2014
By

Imagine that we have a treatment that we give to five different groups of individuals.  Each individual has a variable response which as a unique mean and variance based on the treatment.  We do not know how the means will change but we belie...

Read more »

It is time for RData files to become the standard for Data Transfer

March 20, 2014
By
It is time for RData files to become the standard for Data Transfer

(This article was first published on Econometrics by Simulation, and kindly contributed to R-bloggers) It is time Rdata files become the primary means of disseminating publicly available data online.1. R is the most efficient Statistical software at compressing dataI was recently attempting to download weather data from the US government and found myself stymied because the dataset I wanted...

Read more »

Text Mining Gun Deaths Data

March 13, 2014
By
Text Mining Gun Deaths Data

In this post I will explore public data being collected by Slate.  I previously released code using a much early set of this data demonstrating how to turn this data into an animated map.This data began collection as a public response to the horri...

Read more »

Ever wonder how popular your favorite R functions are?

March 7, 2014
By
Ever wonder how popular your favorite R functions are?

How's that fried pickle sandwich treating you?  Perhaps your taste in R  functions are less bizarre than your taste in R commands?Now you can easily find out using this new shiny app!  In this post I use the R function frequency table co...

Read more »

The Star Puzzle

March 4, 2014
By
The Star Puzzle

The Star Puzzle is a puzzle presented on The Math Forum.  I became aware of this problem by noticing the article and solution posted on Quantitative Decisions article section. It asks the question, "How many triangles, quadrilaterals, and irregula...

Read more »

Easily generate correlated variables from any distribution

February 27, 2014
By
Easily generate correlated variables from any distribution

In this post I will demonstrate in R how to draw correlated random variables from any distributionThe idea is simple.  1. Draw any number of variables from a joint normal distribution. 2. Apply the univariate normal CDF of variables to derive pro...

Read more »