2642 search results for "GIS"

Stella Copeland’s Intro to Mixed Models in R

October 19, 2012
By

In D-RUG today, Stella Copeland gave a quick introduction to mixed models in R. Here’s the script that she presented: Get the data file for this script here Stella also recommends this paper by Ben Bolker as a quick introduction to the topic.

Read more »

Up and Coming R User Group meetings

October 19, 2012
By

Mango Solutions are pleased to announce the forthcoming R user Group meetings that they will be hosting or participating in.  To attend, please see the registration information on the relevant websites:   1.       GreatBoston useR Group      (http://www.meetup.com/Boston-useR/ ) Date:                     Tuesday 23rd October Venue:                 IBM Cambridge, 1 Rogers Street, Cambridge, MA Time:                     6.15pm Presentation:    Creating and Designing Applications...

Read more »

Adding a background to your ggplot

October 19, 2012
By
Adding a background to your ggplot

I really enjoy using the DW-NOMINATE data for examples, as I do here. Sometimes it’s useful to indicate regions in the background of a plot — perhaps two-dimensional regions of interest, perhaps one-dimensional periods in time. It’s...

Read more »

The rapidly increasing ideology of the US Republican Party

October 18, 2012
By
The rapidly increasing ideology of the US Republican Party

The chart below comes by way of the is.R blog and shows the average ideology of the members of the United State House of Representatives within the Republican (red) and Democratic (blue) parties. (Other parties are shown in green.) The chart is shown as a time series, from the first US congress in 1789, to the most recent full...

Read more »

Soccer is all about money (?) – Part 2: Simple analyses

October 18, 2012
By
Soccer is all about money (?) – Part 2: Simple analyses

Alright, now we have all the data we need in one dataframe. To make this code work, I assume you ran the code from Part 1. We need the dataframe big.tab.All the data presented here is based on the data from 18/10/2012. You can run an analysis with the actual data or I can do it at...

Read more »

Introduction to Bayesian Methods guest lecture

October 18, 2012
By
Introduction to Bayesian Methods guest lecture

This is a talk I gave this week in Advanced Biostatistics at McGill. The goal was to provide an gentle introduction to Bayesian methodology and to demonstrate how it is used for inference and prediction. There is a link to an accompanying R script in the slides

Read more »

Faceting as a preferable alternative to 3-D

October 18, 2012
By
Faceting as a preferable alternative to 3-D

Sometimes, people want to plot things in three dimensions. Others have spoken more eloquently than I could on the potential problems with plotting multiple two-dimensional relationships in a two-dimensional medium with an artificial three-dimensional ...

Read more »

The distribution of ideology in the U.S. House (with plyr)

October 17, 2012
By
The distribution of ideology in the U.S. House (with plyr)

This Gist has a couple of things going on, I’ll just list them: It downloads the entire history of U.S. House DW-NOMINATE scores from voteview.com It evaluates aggregate statistics, with members grouped by party and congress, with easy weighted ...

Read more »

Japanese Government Bond (JGB) Data Since 1974

October 16, 2012
By
Japanese Government Bond (JGB) Data Since 1974

The Ministry of Finance Japan very generously provides data on JGBs back to 1974.  Here is a quick example how to pull it into R and then graph it. From TimelyPortfolio R code in GIST (do raw for copy/paste):

Read more »

Life on the Big International Frontier

October 16, 2012
By
Life on the Big International Frontier

Although I have used the Kenneth French data library extensively in various posts, I have not yet used the international data sets paired with the wonderful paper. Eugene F. Fama and Kenneth R. French (2012) "Size, Value, and Momentum in International...

Read more »