## The SAS/IML File Exchange is open

July 16, 2014
By

Have you written a SAS/IML program that you think is particularly clever? Are you the proud author of SAS/IML functions that extend the functionality of SAS software? You've worked hard to develop, debug, and test your program, so why not share it with others? There is now a central location […]

## Video Tutorial: Allelic Frequencies Remain Constant From Generation to Generation Under the Hardy-Weinberg Equilibrium

The Hardy-Weinberg law is a fundamental principle in statistical genetics.  If its 7 assumptions are fulfilled, then it predicts that the allelic frequency of a genetic trait will remain constant from generation to generation.  In this new video tutorial in my Youtube channel, I explain the math behind the Hardy-Weinberg theorem.  In particular, I clarify […]

## A Statement from the Editorial Board of the Journal of Evidence-Based Haruspicy

July 16, 2014
By

Attention conservation notice: Leaden academic sarcasm about methodology. The following statement was adopted unanimously by the editorial board of the journal, and reproduced here in full: We wish to endorse, in its entirety and without reservation...

## Books to Read While the Algae Grow in Your Fur, June 2014

July 16, 2014
By

Attention conservation notice: I have no taste. Plato, The Republic I had a teacher in junior high who had the good idea, when I was bored, of making me read philosophers and political writers he thought I'd violently disagree with, and forcing me ...

## Meetup Presentations

July 16, 2014
By

Recently I gave a presentation on Machine Learning to members of the NYC Open Data Meetup group.Here is that presentation for anyone interested. Machine Learning - Ilan Man ...

## Taking Inventory: Analyzing Data When Most Answer No, Never, or None

July 16, 2014
By

Consumer inventories, as the name implies, are tallies of things that consumers buy, use or do. Product inventories, for example, present consumers with rather long lists of all the offerings in a category and ask which or how many or how often they bu...

## Variations on rolling forecasts

July 15, 2014
By

Rolling forecasts are commonly used to compare time series models. Here are a few of the ways they can be computed using R. I will use ARIMA models as a vehicle of illustration, but the code can easily be adapted to other univariate time series models. One-step forecasts without re-estimation The simplest approach is to estimate the model on a single set of training data, and then compute one-step forecasts…

## another R new trick [new for me!]

July 15, 2014
By

While working with Andrew and a student from Dauphine on importance sampling, we wanted to assess the distribution of the resulting sample via the Kolmogorov-Smirnov measure where F is the target.  This distance (times √n) has an asymptotic distribution that does not depend on n, called the Kolmogorov distribution. After searching for a little while, […]

## Time to Re-Think NBER Programs?

July 15, 2014
By

Check out John Cochrane's recent NBER post if you didn't already. It ends with:A last thought. Economic Fluctuations [an NBER program] merged with Growth [another NBER program] in the mid 1990s. At the time there was a great confluence of method as we...

## Stan World Cup update

July 15, 2014
By

The other day I fit a simple model to estimate team abilities from World Cup outcomes. I fit the model to the signed square roots of the score differentials, using the square root on the theory that when the game is less close, it becomes more variable. 0. Background As you might recall, the estimated […] The post Stan World Cup update appeared first on Statistical Modeling, Causal Inference, and…

## Simple user interface in R to get login details

July 15, 2014
By

Occasionally I have to connect to services from R that ask for login details, such as databases. I don't like to store my login details in the R source code file, instead I would prefer to enter the my login details when I execute the code.Fortunately,...

July 14, 2014
By

## On deck this week

July 14, 2014
By

Mon: “Building on theories used to describe magnets, scientists have put together a model that captures something very different . . .” Tues: Questions about “Too Good to Be True” Wed: “The Europeans and Australians were too eager to believe in renal denervation” Thurs: Ethics and statistics Fri: Differences between econometrics and statistics: From varying […] The post On deck this week appeared first on Statistical Modeling, Causal Inference, and…

## A log transformation of positive and negative values

July 14, 2014
By

In my four years of blogging, the post that has generated the most comments is "How to handle negative values in log transformations." Many people have written to describe data that contain negative values and to ask for advice about how to log-transform the data. Today I describe a transformation […]

## Stan London Meetup 16 July

July 14, 2014
By

Michael Betancourt announces: The Stan Development Team is happy to announce the first Stan London Meetup, Wednesday, July 16th, 6-8 PM Bentham House, Seminar Room 4 4-8 Endsleigh Gardens, London, WC1H 0EG Nominally the plan is to begin with a casual introduction to Stan and then break out into discussion based on the interests of […] The post Stan London Meetup 16 July appeared first on Statistical Modeling, Causal Inference,…

## Stan goes to the World Cup

July 13, 2014
By

I thought it would be fun to fit a simple model in Stan to estimate the abilities of the teams in the World Cup, then I could post everything here on the blog, the whole story of the analysis from beginning to end, showing the results of spending a couple hours on a data analysis. […] The post Stan goes to the World Cup appeared first on Statistical Modeling, Causal…

## Bing hearts World Cup 2014, Google – not so much

July 12, 2014
By

While Google has been doing a great job of their front page animations (today's is very nice, illustrating how Brazil and The Netherlands are on their way to Russia for 2018), Bing appears to be far more attentive to actually...

July 12, 2014
By

The new rules for D&D 5e (formerly known as D&D Next) are finally here: Dungeons & Dragons, 5th Edition: Basic Rules D&D 5e introduces a new game mechanic, advantage and disadvantage. Basic d20 Rules Usually, players roll a 20-sided die (d20) to resolve everyting from attempts at diplomacy to hitting someone with a sword. Each […] The post D&D 5e: Probabilities for Advantage and Disadvantage appeared first on Statistical Modeling,…