OK, fine. Maybe they could work Stan on to the show next? I thought I could retire once I’d successfully inserted the phrase “multilevel regression and poststratification” into the NYT, but now I want more more more. Maybe a cage ...

My daughter's middle school math class recently reviewed how to compute the greatest common factor (GCF) and the least common multiple (LCM) of a set of integers. (The GCF is sometimes called the greatest common divisor, or GCD.) Both algorithms require factoring integers into a product of primes. While helping [...]

Last week I looked at two-way cross-over studies and followed the example of Schütz (http://bebac.at/) in the analysis. Since the EU has its on opinions (Questions & Answers: Positions on specific questions addressed to the pharmacokinetics workin...

Dans un modèle de régression, on veut écrire Quand on se limite à un modèle linéaire, on écrit Mais on de doute que l’on rate quelque chose… en particulier, on va rater toutes les interactions possibles. On peut croiser les variables, et supposer que qui peut s’étendre d’avantage, à l’ordre 3, voire davantage. Supposons que nos variables soient ici qualitatives, et plus précisément binaires. Prenons un exemple simple, avec des données…

In this time of government cut-backs and sequester, scientists are under increased pressure to dream up ever new strategies to publish attention-getting articles with eye-catching, but inadequately scrutinized, conjectures. Science writers are under similar pressures, and to this end they have found a way to deliver up at least one fire-breathing, front page article a […]

Devin Caughey points out a typo in the second column of page 765 of our AJPS paper. Here’s what we have: The typo is in the third line of the second paragraph above. Where it says y^*_j = y.bar^*_j n_j, it should be y^*_j = y.bar^*_j n^*_j. One frustrating system of the current system of […]The post Typo in Ghitza and Gelman MRP paper appeared first on Statistical Modeling, Causal…

Thursday, I got an interesting question from a colleague of mine (JP). I mean, the way I understood the question turned out to be a nice puzzle (but I have to confess I might have misunderstood). The question is the following : consider a i.i.d. sample of continuous variables. We would like to choose between two (parametric) families for the distribution, and . If we use maximum likelihood techniques, we…

An introductory comparison of using the two languages. Background R was made especially for data analysis and graphics. SQL was made especially for databases. They are allies. The data structure in R that most closely matches a SQL table is a data frame. The terms rows and columns are used in both. A mashup There […] The post Translating between R and SQL: the basics appeared first on Burns Statistics.

One great thing about working in statistics and political science is, between them, these two subjects are connected to just about everything. From the day’s news (sort of): Pat Robertson Thinks Low-Carb Diets Violate God’s Principles: I wonder what Art De Vany will think of this. I had the impression that lo-carb is vaguely connected […]The post A day with the news! appeared first on Statistical Modeling, Causal Inference, and…

I came across a new source of data which I think is really worth sharing: ThinkNum. It gathers around 2,000 sources of data but more importantly it allows the user to manipulate this data via functions and graphics and there is an R package available on CRAN. Interested readers can find a very good post […]

LaTeX and MathML and MathJax and Python and Sphinx and IPython and R and Knitter and Firefox and Chrome and ...My head is spinning with all this stuff. Maybe yours is too.One thing is clear: The traditional academic book publishing paradigm (broadly de...

After seeing a document sent to me and others regarding the crisis of spurious, statistically-significant research findings in psychology research, I had the following reaction: I am unhappy with the use in the document of the phrase “false positives.” I feel that this expression is unhelpful as it frames science in terms of “true” and […]The post I’m negative on the expression “false positives” appeared first on Statistical Modeling, Causal…

After seeing a document sent to me and others regarding the crisis of spurious, statistically-significant research findings in psychology research, I had the following reaction: I am unhappy with the use in the document of the phrase “false positives.” I feel that this expression is unhelpful as it frames science in terms of “true” and […]The post Nix on the expression “false positives” appeared first on Statistical Modeling, Causal Inference,…

Jeremy Fox points us to this compilation of data visualizations in R that went wrong, in a way that ended up making them look like art. They are indeed wonderful. The post Data visualizations gone beautifully wrong appeared first on Statistical Modelin...