Skip to content

Instantly share code, notes, and snippets.

@dmarcelinobr
Last active August 29, 2015 14:05
Show Gist options
  • Save dmarcelinobr/52916cc0f589c069179b to your computer and use it in GitHub Desktop.
Save dmarcelinobr/52916cc0f589c069179b to your computer and use it in GitHub Desktop.
> summary(mcmc)
forecast class object:
MCMC: 500 draws with adaptation of 500 and a thinning interval of 5.
Predicted at 2014-10-24, using 16 polls from 5 houses.
Evidence starting at 2014-03-10.
Election day 2014-10-26.
Machine runtime: ~ 7 minutes.
Expected results + swing voters:
Expected results
Frente.Amplio 0.43638330
Partido.Nacional 0.31966076
Partido.Colorado 0.13136783
OTHERS 0.04562801
SWING 0.06696009
Probability Intervals (95%):
2.5% 50% 97.5%
Frente.Amplio 0.420479451 0.43628631 0.45237897
Partido.Nacional 0.306143710 0.31961051 0.33236172
Partido.Colorado 0.122287558 0.13125033 0.13988502
OTHERS 0.006325662 0.04493395 0.08801863
SWING 0.029501727 0.06636853 0.10423299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment