Graphical Visualization of Weighted Survey Data in R

I posted this query on the Political Methdology listserv:

Hello all, I have some students in an election sciences class who want to do some visualizations using CCES data. I’d like them to use the survey weights if possible, but don’t know an easy way to do this in R.

I have come across this package that claims to support graphics and complex survey weights, but can’t find a reference or vignette that uses any graphics: http://r-survey.r-forge.r-project.org/survey/

Thanks!

Paul Gronke
Reed College

And have provided a review of the answers:

https://docs.google.com/document/d/1VmVeVJ5kzj7OBhWRmH7VHOW4DxGBQ4KYNeTqDSTOaoE/edit?usp=sharing

Thanks to Jay Lee of Reed College for helping me assemble this. 

Producing survey “tabs” in Stata: PolMeth question answered

Thanks to those participants in the Political Methodology listserv who responded to a query that I posted a month ago about how to produce survey “toplines” using either Stata or R. The attached document provides a detailed summary of the responses; I have posted the most useful reply here.

Original Question


From: Paul Gronke <gronkep@reed.edu>

Quick question for the list: Lisa Bryant (CU Fresno) and I are preparing  some “top lines” and “tabs” for a client with whom we conducted a survey.

If you have seen these before, they are usually organized so that  categorial survey responses are reported on the rows, and the columns  report the overall responses, then responses “tabbed” or “crossed” by  various demographic and political categories. Roll your eyes if you will  that this is just a big set of exploratory cross tabs, but a lot of folks  expect to see them to help digest the survey results.

A typical “tab” looks like this:

VARIABLE                        Total   GOP     IND             DEM MEN     WOMEN    …

Category 1                             N  %    N  %    N  %            N  %    N %    N  %

Category 2                      N  % …

TOP SOLUTION

Stata Special

From: Jonathan Mendelson

Hi Paul,

I posted a response to the list, but it hasn’t gone through yet, so I thought I’d reply directly.  I encountered the same issue as you and wrote a Stata package that essentially creates “tabs” in spreadsheet form.  You can install it in Stata via “ssc install tabsheet” or view information at https://ideas.repec.org/c/boc/bocode/s458128.html; there are examples in the documentation so you should be able to get started fairly quickly.

The program is not particularly flexible, but it is easy to use, and some colleagues at my survey firm have found it very useful.  Although it doesn’t currently output to anything other than tab-delimited file (which can be opened in a spreadsheet), with some clever formatting in Excel, you could print the resulting spreadsheet to PDF for something nicer looking.

If you need something more flexible in Stata, I’d recommend tabout, although that may require more work to set up.  If you find out about any R packages that do something similar, I’d be interested in hearing about it.

Best,
Jonathan

The complete list of responses, including various R and Stata solutions, is provided in this PDF: polmeth-question-survey-tabs

Job Posting: Anxieties of Democracy Program at SSRC

http://www.ssrc.org/about/employment/listings/anxieties-of-democracy-program-director/

Call for Papers: Summer Conference on Election Science, Reform, and Administration

Paper proposals are being invited for a Summer Conference on Election Science, Reform, and Administration, hosted by Reed College and Portland State University, and co-sponsored by the Early Voting Information Center at Reed College and the Election Data and Science Lab at MIT. The conference will be held in Portland, OR from July 27-28, 2017.  

The goals of the conference are, first, to provide a forum for scholars in political science, public administration, law, computer science, statistics, and other fields who are working to develop rigorous empirical approaches to the study of how laws and administrative procedures affect the quality of elections in the United States; and, second, to build scientific capacity by identifying major questions in the field, fostering collaboration, and connecting senior and junior scholars.

The conference is designed to facilitate close attention to the papers presented, including extensive feedback and discussion. Therefore, papers should represent new work, with early drafts of papers encouraged.

We hope that a wide variety of topics will be addressed at the conference. We are particularly interested in new and innovative projects that address long standing questions about the impact of election reforms on registration and turnout at both the state and federal level; how the voter experience has improved or eroded during the two recent waves of election reform; and the research design and methodological challenges in election science. The following is a list provides a few sample ideas, but should not be considered exhaustive:  

  • How new or changed election laws affect the size and makeup of the pool of registered voters and the federal, state, and/or local electorates;
  • Professionalization (or the lack thereof) and the quality of election administration;
  • Evaluating the impact of voting centers, consolidated precincts, and convenience voting;
  • How election reform has differentially impacted historically disadvantaged segments of the electorate;
  • The analytical and methodological tools needed to work with voter registration and voter history files, and challenges in making causal inferences when working with these files;
  • New methods for connecting other behavioral records (e.g. survey data) or geospatial data with voter history and voter turnout data

Airfare, lodging, and conference meals will be covered for paper presenters and discussants. Other scholars are welcome to attend if they can cover conference costs (details to be announced within a month).

Lonna Atkeson, University of New Mexico, and Bernard Fraga, Indiana University, will serve as program co-chairs, and Paul Gronke, Reed College and Phil Keisling, Center for Public Service at PSU, will act as conference organizers and hosts.

Paper proposals of no more than 250 words should be submitted by April 15, 2017.  Submit proposals at http://bit.ly/PDXelection – we expect to announce decisions by May 1.  Any questions can be sent to atkeson@umn.edu, bfraga@indiana.edu, or gronke@reed.edu.

Scholars wishing to attend without presenting a paper should also contact Emily Hebbron (hebbron@reed.edu) by May 1st.  Further details about the conference will posted on the conference Web site soon thereafter.

Please feel free to re-distribute this announcement to relevant individuals and e-mail lists. We look forward to reading your paper proposals!

Yours sincerely,

Lonna Atkeson, Bernard Fraga, and Paul Gronke

Election Law Program, William Mary Law School, Williamsburg, Virginia Seeks Full-Time Program Manager

From the email:

The Election Law Program (ELP) is a joint project of William & Mary Law School and the National Center for State Courts. ELP develops resources to assist judges in understanding the unique challenges election litigation presents. ELP is seeking a full-time Program Manager to help oversee and execute Program projects.

The Election Law Program Manager will be responsible for implementing a grant to expand ELP tools and resources, including the eBenchbook project. The Program Manager will be responsible for conducting legal research, coordinating with state election law experts and officials, and supervising student research. The Program Manager will also participate in strategic planning processes and oversee implementation of ELP projects.
Bachelor’s degree required; JD strongly preferred
Demonstrated legal research experience; non-profit experience a plus.
Demonstrated strong communication and organizational skills, with excellent attention to detail.
Demonstrated ability to work independently and to manage multiple tasks.
Demonstrated experience in project management.
Previous experience supervising others.
Background in election law/election administration preferred
Strong graphic design, computer and web skills a plus.

More information about this position is available here and here. Please contact Rebecca Green at rgreen@wm.edu with questions.

Redistricting reform on the Oregon agenda?

Secretary of State Dennis Richardson continues to try to make a mark, this time by creating a task force to study the feasibility of an independent redistricting commission in the state.  Richardson has penned an op-ed about the effort published by Pamplin Media

More information as this process moves forward.

Always love reposting that image!

Upcoming: Election Scientists Look at Oregon Motor Voter

Over the next few weeks, I hope to be featuring on this blog postings from students who are in a new course being offered at Reed College: Data Sciences / Election Sciences.

The course is a collaborative effort with Andrew Bray, a statistics professor at Reed College, and is partially supported by a Student Digital Research grant from the Andrew Mellon Foundation (more information about the grant and the projects it has supported at Reed is contained at this website.) 

What better question to have these young scientists answer than the impact of Oregon’s innovative automatic registration system, aptly named “Oregon Motor Voter”?  We hope to go beyond the reports provided by the Oregon Secretary of State  to understand not just who is being registered via OMV, but who votes as a result of the law, and how the electorate has changed, and may change in the future, as a consequence of this reform. 

Step one is going to be a set of pretty data visualizations to whet the appetite. Expect more very soon! 

Early Voting Under Consideration in the Northeast Early Voting Under Consideration in the Northeast
Image courtesy of the National Conference of State Legislatures (http://www.ncsl.org/research/elections-and-campaigns/absentee-and-early-voting.aspx)

Image courtesy of the National Conference of State Legislatures (http://www.ncsl.org/research/elections-and-campaigns/absentee-and-early-voting.aspx)

A number of Northeast states are considering adding or expanding early voting, according to a story in The Hill. 

I hope that administrators and legislators in the states make sure they make a decision based on comprehensive and accurate information and not rely on anecdote.

Most importantly, early voting has a complicated relationship to overall voter turnout.  Most studies show a small but positive relationship, though one prominent study reports a negative relationship. If you put in more early voting locations, more citizens vote early (but it’s not clear if more voters overall cast a ballot). 

Jan Leighley and Jonathan Nagler put it best in a recent blog posting (in the context of voter registration laws): higher turnout depends mostly on parties and candidates, not on changes to voting laws. 

The point?  New Hampshire Secretary of State Bill Gardner is quoted in the story and his statement reflects many common misconceptions about early voting: 

“We’re seeing turnout nationally go down in each of the last three elections even as more and more states rush to make it easier to vote by having early voting,”

Misconception 1: there has been no “rush” to add early voting options since 2008. The rate of states adding early voting provisions has slowed substantially as we get down the final 13 holdouts (according to the National Conference of State Legislatures, 37 states plus DC offered some form of early voting in 2016, compared to 36 plus DC in 2012, and 34 in 2008).

Misconception 2: turnout has not declined for the last three cycles. Final totals in 2016 appear to be slightly up from 2012 and about 2% lower than 2008.  

Misconception 3: national turnout is the best way to understand the impact of state and local laws. National totals disguise enormous variation in turnout between and within states, competitiveness in statewide races, and differences in rules and laws.  There is also some scattered evidence that early voting benefits some subpopulations more than others, and this can be overlooked in national and even statewide totals. 

The second point in the article is harder to address: the costs of early voting.  Michael McDonald suggests that there is resistance to early voting in the Northeast because most of these states administer elections at the township level.  McDonald is right to highlight the importance of providing sufficient funding to jurisdictions to conduct elections, regardless of what options are offered (budgets were the most common point of discussion at a recent NCSL gathering).  

All I’d add here is that we don’t have a clear sense of how much early voting costs, and whether cost savings can be obtained by strategically reallocating resources between early voting and election day voting (though mis-forecasts of voting turnout can turn disastrous). 

The takeaway is that states considering adding early voting options should consider them mostly on the grounds of voter convenience, on how well the options can be adapted to the conditions faced by local jurisdictions, and only lastly on how they may increase overall turnout. 

More updates on Oregon Motor Voter

From today’s Oregonian.  I don’t even remember giving that quote!  

Nice job by Betsey Hammond.  More on OMV in the upcoming weeks, watch this space! 

Lesson from Mail-in ballot problems in Hawaii: Of Course Alert Voters when Signatures Don’t Match

The Hawaii Elections Commission is meeting this week to discuss problems with mail-in ballots in recent elections, and discuss an initiative to move to all by-mail elections in the state (this will require action by the legislature).

It’s hard to get details from this short news story, but one thing seems clear: the state needs to require local officials to notify voters when their ballots are invalidated due to missing or non-matching signatures. 

Those provisions are in place in Oregon (Statutory reference 254.431 Special procedure for ballots challenged due to failure to sign return envelope or nonmatching signature; public record limitation), and Washington, and Colorado. 

It may not have been endorsed yet as a “best practice” by an appropriate committee of election experts, but a follow up if the signature verification fails certainly is standard practice in the three states that conduct elections fully by mail.