j3camero / canada-election-forecast

Code that forecasts the results for each electoral district (riding) in the Canadian 2015 federal election
Apache License 2.0
28 stars 2 forks source link

Zero out the non-existent candidates #17

Closed j3camero closed 8 years ago

j3camero commented 8 years ago

Sometimes I'm projecting some popular vote for candidate that don't exist. A good recent example is the Green candidate in Kelowna who withdrew. We can deal with this by having a manually updated file of riding-party pairs that are constrained to zero.

j3camero commented 8 years ago

Get back to IM when this is fixed.

j3camero commented 8 years ago

Done https://github.com/j3camero/canada-election-forecast/commit/e3a1a16e7b82e75ed285b261b9fd304e60027d49

Only two ridings affected, both involving a candidate who dropped out.