Law and Public Affairs. In 2017, he founded the Princeton Gerrymandering Project, a website that allows users to check for gerrymandering in the districts of their choice using three statistical tests: Student's t-test, the Median test, and the Monte Carlo method. He also co-authored an amicus brief for Gill v. Whitford with Heather K. Gerken, Jonathan N. Katz, Gary King, and Larry Sabato in favor of partisan symmetry tests for gerrymandering. Election predictions In 2004, Wang was among the first to aggregate US presidential polls using probabilistic methods. The method's applications included correct election-eve predictions, high-resolution tracking of the race during the campaign, and identification of targets for resource allocation. Wang's calculation missed the final result by a wide margin, as he predicted that John Kerry would defeat George W. Bush by 311–227 in the electoral college, corresponding to a 98% probability of a Kerry victory. One of his alternate models did precisely predict the actual electoral outcome: Bush 286, Kerry 252. In 2008, Wang and Andrew Ferguson founded the Princeton Election Consortium blog, which analyzes U.S. national election polling. His statistical analysis in 2012 correctly predicted the presidential vote outcome in 49 of 50 states and the popular vote outcome of Barack Obama's 51.1% to Mitt Romney's 48.9%. That year, the Princeton Election Consortium also correctly called 10 out of 10 close Senate races and came within a few seats of the final House outcome. In 2016, PEC predicted a 93% chance of a Hillary Clinton victory in one model and a greater than 99% chance of a Clinton victory in his other model. Wang believed that polls were reliable and that errors were unlikely to be correlated. Fellow forecaster Nate Silver instead predicted that a larger error was very possible, citing the large number of undecided voters in 2016 compared to 2012, and believed that errors in state-level polling would likely be correlated. Clinton lost the 2016 election to Donald Trump by more than 60 electoral votes, with Wang stating that "In addition to the enormous polling error, I did not correctly estimate the size of the correlated error – by a factor of five." In response to Trump's victory, Wang subsequently ate a cricket on CNN, fulfilling a promise that he would "eat a bug" if Trump won more than 240 electoral votes. During the 2020 COVID-19 pandemic Wang began tracking the spread of the disease and