2645 search results for "GIS"

Gist for previous posts

February 17, 2013
By

The more I use it, the more I understand the benefits and value of Github as a code-sharing resource. The gist found here is the R code for my posts on run scoring trends by league (found here, here, and here).  I will continue to use Github for t...

Read more »

Evolution of a logistic regression

January 28, 2013
By
Evolution of a logistic regression

In my last post I showed how one can easily summarize the outcome of a logistic regression. Here I want to show how this really depends on the data-points that are used to estimate the model. Taking a cue from the evolution of a correlation I have plotted the estimated Odds Ratios (ORs) depending on

Read more »

How much can we learn from an empirical result? A Bayesian approach to power analysis and the implications for pre-registration.

January 18, 2013
By
How much can we learn from an empirical result? A Bayesian approach to power analysis and the implications for pre-registration.

Just like a lot of political science departments, here at Rice a group of faculty and students meet each week to discuss new research in political methodology. This week, we read a new symposium in Political Analysis about the pre-registration of studies in political science. To briefly summarize, several researchers argued that political scientists should

Read more »

Clone all your gists locally with R

January 2, 2013
By

I really like gists as a quick way to include more lengthly code snippets into my blog posts. However, I am not a git user as such, and so I was quite concerned when I noticed that all my gists on this blog had vanished after Christmas. I suppose this was a result of Github's downtime...

Read more »

Binary Classification – A Comparison of “Titanic” Proportions Between Logistic Regression, Random Forests, and Conditional Trees

December 23, 2012
By
Binary Classification – A Comparison of “Titanic” Proportions Between Logistic Regression, Random Forests, and Conditional Trees

Now that I’m on my winter break, I’ve been taking a little bit of time to read up on some modelling techniques that I’ve never used before. Two such techniques are Random Forests and Conditional Trees.  Since both can be used … Continue reading →

Read more »

Scaling legislative roll call votes with wnominate

December 3, 2012
By
Scaling legislative roll call votes with wnominate

We’ve used NOMINATE scaling data before here at is.R(), but today’s Gist shows, in just a few lines of code, how to download up-to-date roll call data and run those votes through Keith Poole (et. al.)’s DW-NOMINATE procedure. It&#82...

Read more »

R for Ecologists: Permutation Analysis – t-tests

October 24, 2012
By
R for Ecologists: Permutation Analysis – t-tests

You’ve carefully designed your experiment, you’ve meticulously collected your data, and you have a hypothesis to test. Unfortunately, your data is typical of ecology data: small sample sizes, messy, and non-normal. Your ideal test, the t-test, won’t work because of the … Continue reading →

Read more »

Logistic Regression with R

October 21, 2012
By
Logistic Regression with R

Logistic Regression In my first blog post, I have explained about the what is regression? And how linear regression model is generated in R? In this post, I will explain what is logistic regression? And how the logistic regression model is generated in R? Let’s first understand logistic regression. Logistic regression is one of the

Read more »

Federal Register API/R Package Ideas?

September 21, 2012
By

The other day Critical Juncture put up an API for the Federal Register. I thought it would be great if there was a package that could use this API to download data directly into R (much like the excellent WDI package). This would make it easier to anal...

Read more »

Technical Analysis of Montana Voter Registration Files

September 18, 2012
By
Technical Analysis of Montana Voter Registration Files

By Earl F Glynn | Franklin Center This article shows how to analyze Montana voter registration files using R. The Montana Secretary of State sells two files of voter registration records for a fee of $1000: Statewide Voter File Voter History File The Montana Secretary of State provides information about the two files on this

Read more »