Articles by andrew

Stan is fast

August 30, 2012 | andrew

10,000 iterations for 4 chains on the (precompiled) efficiently-parameterized 8-schools model: __ date () [1] "Thu Aug 30 22:12:53 2012" __ fit3 date () [1] "Thu Aug 30 22:12:55 2012" __ print (fit3) Inference for Stan model: anon_model. 4 chains: each with iter=10000; warmup=5000; thin=1; 10000 iterations saved. mean se_mean sd 2.5% 25% 50% 75% [...] The post Stan is fast appeared first on Statistical Modeling, Causal Inference, and Social ... [Read more...]

Moving beyond hopeless graphics

July 2, 2012 | andrew

I was at a talk awhile ago where the speaker presented tables with 4, 5, 6, even 8 significant digits even though, as is usual, only the first or second digit of each number conveyed any useful information. A graph would be better, but even if you’re too lazy to make a plot, ... [Read more...]

Decline Effect in Linguistics?

June 29, 2012 | andrew

Josef Fruehwald writes: In the past few years, the empirical foundations of the social sciences, especially Psychology, have been coming under increased scrutiny and criticism. For example, there was the New Yorker piece from 2010 called “The Truth Wears Off” about the “decline effect,” or how the effect size of a ... [Read more...]

chartsnthings !

May 8, 2012 | andrew

Yair pointed me to this awesome blog of how the NYT people make their graphs. This blows away all other stat graphics blogs (including this one). Lots of examples from mockup to first tries to final version. I recognize a lot of what they’re doing from my own experience. ... [Read more...]

Google Translate for code, and an R help-list bot

May 3, 2012 | andrew

What we did in our Stan meeting yesterday: Some discussion of revision of the Nuts paper, some conversations about parameterizations of categorical-data models, plans for the R interface, blah blah blah. But also, I had two exciting new ideas! Google Translate for code Wouldn’t it be great if Google ... [Read more...]

Lessons learned from a recent R package submission

January 21, 2012 | andrew

R has zillions of packages, and people are submitting new ones each day. The volunteers who keep R going are doing an incredibly useful service to the profession, and they’re busy. A colleague sends in some suugestions based on a recent experience with a package update: 1. Always use the ...
[Read more...]

How to map geographically-detailed survey responses?

January 17, 2012 | andrew

David Sparks writes: I am experimenting with the mapping/visualization of survey response data, with a particular focus on using transparency to convey uncertainty. See some examples here. Do you think the examples are successful at communicating both local values of the variable of interest, as well as the lack ... [Read more...]

R-squared for multilevel models

January 15, 2012 | andrew

Fred Schiff writes: I’m writing to you to ask about the “R-squared” approximation procedure you suggest in your 2004 book with Dr. Hill. [See also this paper with Pardoe---ed.] I’m a media sociologist at the University of Houston. I’ve been using HLM3 for about two years. Briefly about ... [Read more...]

CrossValidated: A place to post your statistics questions

December 16, 2011 | andrew

Seth Rogers writes: I [Rogers] am a member of an online community of statisticians where I burn a great deal of time (and a recovering cog sci researcher). Our community website is a peer-reviewed Q and A spanning stats topics ranging from applications to mathematical theory. Our online community consists ...
[Read more...]

Permanently Setting the CRAN repository

November 29, 2011 | andrew

Setting the CRAN repository so that it does not ask every time you try to install a package  is something that I think few people bother to do, but it is so simple and can save a fair bit of frustration when working.  This is accomplished through a setting in ... [Read more...]

World record running times vs. distance

November 15, 2011 | andrew

Julyan Arbel plots world record running times vs. distance (on the log-log scale): The line has a slope of 1.1. I think it would be clearer to plot speed vs. distance—then you’d get a slope of -0.1, and the numbers would be more directly interpretable. Indeed, this paper by ...
[Read more...]

Wickham R short course

November 14, 2011 | andrew

Hadley writes: I [Hadley] am going to be teaching an R development master class in New York City on Dec 12-13. The basic idea of the class is to help you write better code, focused on the mantra of “do not repeat yourself”. In day one you will learn powerful ... [Read more...]

Web-friendly visualizations in R

October 19, 2011 | andrew

Aleks points me to this new tool from Wojciech Gryc. Right now I save my graphs as pdfs or pngs and then upload them to put them on the web. I expect I’ll still be doing this for awhile—I like having full control of what my graphs look ... [Read more...]
1 4 5 6 7 8

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)