Crime novels for economists

May 12, 2013
By
Crime novels for economists

Following up on this post by Noah Smith on economics in science fiction, Mark Palko writes on economics in crime fiction. Just as almost all science fiction is ultimately about politics, one could say that just about all crime fiction is about economics. But if I had to pick one crime novelist with an economics [...]The post Crime novels for economists appeared first on Statistical Modeling, Causal Inference, and Social…

Read more »

Reshaping data

May 12, 2013
By

Preparing and reshaping data is the ever continuing task of a data analyst. Luckily we have many tools for it. The default tool in R would be reshape(), although this is so user friendly that a reshape package has been added too. I try to use reshape()...

Read more »

Animations Understood

May 11, 2013
By
Animations Understood

When I first saw a graphic made from Yihui’s animation package (Xie, 2013) I was amazed at the magic and thought “I could never do that”. Passage of time… One night I found myself bored and as usual avoiding work. … Continue reading →

Read more »

Actually, I have no problem with this graph

May 11, 2013
By
Actually, I have no problem with this graph

Tom Salvesen asks, is this the worst info-graphic of the year? I say, no. Nobody really cares about these numbers. It’s an amusing feature. The alternative would not be a better display of these data, the alternative would be some photo or cartoon. They’re just having fun. I wouldn’t give it any design awards but [...]The post Actually, I have no problem with this graph appeared first on Statistical Modeling,…

Read more »

Reproducibility and randomness

May 11, 2013
By

With Stéphane Tufféry, we were working this week on a chapter of a book, entitled Statistical Learning in Actuarial Science. The chapter should be based on R functions, and we wanted to reproduce some outputs he previously obtained with SAS. The good thing is that even complex functions (logistic regression, regression trees, etc) produce the same kind of outputs. But we found a problem that we could not fix: generating…

Read more »

Harp, Percussion, Shakespeare, AND Bayesian Data Analysis

May 10, 2013
By
Harp, Percussion, Shakespeare, AND Bayesian Data Analysis

There will be a week-long introductory course in doing Bayesian data analysis, July 15-19 (2013), at Indiana University. There are many art, music, theater and social events happening that same week, including the International Harp Competition, the IU...

Read more »

Tutorials on git/github and GNU make

May 10, 2013
By
Tutorials on git/github and GNU make

If you’re not using version control, you should be. Learn git. If you’re not on github, you should be. That’s real open source. To help some colleagues get started with git and github, I wrote a minimal tutorial. There are lots of git and github resources available, but I thought I’d give just the bare […]

Read more »

Machine Learning – week 3

May 10, 2013
By
Machine Learning – week 3

Recall that in last week's installment of Coursera's Machine Learning class, we covered linear regression - the most fundamental way of making a prediction where the outcome is a number, like predicting the price of a stock or how much rainfall (i...

Read more »

Bubble sort implemented in pure R

May 10, 2013
By
Bubble sort implemented in pure R

Please note that this is programming I purely did for the learning experience. The pure R bubble sort implemented in this post is veeeeery slow for two reasons: Interpreted code with lots of iteration is very slow. Bubble sort is… See more ›

Read more »

The recursion of pop-econ

May 10, 2013
By

Dave Berri posted the following at the Freakonomics blog: The “best” picture of 2012 was Argo. At least that’s the film that won the Oscar for best picture. According to the Oscars, the decision to give this award to Argo was made by the nearly 6,000 voting members of the Academy of Motion Picture Arts [...]The post The recursion of pop-econ appeared first on Statistical Modeling, Causal Inference, and Social…

Read more »

Managing Government Information as an Asset

May 10, 2013
By
Managing Government Information as an Asset

A new Open Data Policy of the US Government says that ‘starting this week (9th May 2013) new and modernized …Continue reading »

Read more »

If it’s called the “The High Quality Research Act,” then ….

May 10, 2013
By
If it’s called the “The High Quality Research Act,” then ….

Among the (less technical) items sent my way over the past few days are discussions of the so-called High Quality Research Act. I’d not heard of it, but it’s apparently an outgrowth of the recent hand-wringing over junk science, flawed statistics, non-replicable studies, and fraud (discussed at times on this blog). And it’s clearly a […]

Read more »

Medicare Provider Charge Data – How Are Things in Spokane?

May 9, 2013
By
Medicare Provider Charge Data – How Are Things in Spokane?

Disclosure: I am not a health care professional, but just some one interested in playing with data and ways to represent them. I am not going to interpret findings here, but will make a remark or two about how to interpret them from the few graphs...

Read more »

Same old same old

May 9, 2013
By

In an email I sent to a colleague who’s writing about lasso and Bayesian regression for R users: The one thing you might want to add, to fit with your pragmatic perspective, is to point out that these different methods are optimal under different assumptions about the data. However, these assumptions are never true (even [...]The post Same old same old appeared first on Statistical Modeling, Causal Inference, and Social…

Read more »

Mapping the Pavement Quality of Streets in L.A.

Mapping the Pavement Quality of Streets in L.A.

L.A. Street QualGrades [latimes.com], developed by the Los Angeles Times Data Desk, maps the pavement quality rating for each of the 68,000 street segments in L.A., the largest municipal system in the US with about 6,500 miles of paved roadway street...

Read more »

YouTube Trends Map: Explore the Most Popular Videos by Location

YouTube Trends Map: Explore the Most Popular Videos by Location

The YouTube Trends Map [youtube.com] is a visualization of the most shared and viewed videos in various regions across the United States over the last 12 to 24 hours. It accompanies the more analytical Trends Dashboard to provide a full overview of th...

Read more »

The Red Line problem

May 9, 2013
By
The Red Line problem

I've just added a new chapter to Think Bayes; it is a case study based on a class project two of my students worked on this semester.  It presents "The Red Line Problem," which is the problem of predicting the time until the next train arrives, ba...

Read more »

A tale of two discussion papers

May 9, 2013
By
A tale of two discussion papers

Over the years I’ve written a dozen or so journal articles that have appeared with discussions, and I’ve participated in many published discussions of others’ articles as well. I get a lot out of these article-discussion-rejoinder packages, in all three of my roles as reader, writer, and discussant. Part 1: The story of an unsuccessful [...]The post A tale of two discussion papers appeared first on Statistical Modeling, Causal Inference,…

Read more »

Hedonometer

May 9, 2013
By
Hedonometer

I am happy (8.3? from 9) to present you this –> link! Daily Happiness Averages for Twitter, September 2008 to present …Continue reading »

Read more »

Finding the closest pair in datat using PROC MODECLUS

May 9, 2013
By
Finding the closest pair in datat using PROC MODECLUS

  UPDATE: Rick Wicklin kindly shared his visualization efforts on the output to put a more straightforward sense on the results. Thanks. Here is the code, run after my code below. Note that this is designed for K=2. proc iml;use out;&nbs...

Read more »

A Shiny web app to find out how much medical procedures cost in your state.

May 8, 2013
By
A Shiny web app to find out how much medical procedures cost in your state.

Today the front page of the Huffington Post featured the new data available from the CMS that shows the cost of many popular procedures broken down by hospital. We here at Simply Statistics think you should be able to explore … Continue reading →

Read more »

“My” chromosome 8p inversion

May 8, 2013
By
“My” chromosome 8p inversion

There was lots of discussion on twitter yesterday about Graham Coop’s paper with Peter Ralph (or vice versa), on The geography of recent genetic ancestry across Europe, particularly regarding the FAQ they’d created. I was eager to take a look, and, it’s slightly embarrassing to say, I first did a search to see if they’d […]

Read more »

SAS, SPSS, Stata Users: Learn R from Home June 17

May 8, 2013
By
SAS, SPSS, Stata Users: Learn R from Home June 17

Has learning R been driving you a bit crazy? If so, it may be that you’re “lost in translation.” On June 17 and 19, I’ll be teaching a webinar, R for SAS, SPSS and Stata Users. With each R concept, … Continue reading →

Read more »


Subscribe

Email:

  Subscribe