This is a lecture post for my students in the CUNY MS Data Analytics program. In this series of lectures …Continue reading »
I saved the data from the last post which shows the percentage of Republican voters in each county. In addition to that column, I also have figures from the 2010 census. This will show things like age, ethnicity, urbanization and home ownership. Those census figures show actual population counts, so they'll need to be altered
Carrying on from the last post, I'm going to take a closer look at election results for the 2012 US presidential election in North Carolina. This state's 15 electoral votes went to the Republican, Mitt Romney. On the US electoral college map, that means the state shows up as red. As I write this, I'm
The problem with puzzles is that you keep it in your head for days, until you find an answer. Or at least some ideas about a possible answer. This is what happened to me a few weeks ago, when a colleague of mine asked me the following question : Consider points uniformly distributed on a sphere. What is the...
Some time back, I started a project on GitHub wherein I would explore the efficacy of financial literacy efforts in the area where I live. This is done with the support of a local non-profit organization. As a first step, I tried to draw a picture of the area at a relatively fine level of
Need a Hanukkah or Christmas gift for an R analyst? You could do loads worse than Applied Spatial Data Analysis with R by Bivand, Pebesma and Gomez-Rubio. I don't have my copy yet- I'm still working through all of the other books I've bought this year- but I'll likely pick it up sometime early in
An easily phrased (and solved?) Le Monde mathematical puzzle that does not require an R code: The five triplets A,B,C,D,E are such that and Given that find the five triplets. Adding up both sets of equations shows everything solely depends upon E1… So running an R code that checks for all possible values of
Getting Started with Multilevel Modeling in R Getting Started with Multilevel Modeling in R Jared E. Knowles Introduction Analysts dealing with grouped data and complex hierarchical structures in their data ranging from measurements nested within participants, to counties nested within states or students nested within classrooms often find themselves...