Visually-weighted regression plots, with Zelig

As a follow-up to yesterday’s post on producing visually-weighted regression plots, here is some code which illustrates the production of similar plots, but using Zelig's convenient modeling and simulation functions.

This code was produced to assist a colleague, which just goes to show that the “Ask us anything" page really works!

By d-sparks

Tags: rstats graphics reshape2 Zelig ggplot2