sapor 0.1b1 → 0.2a1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Example-Catalonia.md +361 -0
- data/Example-Flanders.md +486 -0
- data/Example-Greece.md +25 -0
- data/Example-Oslo.md +678 -0
- data/Example-UnitedKingdom-Referendum.md +132 -0
- data/Examples.md +9 -355
- data/README.md +41 -8
- data/bin/create_installation_package.sh +2 -2
- data/bin/install.sh +1 -1
- data/bin/sapor.rb +4 -2
- data/bin/sapor.sh +10 -9
- data/data/hu/hungary-2014.txt +1680 -0
- data/data/hu/hungary_2014_screen_scraper.rb +48 -0
- data/data/hu/hungary_2014_to_psv.rb +80 -0
- data/data/hu/index-2014.txt +106 -0
- data/data/pl/2015-gl-lis-okr.csv +42 -0
- data/data/pl/poland_2015_to_psv.rb +79 -0
- data/data/pl/poland_2015_to_psv_with_ko_and_rsw.rb +94 -0
- data/data/pl/poland_2015_to_psv_with_ko_konf_kp_l_and_zp.rb +100 -0
- data/data/pl/poland_2015_to_psv_with_ko_sld_and_wi.rb +92 -0
- data/data/pl/poland_2015_to_psv_with_sld.rb +84 -0
- data/data/pl/poland_2015_to_psv_with_sld_and_wi.rb +85 -0
- data/data/uk/inject_ukip_2015_as_brexit_2019_in_2017.rb +54 -0
- data/data/uk/united_kingdom_2015.txt +651 -0
- data/data/uk/united_kingdom_2015_to_psv.rb +104 -0
- data/data/uk/united_kingdom_2017.txt +651 -0
- data/data/uk/united_kingdom_2017_to_psv.rb +104 -0
- data/data/uk/united_kingdom_2017_to_psv_with_brexit_and_chuk.rb +113 -0
- data/data/uk/united_kingdom_2017_to_psv_with_tig.rb +111 -0
- data/lib/sapor/binomials_cache.rb +1 -1
- data/lib/sapor/combinations_distribution.rb +43 -1
- data/lib/sapor/denominators.rb +67 -0
- data/lib/sapor/dichotomies.rb +41 -1
- data/lib/sapor/dichotomy.rb +31 -5
- data/lib/sapor/first_past_the_post.rb +6 -2
- data/lib/sapor/largest_remainder.rb +118 -0
- data/lib/sapor/log4r_logger.rb +1 -1
- data/lib/sapor/log_facade.rb +1 -1
- data/lib/sapor/{leveled_proportional.rb → multi_district_leveled_proportional.rb} +7 -7
- data/lib/sapor/{proportional.rb → multi_district_proportional.rb} +27 -32
- data/lib/sapor/multi_district_variable_threshold_proportional.rb +128 -0
- data/lib/sapor/number_formatter.rb +1 -1
- data/lib/sapor/options.rb +73 -0
- data/lib/sapor/poll.rb +178 -29
- data/lib/sapor/polychotomy.rb +100 -259
- data/lib/sapor/pseudorandom_multirange_enumerator.rb +1 -1
- data/lib/sapor/referendum_polychotomy.rb +165 -0
- data/lib/sapor/regional_data/area.rb +4 -2
- data/lib/sapor/regional_data/austria.rb +84 -0
- data/lib/sapor/regional_data/belgium-brussels-2014.psv +46 -0
- data/lib/sapor/regional_data/belgium-brussels-20190526.psv +33 -0
- data/lib/sapor/regional_data/belgium-flanders-2014.psv +80 -0
- data/lib/sapor/regional_data/belgium-flanders-20190526.psv +74 -0
- data/lib/sapor/regional_data/belgium-wallonia-2014.psv +114 -0
- data/lib/sapor/regional_data/belgium-wallonia-20190526.psv +93 -0
- data/lib/sapor/regional_data/belgium.rb +97 -0
- data/lib/sapor/regional_data/belgium_brussels.rb +62 -0
- data/lib/sapor/regional_data/belgium_flanders.rb +64 -0
- data/lib/sapor/regional_data/belgium_wallonia.rb +63 -0
- data/lib/sapor/regional_data/catalonia-2012-2015.psv +1 -1
- data/lib/sapor/regional_data/catalonia-2012.psv +1 -1
- data/lib/sapor/regional_data/catalonia-2015-jxcat.psv +68 -0
- data/lib/sapor/regional_data/catalonia-2015-no-jxsi.psv +68 -0
- data/lib/sapor/regional_data/catalonia-2015.psv +63 -0
- data/lib/sapor/regional_data/catalonia-jxcat.rb +109 -0
- data/lib/sapor/regional_data/catalonia-no-jxsi.rb +96 -0
- data/lib/sapor/regional_data/catalonia.rb +27 -21
- data/lib/sapor/regional_data/denmark-20150618-with-e-and-p.psv +164 -0
- data/lib/sapor/regional_data/denmark-20150618-with-e.psv +153 -0
- data/lib/sapor/regional_data/denmark-20150618-with-p.psv +153 -0
- data/lib/sapor/regional_data/denmark-20150618.psv +142 -0
- data/lib/sapor/regional_data/denmark.rb +128 -0
- data/lib/sapor/regional_data/denmark_with_e.rb +128 -0
- data/lib/sapor/regional_data/denmark_with_e_and_p.rb +128 -0
- data/lib/sapor/regional_data/denmark_with_p.rb +128 -0
- data/lib/sapor/regional_data/estonia.rb +88 -0
- data/lib/sapor/regional_data/european-union-great-britain-20140522-brexit-chuk.psv +172 -0
- data/lib/sapor/regional_data/european-union-great-britain-20140522.psv +146 -0
- data/lib/sapor/regional_data/european-union-great-britain-20190523.psv +141 -0
- data/lib/sapor/regional_data/european-union-ireland-2014-ia-ri-sd.psv +64 -0
- data/lib/sapor/regional_data/european-union-ireland-2014-ia-sd.psv +60 -0
- data/lib/sapor/regional_data/european-union-ireland-2014-ia.psv +56 -0
- data/lib/sapor/regional_data/european-union-ireland-2014-sd.psv +56 -0
- data/lib/sapor/regional_data/european-union-ireland-2014.psv +50 -0
- data/lib/sapor/regional_data/european-union-ireland-20190524-ia.psv +58 -0
- data/lib/sapor/regional_data/european-union-ireland-20190524.psv +52 -0
- data/lib/sapor/regional_data/european_union_27_austria.rb +76 -0
- data/lib/sapor/regional_data/european_union_27_croatia.rb +81 -0
- data/lib/sapor/regional_data/european_union_27_denmark.rb +77 -0
- data/lib/sapor/regional_data/european_union_27_estonia.rb +74 -0
- data/lib/sapor/regional_data/european_union_27_finland.rb +74 -0
- data/lib/sapor/regional_data/european_union_27_ireland.rb +96 -0
- data/lib/sapor/regional_data/european_union_27_ireland_with_ia.rb +97 -0
- data/lib/sapor/regional_data/european_union_27_italy.rb +83 -0
- data/lib/sapor/regional_data/european_union_27_netherlands.rb +81 -0
- data/lib/sapor/regional_data/european_union_27_poland.rb +79 -0
- data/lib/sapor/regional_data/european_union_27_romania.rb +78 -0
- data/lib/sapor/regional_data/european_union_27_slovakia.rb +80 -0
- data/lib/sapor/regional_data/european_union_27_spain.rb +82 -0
- data/lib/sapor/regional_data/european_union_27_sweden.rb +76 -0
- data/lib/sapor/regional_data/european_union_austria.rb +76 -0
- data/lib/sapor/regional_data/european_union_bulgaria.rb +81 -0
- data/lib/sapor/regional_data/european_union_croatia.rb +81 -0
- data/lib/sapor/regional_data/european_union_cyprus.rb +72 -0
- data/lib/sapor/regional_data/european_union_czech_republic.rb +82 -0
- data/lib/sapor/regional_data/european_union_denmark.rb +77 -0
- data/lib/sapor/regional_data/european_union_estonia.rb +74 -0
- data/lib/sapor/regional_data/european_union_finland.rb +74 -0
- data/lib/sapor/regional_data/european_union_flanders.rb +74 -0
- data/lib/sapor/regional_data/european_union_france.rb +84 -0
- data/lib/sapor/regional_data/european_union_france_2019.rb +84 -0
- data/lib/sapor/regional_data/european_union_french_community_of_belgium.rb +73 -0
- data/lib/sapor/regional_data/european_union_germany.rb +86 -0
- data/lib/sapor/regional_data/european_union_great_britain.rb +98 -0
- data/lib/sapor/regional_data/european_union_greece.rb +77 -0
- data/lib/sapor/regional_data/european_union_hungary.rb +76 -0
- data/lib/sapor/regional_data/european_union_ireland.rb +96 -0
- data/lib/sapor/regional_data/european_union_ireland_with_ia.rb +97 -0
- data/lib/sapor/regional_data/european_union_italy.rb +83 -0
- data/lib/sapor/regional_data/european_union_latvia.rb +81 -0
- data/lib/sapor/regional_data/european_union_lithuania.rb +80 -0
- data/lib/sapor/regional_data/european_union_luxembourg.rb +75 -0
- data/lib/sapor/regional_data/european_union_malta.rb +71 -0
- data/lib/sapor/regional_data/european_union_netherlands.rb +81 -0
- data/lib/sapor/regional_data/european_union_northern_ireland.rb +75 -0
- data/lib/sapor/regional_data/european_union_poland.rb +79 -0
- data/lib/sapor/regional_data/european_union_portugal.rb +75 -0
- data/lib/sapor/regional_data/european_union_romania.rb +78 -0
- data/lib/sapor/regional_data/european_union_slovakia.rb +81 -0
- data/lib/sapor/regional_data/european_union_slovenia.rb +85 -0
- data/lib/sapor/regional_data/european_union_spain.rb +82 -0
- data/lib/sapor/regional_data/european_union_sweden.rb +76 -0
- data/lib/sapor/regional_data/finland-20150419-with-sin.psv +224 -0
- data/lib/sapor/regional_data/finland-20150419.psv +212 -0
- data/lib/sapor/regional_data/finland.rb +107 -0
- data/lib/sapor/regional_data/finland_with_sin.rb +107 -0
- data/lib/sapor/regional_data/flanders-2014.psv +96 -0
- data/lib/sapor/regional_data/flanders-20190526.psv +87 -0
- data/lib/sapor/regional_data/flanders.rb +115 -0
- data/lib/sapor/regional_data/france.rb +38 -0
- data/lib/sapor/regional_data/greece.rb +92 -0
- data/lib/sapor/regional_data/hungary-2014.psv +2104 -0
- data/lib/sapor/regional_data/hungary.rb +116 -0
- data/lib/sapor/regional_data/iceland-20161029-midflokkurinn.psv +94 -0
- data/lib/sapor/regional_data/iceland-20161029.psv +88 -0
- data/lib/sapor/regional_data/iceland-20171028.psv +85 -0
- data/lib/sapor/regional_data/iceland.rb +133 -0
- data/lib/sapor/regional_data/latvia-20141004-kpv-p-par.psv +109 -0
- data/lib/sapor/regional_data/latvia-20141004-kpv-par.psv +103 -0
- data/lib/sapor/regional_data/latvia-20141004-kpv.psv +97 -0
- data/lib/sapor/regional_data/latvia-20141004.psv +89 -0
- data/lib/sapor/regional_data/latvia.rb +112 -0
- data/lib/sapor/regional_data/latvia_kpv.rb +112 -0
- data/lib/sapor/regional_data/latvia_kpv_p_par.rb +112 -0
- data/lib/sapor/regional_data/latvia_kpv_par.rb +112 -0
- data/lib/sapor/regional_data/luxembourg-20131020.psv +76 -0
- data/lib/sapor/regional_data/luxembourg.rb +82 -0
- data/lib/sapor/regional_data/netherlands.rb +108 -0
- data/lib/sapor/regional_data/norway.rb +85 -68
- data/lib/sapor/regional_data/norwegian_municipality.rb +68 -0
- data/lib/sapor/regional_data/poland-20151025-with-ko-and-l-without-n-po-r-and-zl.psv +321 -0
- data/lib/sapor/regional_data/poland-20151025-with-ko-konf-kp-l-and-zp-without-k-k15-n-pis-po-psl-r-and-zl.psv +280 -0
- data/lib/sapor/regional_data/poland-20151025-with-ko-sld-and-wi-without-n-po-and-zl.psv +403 -0
- data/lib/sapor/regional_data/poland-20151025-with-sld-and-wi-without-zl.psv +444 -0
- data/lib/sapor/regional_data/poland-20151025-with-sld-without-zl.psv +403 -0
- data/lib/sapor/regional_data/poland-20151025.psv +403 -0
- data/lib/sapor/regional_data/poland.rb +125 -0
- data/lib/sapor/regional_data/poland_with_ko_and_l_without_n_po_r_and_zl.rb +122 -0
- data/lib/sapor/regional_data/poland_with_ko_konf_kp_l_and_zp_without_k_k15_n_pis_po_psl_r_and_zl.rb +123 -0
- data/lib/sapor/regional_data/poland_with_ko_sld_and_wi_without_n_po_and_zl.rb +125 -0
- data/lib/sapor/regional_data/poland_with_sld_and_wi_without_zl.rb +126 -0
- data/lib/sapor/regional_data/poland_with_sld_without_zl.rb +126 -0
- data/lib/sapor/regional_data/portugal-20151004-with-a-and-ch-without-paf.psv +438 -0
- data/lib/sapor/regional_data/portugal-20151004-with-a-and-il-without-paf.psv +438 -0
- data/lib/sapor/regional_data/portugal-20151004-with-a-ch-and-il-without-paf.psv +461 -0
- data/lib/sapor/regional_data/portugal-20151004-with-a-without-paf.psv +415 -0
- data/lib/sapor/regional_data/portugal-20151004-with-ch-and-il-without-paf.psv +438 -0
- data/lib/sapor/regional_data/portugal-20151004-without-paf.psv +392 -0
- data/lib/sapor/regional_data/portugal-20151004.psv +370 -0
- data/lib/sapor/regional_data/portugal.rb +101 -0
- data/lib/sapor/regional_data/portugal_with_a_and_ch_without_paf.rb +92 -0
- data/lib/sapor/regional_data/portugal_with_a_and_il_without_paf.rb +92 -0
- data/lib/sapor/regional_data/portugal_with_a_ch_and_il_without_paf.rb +92 -0
- data/lib/sapor/regional_data/portugal_with_a_without_paf.rb +92 -0
- data/lib/sapor/regional_data/portugal_with_ch_and_il_without_paf.rb +92 -0
- data/lib/sapor/regional_data/portugal_without_paf.rb +92 -0
- data/lib/sapor/regional_data/slovakia.rb +81 -0
- data/lib/sapor/regional_data/slovenia.rb +114 -0
- data/lib/sapor/regional_data/spain-20160626.psv +619 -0
- data/lib/sapor/regional_data/spain.rb +136 -0
- data/lib/sapor/regional_data/sweden.rb +92 -0
- data/lib/sapor/regional_data/sweden_20140914.rb +89 -0
- data/lib/sapor/regional_data/united_kingdom-2015.psv +4358 -0
- data/lib/sapor/regional_data/united_kingdom-20170608-brexit-chuk.psv +5154 -0
- data/lib/sapor/regional_data/united_kingdom-20170608-brexit.psv +4521 -0
- data/lib/sapor/regional_data/united_kingdom-20170608-tig.psv +4529 -0
- data/lib/sapor/regional_data/united_kingdom-20170608.psv +3894 -0
- data/lib/sapor/regional_data/united_kingdom.rb +57 -1038
- data/lib/sapor/regional_data/united_kingdom_with_brexit.rb +110 -0
- data/lib/sapor/regional_data/united_kingdom_with_brexit_and_chuk.rb +111 -0
- data/lib/sapor/regional_data/united_kingdom_with_tig.rb +111 -0
- data/lib/sapor/regional_data/utopia.rb +2 -2
- data/lib/sapor/regional_data/wallonia-2014.psv +101 -0
- data/lib/sapor/regional_data/wallonia.rb +97 -0
- data/lib/sapor/representatives_polychotomy.rb +338 -0
- data/lib/sapor/single_district_proportional.rb +75 -0
- data/lib/sapor.rb +112 -6
- data/sapor.gemspec +2 -2
- data/spec/integration/area_spec.rb +2 -2
- data/spec/integration/poll_spec.rb +6 -1
- data/spec/integration/sample.poll +2 -1
- data/spec/spec_helper.rb +2 -2
- data/spec/unit/area_spec.rb +12 -12
- data/spec/unit/austria_spec.rb +76 -0
- data/spec/unit/belgium_brussels_spec.rb +58 -0
- data/spec/unit/belgium_flanders_spec.rb +62 -0
- data/spec/unit/belgium_spec.rb +26 -0
- data/spec/unit/belgium_wallonia_spec.rb +65 -0
- data/spec/unit/binomials_cache_spec.rb +1 -1
- data/spec/unit/catalonia_spec.rb +21 -29
- data/spec/unit/combinations_distribution_spec.rb +1 -1
- data/spec/unit/denmark_spec.rb +56 -0
- data/spec/unit/denmark_with_e_and_p_spec.rb +58 -0
- data/spec/unit/denmark_with_e_spec.rb +57 -0
- data/spec/unit/denmark_with_p_spec.rb +57 -0
- data/spec/unit/denominators_spec.rb +8 -2
- data/spec/unit/dichotomies_spec.rb +1 -1
- data/spec/unit/dichotomy_spec.rb +1 -1
- data/spec/unit/estonia_spec.rb +65 -0
- data/spec/unit/european_union_27_austria_spec.rb +61 -0
- data/spec/unit/european_union_27_croatia_spec.rb +60 -0
- data/spec/unit/european_union_27_denmark_spec.rb +62 -0
- data/spec/unit/european_union_27_estonia_spec.rb +94 -0
- data/spec/unit/european_union_27_finland_spec.rb +75 -0
- data/spec/unit/european_union_27_ireland_spec.rb +72 -0
- data/spec/unit/european_union_27_ireland_with_ia_spec.rb +74 -0
- data/spec/unit/european_union_27_italy_spec.rb +69 -0
- data/spec/unit/european_union_27_netherlands_spec.rb +81 -0
- data/spec/unit/european_union_27_poland_spec.rb +69 -0
- data/spec/unit/european_union_27_romania_spec.rb +67 -0
- data/spec/unit/european_union_27_slovakia_spec.rb +111 -0
- data/spec/unit/european_union_27_spain_spec.rb +130 -0
- data/spec/unit/european_union_27_sweden_spec.rb +89 -0
- data/spec/unit/european_union_austria_spec.rb +61 -0
- data/spec/unit/european_union_bulgaria_spec.rb +97 -0
- data/spec/unit/european_union_croatia_spec.rb +59 -0
- data/spec/unit/european_union_cyprus_spec.rb +65 -0
- data/spec/unit/european_union_czech_republic_spec.rb +125 -0
- data/spec/unit/european_union_denmark_spec.rb +61 -0
- data/spec/unit/european_union_estonia_spec.rb +93 -0
- data/spec/unit/european_union_finland_spec.rb +75 -0
- data/spec/unit/european_union_flanders_spec.rb +56 -0
- data/spec/unit/european_union_france_2019_spec.rb +73 -0
- data/spec/unit/european_union_france_spec.rb +73 -0
- data/spec/unit/european_union_french_community_of_belgium_spec.rb +61 -0
- data/spec/unit/european_union_germany_spec.rb +90 -0
- data/spec/unit/european_union_great_britain_spec.rb +87 -0
- data/spec/unit/european_union_greece_spec.rb +148 -0
- data/spec/unit/european_union_hungary_spec.rb +57 -0
- data/spec/unit/european_union_ireland_spec.rb +72 -0
- data/spec/unit/european_union_ireland_with_ia_spec.rb +74 -0
- data/spec/unit/european_union_italy_spec.rb +69 -0
- data/spec/unit/european_union_latvia_spec.rb +76 -0
- data/spec/unit/european_union_lithuania_spec.rb +68 -0
- data/spec/unit/european_union_luxembourg_spec.rb +63 -0
- data/spec/unit/european_union_malta_spec.rb +60 -0
- data/spec/unit/european_union_netherlands_spec.rb +81 -0
- data/spec/unit/european_union_northern_ireland_spec.rb +66 -0
- data/spec/unit/european_union_poland_spec.rb +69 -0
- data/spec/unit/european_union_portugal_spec.rb +77 -0
- data/spec/unit/european_union_romania_spec.rb +67 -0
- data/spec/unit/european_union_slovakia_spec.rb +111 -0
- data/spec/unit/european_union_slovenia_spec.rb +77 -0
- data/spec/unit/european_union_spain_spec.rb +129 -0
- data/spec/unit/european_union_sweden_spec.rb +89 -0
- data/spec/unit/finland_spec.rb +65 -0
- data/spec/unit/finland_with_sin_spec.rb +67 -0
- data/spec/unit/first_past_the_post_spec.rb +6 -5
- data/spec/unit/flanders_spec.rb +70 -0
- data/spec/unit/france_spec.rb +32 -0
- data/spec/unit/greece_spec.rb +118 -0
- data/spec/unit/hungary_spec.rb +132 -0
- data/spec/unit/iceland_spec.rb +57 -0
- data/spec/unit/largest_remainder_spec.rb +79 -0
- data/spec/unit/latvia_kpv_p_par_spec.rb +38 -0
- data/spec/unit/latvia_kpv_par_spec.rb +38 -0
- data/spec/unit/latvia_kpv_spec.rb +38 -0
- data/spec/unit/latvia_spec.rb +60 -0
- data/spec/unit/luxembourg_spec.rb +54 -0
- data/spec/unit/{leveled_proportional_spec.rb → multi_district_leveled_proportional_spec.rb} +12 -14
- data/spec/unit/{proportional_spec.rb → multi_district_proportional_spec.rb} +11 -16
- data/spec/unit/netherlands_spec.rb +107 -0
- data/spec/unit/norway_spec.rb +23 -6
- data/spec/unit/norwegian_municipality_spec.rb +89 -0
- data/spec/unit/number_formatter_spec.rb +1 -1
- data/spec/unit/poland_spec.rb +62 -0
- data/spec/unit/poland_with_ko_and_l_without_n_po_r_and_zl_spec.rb +60 -0
- data/spec/unit/poland_with_ko_konf_kp_l_and_zp_without_k_k15_n_pis_po_psl_r_and_zl_spec.rb +59 -0
- data/spec/unit/poland_with_ko_sld_and_wi_without_n_po_and_zl_spec.rb +62 -0
- data/spec/unit/poland_with_sld_and_wi_without_zl_spec.rb +63 -0
- data/spec/unit/poland_with_sld_without_zl_spec.rb +62 -0
- data/spec/unit/poll_spec.rb +8 -3
- data/spec/unit/portugal_spec.rb +66 -0
- data/spec/unit/portugal_with_a_and_ch_without_paf_spec.rb +68 -0
- data/spec/unit/portugal_with_a_and_il_without_paf_spec.rb +68 -0
- data/spec/unit/portugal_with_a_ch_and_il_without_paf_spec.rb +69 -0
- data/spec/unit/portugal_with_a_without_paf_spec.rb +67 -0
- data/spec/unit/portugal_with_ch_and_il_without_paf_spec.rb +68 -0
- data/spec/unit/portugal_without_paf_spec.rb +66 -0
- data/spec/unit/pseudorandom_multirange_enumerator_spec.rb +1 -1
- data/spec/unit/referendum_polychotomy_spec.rb +289 -0
- data/spec/unit/{polychotomy_spec.rb → representatives_polychotomy_spec.rb} +26 -26
- data/spec/unit/slovakia_spec.rb +99 -0
- data/spec/unit/slovenia_spec.rb +80 -0
- data/spec/unit/spain_spec.rb +101 -0
- data/spec/unit/sweden_20140914_spec.rb +112 -0
- data/spec/unit/sweden_spec.rb +113 -0
- data/spec/unit/united_kingdom_spec.rb +65 -0
- data/spec/unit/united_kingdom_with_brexit_and_chuk_spec.rb +67 -0
- data/spec/unit/united_kingdom_with_brexit_spec.rb +66 -0
- data/spec/unit/united_kingdom_with_tig_spec.rb +66 -0
- data/spec/unit/wallonia_spec.rb +130 -0
- metadata +381 -11
@@ -0,0 +1,132 @@
|
|
1
|
+
Example: United Kingdom Referendum
|
2
|
+
==================================
|
3
|
+
|
4
|
+
The following file is a valid poll file for a British referendum poll. It is
|
5
|
+
based on the results of a poll conducted between 4 and 6 March by ICM.
|
6
|
+
|
7
|
+
Area=UK
|
8
|
+
Type=Referendum
|
9
|
+
==
|
10
|
+
Remain=819
|
11
|
+
Leave=816
|
12
|
+
Other=368
|
13
|
+
|
14
|
+
The following call will use the poll file to run an analysis, provided it has
|
15
|
+
been saved as 2016-04-06-ICM.poll.
|
16
|
+
|
17
|
+
sapor analyze 2016-04-06-ICM.poll
|
18
|
+
|
19
|
+
For this file, the log will look like below.
|
20
|
+
|
21
|
+
2016-03-25 09:05:45 INFO: Analyzing as a set of dichotomies...
|
22
|
+
2016-03-25 09:05:45 INFO: Most probable fractions and 95% confidence intervals:
|
23
|
+
Choice MPF CI(95%) P(≥50%)
|
24
|
+
Leave 50.0% 33.3%– 66.7% 100.0%
|
25
|
+
Remain 50.0% 33.3%– 66.7% 100.0%
|
26
|
+
Other 16.7% 0.0%– 33.3% 0.0%
|
27
|
+
2016-03-25 09:05:45 INFO: Error estimate: ε ≤ 33.3%.
|
28
|
+
2016-03-25 09:05:45 INFO: Number of data points: 3.
|
29
|
+
2016-03-25 09:05:45 INFO: Most probable fractions and 95% confidence intervals:
|
30
|
+
Choice MPF CI(95%) P(≥50%)
|
31
|
+
Leave 38.9% 33.3%– 44.4% 0.0%
|
32
|
+
Remain 38.9% 33.3%– 44.4% 0.0%
|
33
|
+
Other 16.7% 11.1%– 22.2% 0.0%
|
34
|
+
2016-03-25 09:05:45 INFO: Error estimate: ε ≤ 11.1%.
|
35
|
+
2016-03-25 09:05:45 INFO: Number of data points: 9.
|
36
|
+
2016-03-25 09:05:45 INFO: Most probable fractions and 95% confidence intervals:
|
37
|
+
Choice MPF CI(95%) P(≥50%)
|
38
|
+
Leave 42.6% 37.0%– 44.4% 0.0%
|
39
|
+
Remain 42.6% 37.0%– 44.4% 0.0%
|
40
|
+
Other 16.7% 14.8%– 22.2% 0.0%
|
41
|
+
2016-03-25 09:05:45 INFO: Error estimate: ε ≤ 3.70%.
|
42
|
+
2016-03-25 09:05:45 INFO: Number of data points: 27.
|
43
|
+
2016-03-25 09:05:46 INFO: Most probable fractions and 95% confidence intervals:
|
44
|
+
Choice MPF CI(95%) P(≥50%)
|
45
|
+
Remain 41.4% 38.3%– 43.2% 0.0%
|
46
|
+
Leave 40.1% 38.3%– 43.2% 0.0%
|
47
|
+
Other 17.9% 16.0%– 21.0% 0.0%
|
48
|
+
2016-03-25 09:05:46 INFO: Error estimate: ε ≤ 1.23%.
|
49
|
+
2016-03-25 09:05:46 INFO: Number of data points: 81.
|
50
|
+
2016-03-25 09:05:48 INFO: Most probable fractions and 95% confidence intervals:
|
51
|
+
Choice MPF CI(95%) P(≥50%)
|
52
|
+
Remain 40.9% 38.7%– 43.2% 0.0%
|
53
|
+
Leave 40.5% 38.3%– 43.2% 0.0%
|
54
|
+
Other 18.3% 16.5%– 20.2% 0.0%
|
55
|
+
2016-03-25 09:05:48 INFO: Error estimate: ε ≤ 0.412%.
|
56
|
+
2016-03-25 09:05:48 INFO: Number of data points: 243.
|
57
|
+
2016-03-25 09:05:53 INFO: Most probable fractions and 95% confidence intervals:
|
58
|
+
Choice MPF CI(95%) P(≥50%)
|
59
|
+
Remain 40.9% 38.7%– 43.1% 0.0%
|
60
|
+
Leave 40.7% 38.5%– 42.9% 0.0%
|
61
|
+
Other 18.3% 16.7%– 20.2% 0.0%
|
62
|
+
2016-03-25 09:05:53 INFO: Error estimate: ε ≤ 0.137%.
|
63
|
+
2016-03-25 09:05:53 INFO: Number of data points: 729.
|
64
|
+
2016-03-25 09:06:13 INFO: Most probable fractions and 95% confidence intervals:
|
65
|
+
Choice MPF CI(95%) P(≥50%)
|
66
|
+
Remain 40.9% 38.7%– 43.1% 0.0%
|
67
|
+
Leave 40.7% 38.6%– 42.9% 0.0%
|
68
|
+
Other 18.4% 16.7%– 20.2% 0.0%
|
69
|
+
2016-03-25 09:06:15 INFO: Error estimate: ε ≤ 0.046%.
|
70
|
+
2016-03-25 09:06:15 INFO: Number of data points: 2,187.
|
71
|
+
2016-03-25 09:06:17 INFO: Analyzing as a polychotomy...
|
72
|
+
2016-03-25 09:06:18 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
73
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
74
|
+
Remain 40.9% 17.8% 35.6% 35.6%– 35.6% 100.0%
|
75
|
+
Leave 40.7% 17.8% 35.5% 35.5%– 35.5%
|
76
|
+
2016-03-25 09:06:18 INFO: Error estimate: ε ≤ 100%.
|
77
|
+
2016-03-25 09:06:18 INFO: 1 simulations out of 1 data points, 1 / 55,460 of search space size (55,460).
|
78
|
+
2016-03-25 09:06:18 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
79
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
80
|
+
Remain 40.9% 35.7% 35.7% 35.6%– 35.8% 100.0%
|
81
|
+
Leave 40.7% 35.5% 35.5% 35.5%– 35.5%
|
82
|
+
2016-03-25 09:06:18 INFO: Error estimate: ε ≤ 17.9%.
|
83
|
+
2016-03-25 09:06:18 INFO: 2 simulations out of 2 data points, 1 / 27,730 of search space size (55,460).
|
84
|
+
2016-03-25 09:06:19 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
85
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
86
|
+
Remain 40.9% 36.0% 36.0% 35.7%– 36.0% 100.0%
|
87
|
+
Leave 40.7% 35.6% 35.6% 35.5%– 35.6%
|
88
|
+
2016-03-25 09:06:19 INFO: Error estimate: ε ≤ 0.300%.
|
89
|
+
2016-03-25 09:06:19 INFO: 4 simulations out of 4 data points, 1 / 13,865 of search space size (55,460).
|
90
|
+
2016-03-25 09:06:19 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
91
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
92
|
+
Remain 40.9% 36.6% 36.6% 36.3%– 36.6% 100.0%
|
93
|
+
Leave 40.7% 35.8% 35.8% 35.7%– 35.8%
|
94
|
+
2016-03-25 09:06:19 INFO: Error estimate: ε ≤ 0.600%.
|
95
|
+
2016-03-25 09:06:19 INFO: 8 simulations out of 8 data points, 1 / 6,933 of search space size (55,460).
|
96
|
+
2016-03-25 09:06:20 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
97
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
98
|
+
Remain 40.9% 37.7% 37.7% 37.4%– 37.7% 100.0%
|
99
|
+
Leave 40.7% 36.1% 36.1% 36.0%– 36.2%
|
100
|
+
2016-03-25 09:06:20 INFO: Error estimate: ε ≤ 1.10%.
|
101
|
+
2016-03-25 09:06:20 INFO: 16 simulations out of 16 data points, 1 / 3,466 of search space size (55,460).
|
102
|
+
2016-03-25 09:06:20 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
103
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
104
|
+
Remain 40.9% 39.8% 39.8% 39.4%– 39.9% 100.0%
|
105
|
+
Leave 40.7% 36.9% 36.9% 36.7%– 36.9%
|
106
|
+
2016-03-25 09:06:20 INFO: Error estimate: ε ≤ 2.19%.
|
107
|
+
2016-03-25 09:06:20 INFO: 32 simulations out of 32 data points, 1 / 1,733 of search space size (55,460).
|
108
|
+
2016-03-25 09:06:20 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
109
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
110
|
+
Remain 40.9% 43.3% 43.3% 41.9%– 44.1% 100.0%
|
111
|
+
Leave 40.7% 38.0% 38.0% 37.5%– 38.3%
|
112
|
+
2016-03-25 09:06:20 INFO: Error estimate: ε ≤ 3.50%.
|
113
|
+
2016-03-25 09:06:20 INFO: 64 simulations out of 64 data points, 1 / 867 of search space size (55,460).
|
114
|
+
2016-03-25 09:06:21 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
115
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
116
|
+
Remain 40.9% 40.7% 40.9% 39.6%– 42.9% 53.6%
|
117
|
+
Leave 40.7% 40.8% 40.8% 38.1%– 41.2%
|
118
|
+
2016-03-25 09:06:21 INFO: Error estimate: ε ≤ 2.80%.
|
119
|
+
2016-03-25 09:06:21 INFO: 128 simulations out of 128 data points, 1 / 433 of search space size (55,460).
|
120
|
+
2016-03-25 09:06:22 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
121
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
122
|
+
Remain 40.9% 40.7% 40.9% 39.0%– 42.9% 52.5%
|
123
|
+
Leave 40.7% 40.8% 40.8% 38.1%– 43.3%
|
124
|
+
2016-03-25 09:06:22 INFO: Error estimate: ε ≤ 2.80%.
|
125
|
+
2016-03-25 09:06:22 INFO: 256 simulations out of 256 data points, 1 / 217 of search space size (55,460).
|
126
|
+
2016-03-25 09:06:24 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
127
|
+
Choice Result MPRF MPF CI(95%) P(>↓)
|
128
|
+
Remain 40.9% 40.7% 40.9% 39.0%– 42.9% 47.8%
|
129
|
+
Leave 40.7% 40.8% 40.8% 38.1%– 43.2%
|
130
|
+
2016-03-25 09:06:24 INFO: Error estimate: ε ≤ 0.046%.
|
131
|
+
2016-03-25 09:06:24 INFO: 512 simulations out of 512 data points, 1 / 108 of search space size (55,460).
|
132
|
+
2016-03-25 09:06:24 INFO: Done.
|
data/Examples.md
CHANGED
@@ -1,361 +1,15 @@
|
|
1
1
|
Examples
|
2
2
|
========
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
Election Polls
|
5
|
+
--------------
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Ciutadans-Partido de la Ciudadanía=131
|
12
|
-
Partit dels Socialistes de Catalunya=74
|
13
|
-
Partit Popular de Catalunya=74
|
14
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres=66
|
15
|
-
Unió Democràtica de Catalunya=33
|
16
|
-
Other=16
|
7
|
+
* [Catalonia](Example-Catalonia.md)
|
8
|
+
* [Flanders](Example-Flanders.md)
|
9
|
+
* [Greece](Example-Greece.md)
|
10
|
+
* [Oslo](Example-Oslo.md)
|
17
11
|
|
18
|
-
|
12
|
+
Referendum Polls
|
13
|
+
----------------
|
19
14
|
|
20
|
-
|
21
|
-
|
22
|
-
For this file, the log will look like below.
|
23
|
-
|
24
|
-
2015-08-01 09:32:05 INFO: Analyzing as a set of dichotomies...
|
25
|
-
2015-08-01 09:32:05 INFO: Most probable fractions and 95% confidence intervals:
|
26
|
-
Choice MPF CI(95%) P(≥3%)
|
27
|
-
Junts pel Sí 50.0% 0.0%– 66.7% 100.0%
|
28
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 16.7% 0.0%– 33.3% 100.0%
|
29
|
-
Catalunya Sí que es Pot 16.7% 0.0%– 33.3% 100.0%
|
30
|
-
Ciutadans-Partido de la Ciudadanía 16.7% 0.0%– 33.3% 100.0%
|
31
|
-
Partit Popular de Catalunya 16.7% 0.0%– 33.3% 100.0%
|
32
|
-
Partit dels Socialistes de Catalunya 16.7% 0.0%– 33.3% 100.0%
|
33
|
-
Unió Democràtica de Catalunya 16.7% 0.0%– 33.3% 100.0%
|
34
|
-
Other 16.7% 0.0%– 33.3% 100.0%
|
35
|
-
2015-08-01 09:32:05 INFO: Error estimate: ε ≤ 33.3%.
|
36
|
-
2015-08-01 09:32:05 INFO: Number of data points: 3.
|
37
|
-
2015-08-01 09:32:05 INFO: Most probable fractions and 95% confidence intervals:
|
38
|
-
Choice MPF CI(95%) P(≥3%)
|
39
|
-
Junts pel Sí 27.8% 22.2%– 33.3% 100.0%
|
40
|
-
Catalunya Sí que es Pot 16.7% 11.1%– 22.2% 100.0%
|
41
|
-
Ciutadans-Partido de la Ciudadanía 16.7% 11.1%– 22.2% 100.0%
|
42
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 5.6% 0.0%– 11.1% 100.0%
|
43
|
-
Partit Popular de Catalunya 5.6% 0.0%– 11.1% 100.0%
|
44
|
-
Partit dels Socialistes de Catalunya 5.6% 0.0%– 11.1% 100.0%
|
45
|
-
Unió Democràtica de Catalunya 5.6% 0.0%– 11.1% 100.0%
|
46
|
-
Other 5.6% 0.0%– 11.1% 100.0%
|
47
|
-
2015-08-01 09:32:05 INFO: Error estimate: ε ≤ 11.1%.
|
48
|
-
2015-08-01 09:32:05 INFO: Number of data points: 9.
|
49
|
-
2015-08-01 09:32:05 INFO: Most probable fractions and 95% confidence intervals:
|
50
|
-
Choice MPF CI(95%) P(≥3%)
|
51
|
-
Junts pel Sí 31.5% 25.9%– 37.0% 100.0%
|
52
|
-
Catalunya Sí que es Pot 20.4% 14.8%– 22.2% 100.0%
|
53
|
-
Ciutadans-Partido de la Ciudadanía 16.7% 11.1%– 18.5% 100.0%
|
54
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 9.3% 3.7%– 11.1% 100.0%
|
55
|
-
Partit Popular de Catalunya 9.3% 7.4%– 11.1% 100.0%
|
56
|
-
Partit dels Socialistes de Catalunya 9.3% 7.4%– 11.1% 100.0%
|
57
|
-
Unió Democràtica de Catalunya 5.6% 3.7%– 7.4% 99.7%
|
58
|
-
Other 1.9% 0.0%– 3.7% 0.0%
|
59
|
-
2015-08-01 09:32:05 INFO: Error estimate: ε ≤ 3.70%.
|
60
|
-
2015-08-01 09:32:05 INFO: Number of data points: 27.
|
61
|
-
2015-08-01 09:32:06 INFO: Most probable fractions and 95% confidence intervals:
|
62
|
-
Choice MPF CI(95%) P(≥3%)
|
63
|
-
Junts pel Sí 31.5% 28.4%– 35.8% 100.0%
|
64
|
-
Catalunya Sí que es Pot 20.4% 17.3%– 23.5% 100.0%
|
65
|
-
Ciutadans-Partido de la Ciudadanía 15.4% 13.6%– 19.8% 100.0%
|
66
|
-
Partit Popular de Catalunya 9.3% 6.2%– 11.1% 100.0%
|
67
|
-
Partit dels Socialistes de Catalunya 9.3% 6.2%– 11.1% 100.0%
|
68
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.2%– 11.1% 100.0%
|
69
|
-
Unió Democràtica de Catalunya 4.3% 2.5%– 6.2% 100.0%
|
70
|
-
Other 1.9% 1.2%– 3.7% 11.9%
|
71
|
-
2015-08-01 09:32:06 INFO: Error estimate: ε ≤ 1.23%.
|
72
|
-
2015-08-01 09:32:06 INFO: Number of data points: 81.
|
73
|
-
2015-08-01 09:32:07 INFO: Most probable fractions and 95% confidence intervals:
|
74
|
-
Choice MPF CI(95%) P(≥3%)
|
75
|
-
Junts pel Sí 31.9% 28.8%– 35.4% 100.0%
|
76
|
-
Catalunya Sí que es Pot 20.0% 17.3%– 23.0% 100.0%
|
77
|
-
Ciutadans-Partido de la Ciudadanía 15.8% 13.6%– 18.9% 100.0%
|
78
|
-
Partit Popular de Catalunya 8.8% 7.0%– 11.5% 100.0%
|
79
|
-
Partit dels Socialistes de Catalunya 8.8% 7.0%– 11.5% 100.0%
|
80
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.2%– 10.3% 100.0%
|
81
|
-
Unió Democràtica de Catalunya 3.9% 2.9%– 5.8% 97.8%
|
82
|
-
Other 1.9% 1.2%– 3.3% 5.8%
|
83
|
-
2015-08-01 09:32:07 INFO: Error estimate: ε ≤ 0.412%.
|
84
|
-
2015-08-01 09:32:07 INFO: Number of data points: 243.
|
85
|
-
2015-08-01 09:32:12 INFO: Most probable fractions and 95% confidence intervals:
|
86
|
-
Choice MPF CI(95%) P(≥3%)
|
87
|
-
Junts pel Sí 31.9% 28.8%– 35.3% 100.0%
|
88
|
-
Catalunya Sí que es Pot 20.0% 17.3%– 22.9% 100.0%
|
89
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 13.6%– 18.7% 100.0%
|
90
|
-
Partit Popular de Catalunya 9.0% 7.1%– 11.2% 100.0%
|
91
|
-
Partit dels Socialistes de Catalunya 9.0% 7.1%– 11.2% 100.0%
|
92
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.3%– 10.2% 100.0%
|
93
|
-
Unió Democràtica de Catalunya 4.0% 2.9%– 5.6% 95.8%
|
94
|
-
Other 2.0% 1.1%– 3.2% 3.9%
|
95
|
-
2015-08-01 09:32:12 INFO: Error estimate: ε ≤ 0.137%.
|
96
|
-
2015-08-01 09:32:12 INFO: Number of data points: 729.
|
97
|
-
2015-08-01 09:32:25 INFO: Most probable fractions and 95% confidence intervals:
|
98
|
-
Choice MPF CI(95%) P(≥3%)
|
99
|
-
Junts pel Sí 31.9% 28.8%– 35.3% 100.0%
|
100
|
-
Catalunya Sí que es Pot 20.0% 17.4%– 22.9% 100.0%
|
101
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 13.6%– 18.7% 100.0%
|
102
|
-
Partit Popular de Catalunya 9.0% 7.2%– 11.2% 100.0%
|
103
|
-
Partit dels Socialistes de Catalunya 9.0% 7.2%– 11.2% 100.0%
|
104
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.1% 6.4%– 10.2% 100.0%
|
105
|
-
Unió Democràtica de Catalunya 4.0% 2.9%– 5.6% 95.7%
|
106
|
-
Other 1.9% 1.2%– 3.2% 3.9%
|
107
|
-
2015-08-01 09:32:25 INFO: Error estimate: ε ≤ 0.046%.
|
108
|
-
2015-08-01 09:32:25 INFO: Number of data points: 2,187.
|
109
|
-
2015-08-01 09:32:25 INFO: Analyzing as a polychotomy...
|
110
|
-
2015-08-01 09:32:26 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
111
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
112
|
-
Junts pel Sí 32.0% 12.3% 24.4% 24.4%– 24.5% 100.0% 59– 59
|
113
|
-
Catalunya Sí que es Pot 20.0% 7.1% 13.8% 13.8%– 13.9% 100.0% 28– 28
|
114
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 5.5% 10.4% 10.4%– 10.5% 100.0% 21– 21
|
115
|
-
Partit Popular de Catalunya 9.0% 2.6% 5.0% 5.0%– 5.0% 0.0% 9– 9
|
116
|
-
Partit dels Socialistes de Catalunya 9.0% 2.6% 5.0% 5.0%– 5.0% 100.0% 10– 10
|
117
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 2.3% 4.3% 4.3%– 4.3% 100.0% 8– 8
|
118
|
-
Unió Democràtica de Catalunya 4.0% 1.0% 1.6% 1.6%– 1.6% 0– 0
|
119
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
120
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 50.0% 28.7% 28.7%– 28.7% 0.0% 67– 67 0.0%
|
121
|
-
Junts pel Sí 32.0% 50.0% 24.4% 24.4%– 24.4% 0.0% 59– 59 0.0%
|
122
|
-
2015-08-01 09:32:26 INFO: Error estimate: ε ≤ 100%.
|
123
|
-
2015-08-01 09:32:26 INFO: 1 simulations out of 1 data points, 1 / 40,531,767,997,824,000 of search space size (40,531,767,997,824,000).
|
124
|
-
2015-08-01 09:32:26 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
125
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
126
|
-
Junts pel Sí 32.0% 25.5% 25.5% 25.5%– 25.5% 100.0% 57– 57
|
127
|
-
Catalunya Sí que es Pot 20.0% 14.7% 14.7% 14.7%– 14.7% 100.0% 28– 28
|
128
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 11.2% 11.2% 11.2%– 11.2% 100.0% 21– 21
|
129
|
-
Partit Popular de Catalunya 9.0% 5.6% 5.6% 5.5%– 5.6% 100.0% 11– 11
|
130
|
-
Partit dels Socialistes de Catalunya 9.0% 5.5% 5.5% 5.4%– 5.5% 100.0% 10– 10
|
131
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 4.6% 4.6% 4.6%– 4.6% 100.0% 8– 8
|
132
|
-
Unió Democràtica de Catalunya 4.0% 1.6% 1.6% 1.6%– 1.6% 0– 0
|
133
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
134
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 64.8% 30.1% 29.4%– 30.1% 0.0% 65– 65 0.0%
|
135
|
-
Junts pel Sí 32.0% 62.6% 25.5% 25.0%– 25.5% 0.0% 57– 57 0.0%
|
136
|
-
2015-08-01 09:32:26 INFO: Error estimate: ε ≤ 1.05%.
|
137
|
-
2015-08-01 09:32:26 INFO: 2 simulations out of 2 data points, 1 / 20,265,883,998,912,000 of search space size (40,531,767,997,824,000).
|
138
|
-
2015-08-01 09:32:26 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
139
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
140
|
-
Junts pel Sí 32.0% 27.6% 27.6% 27.6%– 27.6% 100.0% 57– 57
|
141
|
-
Catalunya Sí que es Pot 20.0% 16.4% 16.4% 16.4%– 16.5% 100.0% 28– 28
|
142
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 12.8% 12.8% 12.8%– 12.8% 100.0% 21– 21
|
143
|
-
Partit Popular de Catalunya 9.0% 6.7% 6.7% 6.7%– 6.8% 100.0% 11– 11
|
144
|
-
Partit dels Socialistes de Catalunya 9.0% 6.5% 6.5% 6.4%– 6.5% 100.0% 10– 10
|
145
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 5.2% 5.2% 5.2%– 5.3% 100.0% 8– 8
|
146
|
-
Unió Democràtica de Catalunya 4.0% 1.7% 1.7% 1.7%– 1.7% 0– 0
|
147
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
148
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 66.1% 32.8% 32.1%– 32.8% 0.0% 65– 65 0.0%
|
149
|
-
Junts pel Sí 32.0% 63.5% 27.6% 27.1%– 27.6% 0.0% 57– 57 0.0%
|
150
|
-
2015-08-01 09:32:26 INFO: Error estimate: ε ≤ 2.10%.
|
151
|
-
2015-08-01 09:32:26 INFO: 4 simulations out of 4 data points, 1 / 10,132,941,999,456,000 of search space size (40,531,767,997,824,000).
|
152
|
-
2015-08-01 09:32:27 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
153
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
154
|
-
Junts pel Sí 32.0% 31.8% 31.8% 31.8%– 31.8% 100.0% 54– 54
|
155
|
-
Catalunya Sí que es Pot 20.0% 19.9% 19.9% 19.9%– 19.9% 100.0% 29– 29
|
156
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 15.9% 15.9% 15.9%– 15.9% 100.0% 21– 21
|
157
|
-
Partit Popular de Catalunya 9.0% 9.1% 9.1% 9.1%– 9.1% 100.0% 12– 12
|
158
|
-
Partit dels Socialistes de Catalunya 9.0% 8.5% 8.5% 8.5%– 8.5% 100.0% 11– 11
|
159
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.5% 6.5% 6.5%– 6.5% 100.0% 8– 8
|
160
|
-
Unió Democràtica de Catalunya 4.0% 1.9% 1.9% 1.9%– 1.9% 0– 0
|
161
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
162
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 68.7% 38.3% 37.6%– 38.3% 0.0% 62– 62 0.0%
|
163
|
-
Junts pel Sí 32.0% 65.8% 31.8% 31.3%– 31.8% 0.0% 54– 54 0.0%
|
164
|
-
2015-08-01 09:32:27 INFO: Error estimate: ε ≤ 4.21%.
|
165
|
-
2015-08-01 09:32:27 INFO: 8 simulations out of 8 data points, 1 / 5,066,470,999,728,000 of search space size (40,531,767,997,824,000).
|
166
|
-
2015-08-01 09:32:27 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
167
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
168
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 32.9% 100.0% 51– 54
|
169
|
-
Catalunya Sí que es Pot 20.0% 20.8% 20.8% 20.2%– 20.8% 100.0% 27– 28
|
170
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 15.8%– 16.7% 100.0% 20– 21
|
171
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.7% 8.7%– 9.7% 100.0% 12– 12
|
172
|
-
Partit dels Socialistes de Catalunya 9.0% 9.0% 9.0% 6.6%– 9.0% 94.8% 8– 11
|
173
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.8% 6.8% 6.8%– 11.7% 100.0% 9– 17
|
174
|
-
Unió Democràtica de Catalunya 4.0% 1.9% 1.9% 1.9%– 2.7% 0– 0
|
175
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
176
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.7% 39.7% 39.3%– 44.4% 0.0% 63– 68 5.2%
|
177
|
-
Junts pel Sí 32.0% 66.5% 32.9% 32.3%– 32.9% 0.0% 51– 54 0.0%
|
178
|
-
2015-08-01 09:32:27 INFO: Error estimate: ε ≤ 1.05%.
|
179
|
-
2015-08-01 09:32:27 INFO: 16 simulations out of 24 data points, 1 / 1,688,823,666,576,000 of search space size (40,531,767,997,824,000).
|
180
|
-
2015-08-01 09:32:27 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
181
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
182
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 34.9% 100.0% 51– 57
|
183
|
-
Catalunya Sí que es Pot 20.0% 20.8% 20.8% 20.2%– 21.4% 100.0% 27– 28
|
184
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 15.8%– 16.7% 100.0% 20– 21
|
185
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.7% 8.7%– 9.7% 100.0% 12– 12
|
186
|
-
Partit dels Socialistes de Catalunya 9.0% 9.0% 9.0% 5.3%– 9.0% 85.4% 6– 11
|
187
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.8% 6.8% 6.8%– 11.7% 100.0% 9– 17
|
188
|
-
Unió Democràtica de Catalunya 4.0% 1.9% 1.9% 1.9%– 3.4% 0– 1
|
189
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
190
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.7% 39.7% 39.4%– 44.4% 0.0% 63– 68 4.7%
|
191
|
-
Junts pel Sí 32.0% 33.2% 32.9% 32.8%– 34.9% 0.0% 51– 57 0.0%
|
192
|
-
2015-08-01 09:32:27 INFO: Error estimate: ε ≤ 3.66%.
|
193
|
-
2015-08-01 09:32:27 INFO: 32 simulations out of 66 data points, 1 / 614,117,696,936,727 of search space size (40,531,767,997,824,000).
|
194
|
-
2015-08-01 09:32:28 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
195
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
196
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 34.9% 100.0% 51– 57
|
197
|
-
Catalunya Sí que es Pot 20.0% 20.8% 20.8% 20.2%– 21.4% 100.0% 27– 28
|
198
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 15.8%– 16.7% 100.0% 20– 21
|
199
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.7% 8.7%– 9.7% 98.3% 12– 12
|
200
|
-
Partit dels Socialistes de Catalunya 9.0% 9.0% 9.0% 5.3%– 9.0% 85.6% 6– 11
|
201
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.8% 6.8% 6.8%– 11.7% 100.0% 9– 17
|
202
|
-
Unió Democràtica de Catalunya 4.0% 1.9% 1.9% 1.9%– 3.4% 0– 1
|
203
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
204
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.7% 39.7% 39.5%– 44.8% 0.0% 63– 68 4.6%
|
205
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 35.3% 0.0% 51– 57 0.0%
|
206
|
-
2015-08-01 09:32:28 INFO: Error estimate: ε ≤ 3.25%.
|
207
|
-
2015-08-01 09:32:28 INFO: 64 simulations out of 179 data points, 1 / 226,434,458,088,402 of search space size (40,531,767,997,824,000).
|
208
|
-
2015-08-01 09:32:28 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
209
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
210
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 34.9% 100.0% 51– 57
|
211
|
-
Catalunya Sí que es Pot 20.0% 20.8% 20.8% 20.2%– 21.4% 100.0% 27– 28
|
212
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 15.8%– 16.7% 100.0% 20– 21
|
213
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.7% 8.7%– 9.7% 98.2% 12– 12
|
214
|
-
Partit dels Socialistes de Catalunya 9.0% 9.0% 9.0% 5.3%– 9.0% 85.7% 6– 11
|
215
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 6.8% 6.8% 6.8%– 11.7% 100.0% 9– 17
|
216
|
-
Unió Democràtica de Catalunya 4.0% 1.9% 1.9% 1.9%– 3.4% 0– 1
|
217
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
218
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.7% 39.7% 39.5%– 44.6% 0.0% 63– 68 4.6%
|
219
|
-
Junts pel Sí 32.0% 32.9% 32.9% 32.8%– 35.1% 0.0% 51– 57 0.0%
|
220
|
-
2015-08-01 09:32:28 INFO: Error estimate: ε ≤ 3.89%.
|
221
|
-
2015-08-01 09:32:28 INFO: 128 simulations out of 341 data points, 1 / 118,861,489,729,689 of search space size (40,531,767,997,824,000).
|
222
|
-
2015-08-01 09:32:29 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
223
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
224
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.8%– 34.9% 100.0% 47– 56
|
225
|
-
Catalunya Sí que es Pot 20.0% 22.5% 22.5% 18.6%– 22.5% 100.0% 24– 30
|
226
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.9% 16.9% 16.2%– 17.1% 100.0% 21– 22
|
227
|
-
Partit Popular de Catalunya 9.0% 7.9% 7.9% 7.7%– 11.4% 88.1% 11– 15
|
228
|
-
Partit dels Socialistes de Catalunya 9.0% 7.5% 7.5% 7.3%– 9.0% 88.4% 10– 11
|
229
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 7.1% 7.1% 6.6%– 11.0% 100.0% 8– 16
|
230
|
-
Unió Democràtica de Catalunya 4.0% 4.0% 4.0% 1.9%– 4.0% 0– 6
|
231
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
232
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 38.0% 38.0% 37.9%– 42.6% 0.0% 57– 65 0.5%
|
233
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.8%– 34.9% 0.0% 47– 56 0.0%
|
234
|
-
2015-08-01 09:32:29 INFO: Error estimate: ε ≤ 2.06%.
|
235
|
-
2015-08-01 09:32:29 INFO: 256 simulations out of 695 data points, 1 / 58,319,090,644,351 of search space size (40,531,767,997,824,000).
|
236
|
-
2015-08-01 09:32:30 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
237
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
238
|
-
Junts pel Sí 32.0% 30.6% 30.6% 28.8%– 34.6% 100.0% 47– 56
|
239
|
-
Catalunya Sí que es Pot 20.0% 19.1% 19.1% 18.6%– 22.5% 99.8% 24– 30
|
240
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 16.2%– 17.6% 100.0% 21– 22
|
241
|
-
Partit Popular de Catalunya 9.0% 10.3% 9.4% 7.7%– 10.3% 93.8% 11– 14
|
242
|
-
Partit dels Socialistes de Catalunya 9.0% 9.5% 7.2% 7.1%– 10.1% 54.6% 9– 13
|
243
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 10.8% 10.8% 6.0%– 11.0% 100.0% 8– 16
|
244
|
-
Unió Democràtica de Catalunya 4.0% 4.0% 4.0% 1.9%– 4.8% 0– 6
|
245
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
246
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 36.6% 41.4% 36.6%– 41.4% 0.0% 57– 64 0.1%
|
247
|
-
Junts pel Sí 32.0% 30.6% 30.6% 28.8%– 34.6% 0.0% 47– 56 0.0%
|
248
|
-
2015-08-01 09:32:30 INFO: Error estimate: ε ≤ 3.75%.
|
249
|
-
2015-08-01 09:32:30 INFO: 512 simulations out of 1,419 data points, 1 / 28,563,613,811,010 of search space size (40,531,767,997,824,000).
|
250
|
-
2015-08-01 09:32:33 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
251
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
252
|
-
Junts pel Sí 32.0% 30.6% 30.6% 28.5%– 34.6% 100.0% 47– 56
|
253
|
-
Catalunya Sí que es Pot 20.0% 19.1% 19.1% 16.4%– 22.5% 96.0% 21– 30
|
254
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.7% 16.7% 12.5%– 17.6% 100.0% 16– 22
|
255
|
-
Partit Popular de Catalunya 9.0% 10.3% 9.4% 7.7%– 11.8% 92.5% 11– 17
|
256
|
-
Partit dels Socialistes de Catalunya 9.0% 9.5% 7.2% 7.1%– 10.7% 54.2% 9– 14
|
257
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 10.8% 10.8% 6.0%– 11.0% 100.0% 8– 16
|
258
|
-
Unió Democràtica de Catalunya 4.0% 4.0% 4.0% 2.2%– 6.3% 0– 8
|
259
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
260
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 41.4% 41.4% 36.6%– 41.4% 0.0% 57– 64 0.2%
|
261
|
-
Junts pel Sí 32.0% 30.6% 30.6% 28.5%– 34.6% 0.0% 47– 56 0.0%
|
262
|
-
2015-08-01 09:32:33 INFO: Error estimate: ε ≤ 3.29%.
|
263
|
-
2015-08-01 09:32:33 INFO: 1,024 simulations out of 2,830 data points, 1 / 14,322,179,504,531 of search space size (40,531,767,997,824,000).
|
264
|
-
2015-08-01 09:32:36 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
265
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
266
|
-
Junts pel Sí 32.0% 32.7% 32.7% 28.5%– 34.2% 100.0% 45– 55
|
267
|
-
Catalunya Sí que es Pot 20.0% 17.9% 17.9% 17.9%– 22.5% 56.5% 22– 30
|
268
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 19.1% 19.1% 12.7%– 19.2% 100.0% 16– 24
|
269
|
-
Partit Popular de Catalunya 9.0% 7.7% 7.7% 7.5%– 11.8% 50.7% 9– 17
|
270
|
-
Partit dels Socialistes de Catalunya 9.0% 8.8% 8.8% 7.1%– 11.1% 79.2% 9– 14
|
271
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 7.6% 7.6% 6.0%– 10.8% 100.0% 8– 14
|
272
|
-
Unió Democràtica de Catalunya 4.0% 4.0% 4.0% 2.9%– 5.8% 0– 7
|
273
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
274
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 40.3% 40.3% 36.6%– 43.8% 0.0% 56– 68 2.7%
|
275
|
-
Junts pel Sí 32.0% 32.7% 32.7% 28.5%– 34.2% 0.0% 45– 55 0.0%
|
276
|
-
2015-08-01 09:32:36 INFO: Error estimate: ε ≤ 3.20%.
|
277
|
-
2015-08-01 09:32:36 INFO: 2,048 simulations out of 5,727 data points, 1 / 7,077,312,379,574 of search space size (40,531,767,997,824,000).
|
278
|
-
2015-08-01 09:32:41 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
279
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
280
|
-
Junts pel Sí 32.0% 32.7% 32.7% 27.2%– 34.9% 100.0% 43– 55
|
281
|
-
Catalunya Sí que es Pot 20.0% 17.9% 17.9% 17.5%– 23.1% 68.1% 22– 30
|
282
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 19.1% 19.1% 12.7%– 19.2% 100.0% 16– 25
|
283
|
-
Partit Popular de Catalunya 9.0% 7.7% 7.7% 6.9%– 11.8% 41.7% 9– 17
|
284
|
-
Partit dels Socialistes de Catalunya 9.0% 8.8% 8.8% 7.0%– 11.1% 73.4% 9– 14
|
285
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 7.6% 7.6% 6.0%– 10.8% 99.9% 8– 14
|
286
|
-
Unió Democràtica de Catalunya 4.0% 4.0% 4.0% 2.7%– 5.5% 0– 7
|
287
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
288
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 40.7% 40.3% 36.3%– 43.8% 0.0% 55– 66 1.8%
|
289
|
-
Junts pel Sí 32.0% 32.7% 32.7% 27.2%– 34.9% 0.0% 43– 55 0.0%
|
290
|
-
2015-08-01 09:32:41 INFO: Error estimate: ε ≤ 5.26%.
|
291
|
-
2015-08-01 09:32:41 INFO: 4,096 simulations out of 11,469 data points, 1 / 3,534,028,075,492 of search space size (40,531,767,997,824,000).
|
292
|
-
2015-08-01 09:32:53 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
293
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
294
|
-
Junts pel Sí 32.0% 31.9% 31.9% 28.4%– 35.3% 100.0% 46– 55
|
295
|
-
Catalunya Sí que es Pot 20.0% 19.3% 19.3% 16.8%– 23.1% 94.1% 21– 30
|
296
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.3% 16.3% 13.5%– 19.2% 100.0% 17– 24
|
297
|
-
Partit Popular de Catalunya 9.0% 8.5% 8.5% 7.3%– 10.9% 35.8% 9– 13
|
298
|
-
Partit dels Socialistes de Catalunya 9.0% 10.2% 10.2% 7.2%– 11.2% 85.8% 9– 14
|
299
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 7.6% 7.6% 6.6%– 10.0% 100.0% 8– 13
|
300
|
-
Unió Democràtica de Catalunya 4.0% 4.8% 4.8% 3.0%– 5.5% 0– 7
|
301
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
302
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 38.7% 39.5% 36.5%– 44.5% 0.0% 56– 66 0.5%
|
303
|
-
Junts pel Sí 32.0% 31.9% 31.9% 28.4%– 35.3% 0.0% 46– 55 0.0%
|
304
|
-
2015-08-01 09:32:53 INFO: Error estimate: ε ≤ 2.79%.
|
305
|
-
2015-08-01 09:32:53 INFO: 8,192 simulations out of 22,965 data points, 1 / 1,764,936,555,533 of search space size (40,531,767,997,824,000).
|
306
|
-
2015-08-01 09:33:22 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
307
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
308
|
-
Junts pel Sí 32.0% 31.3% 31.3% 28.4%– 35.3% 100.0% 46– 55
|
309
|
-
Catalunya Sí que es Pot 20.0% 19.5% 19.5% 17.2%– 22.5% 95.9% 22– 30
|
310
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 17.1% 17.1% 13.5%– 18.3% 100.0% 17– 24
|
311
|
-
Partit Popular de Catalunya 9.0% 9.3% 9.3% 7.5%– 10.9% 18.1% 9– 13
|
312
|
-
Partit dels Socialistes de Catalunya 9.0% 9.4% 9.4% 7.2%– 11.2% 89.8% 9– 14
|
313
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 8.0% 8.0% 6.4%– 9.6% 100.0% 8– 13
|
314
|
-
Unió Democràtica de Catalunya 4.0% 3.5% 3.5% 3.0%– 5.3% 0– 7
|
315
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
316
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.3% 39.3% 36.5%– 44.3% 0.0% 56– 66 0.2%
|
317
|
-
Junts pel Sí 32.0% 31.3% 31.3% 28.4%– 35.3% 0.0% 46– 55 0.0%
|
318
|
-
2015-08-01 09:33:22 INFO: Error estimate: ε ≤ 1.37%.
|
319
|
-
2015-08-01 09:33:22 INFO: 16,384 simulations out of 45,929 data points, 1 / 882,487,491,515 of search space size (40,531,767,997,824,000).
|
320
|
-
2015-08-01 09:34:20 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
321
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
322
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.5%– 35.0% 100.0% 46– 55
|
323
|
-
Catalunya Sí que es Pot 20.0% 19.9% 19.9% 17.2%– 22.5% 95.7% 22– 30
|
324
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 17.1% 16.8% 13.8%– 18.9% 100.0% 18– 24
|
325
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.7% 7.3%– 10.9% 42.0% 9– 13
|
326
|
-
Partit dels Socialistes de Catalunya 9.0% 9.0% 9.0% 7.4%– 11.2% 90.6% 10– 14
|
327
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 8.0% 8.1% 6.4%– 9.6% 100.0% 8– 13
|
328
|
-
Unió Democràtica de Catalunya 4.0% 3.6% 3.6% 3.0%– 5.3% 0– 7
|
329
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
330
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.0% 39.0% 36.5%– 43.7% 0.0% 56– 66 0.2%
|
331
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.5%– 35.0% 0.0% 46– 55 0.0%
|
332
|
-
2015-08-01 09:34:20 INFO: Error estimate: ε ≤ 0.412%.
|
333
|
-
2015-08-01 09:34:20 INFO: 32,768 simulations out of 91,962 data points, 1 / 440,744,742,369 of search space size (40,531,767,997,824,000).
|
334
|
-
2015-08-01 09:36:09 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
335
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
336
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.7%– 34.7% 100.0% 46– 55
|
337
|
-
Catalunya Sí que es Pot 20.0% 19.9% 19.9% 17.2%– 22.5% 96.8% 22– 30
|
338
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 17.1% 16.8% 13.5%– 18.7% 100.0% 17– 24
|
339
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.3% 7.1%– 10.9% 47.5% 9– 13
|
340
|
-
Partit dels Socialistes de Catalunya 9.0% 9.4% 9.4% 7.5%– 11.1% 85.3% 10– 14
|
341
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 8.1% 8.1% 6.4%– 10.0% 100.0% 8– 13
|
342
|
-
Unió Democràtica de Catalunya 4.0% 3.6% 3.6% 3.0%– 5.5% 0– 7
|
343
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
344
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.0% 39.0% 36.6%– 43.4% 0.0% 56– 66 0.2%
|
345
|
-
Junts pel Sí 32.0% 30.9% 30.9% 28.7%– 34.7% 0.0% 46– 55 0.0%
|
346
|
-
2015-08-01 09:36:09 INFO: Error estimate: ε ≤ 0.412%.
|
347
|
-
2015-08-01 09:36:09 INFO: 65,536 simulations out of 183,888 data points, 1 / 220,415,513,779 of search space size (40,531,767,997,824,000).
|
348
|
-
2015-08-01 09:39:49 INFO: Most probable rounded fractions, fractions and 95% confidence intervals:
|
349
|
-
Choice Result MPRF MPF CI(95%) P(>↓) Seats
|
350
|
-
Junts pel Sí 32.0% 31.8% 30.9% 28.7%– 34.9% 100.0% 46– 55
|
351
|
-
Catalunya Sí que es Pot 20.0% 19.8% 19.8% 17.1%– 22.7% 96.6% 22– 30
|
352
|
-
Ciutadans-Partido de la Ciudadanía 16.0% 16.5% 16.5% 13.6%– 18.7% 100.0% 17– 24
|
353
|
-
Partit Popular de Catalunya 9.0% 9.7% 9.3% 7.1%– 11.2% 43.7% 9– 14
|
354
|
-
Partit dels Socialistes de Catalunya 9.0% 9.4% 9.4% 7.1%– 11.2% 81.6% 9– 14
|
355
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres 8.0% 8.1% 8.1% 6.4%– 10.0% 100.0% 8– 13
|
356
|
-
Unió Democràtica de Catalunya 4.0% 3.8% 3.8% 2.9%– 5.5% 0– 7
|
357
|
-
Coalition Result MPRF MPF CI(95%) P(>50%) Seats P(>50%)
|
358
|
-
Candidatura d'Unitat Popular – Alternativa d'Esquerres + Junts pel Sí 40.0% 39.9% 39.9% 36.5%– 43.1% 0.0% 56– 66 0.6%
|
359
|
-
Junts pel Sí 32.0% 31.8% 30.9% 28.7%– 34.9% 0.0% 46– 55 0.0%
|
360
|
-
2015-08-01 09:39:49 INFO: Error estimate: ε ≤ 1.01%.
|
361
|
-
2015-08-01 09:39:49 INFO: 131,072 simulations out of 367,802 data points, 1 / 110,199,966,280 of search space size (40,531,767,997,824,000).
|
15
|
+
* [United Kingdom](Example-UnitedKingdom-Referendum.md)
|
data/README.md
CHANGED
@@ -1,11 +1,20 @@
|
|
1
|
-
Statistical Analysis of Polling Results (SAPoR)
|
2
|
-
|
1
|
+
# Statistical Analysis of Polling Results (SAPoR)
|
2
|
+
|
3
|
+
## Requirements
|
3
4
|
|
4
|
-
|
5
|
-
|
5
|
+
The program is developed in Ruby, and the scripts to run it are Unix scripts
|
6
|
+
using `/bin/sh`.
|
7
|
+
|
8
|
+
## Installation
|
6
9
|
|
7
10
|
You can install this program by cloning this repository, and then executing the
|
8
|
-
following
|
11
|
+
commands from the following sections in the directory where it got cloned.
|
12
|
+
|
13
|
+
### Latest Release
|
14
|
+
|
15
|
+
The latest release is a beta version, and has version number 0.1b1. Use the tag
|
16
|
+
`v0.1b1` to check it out after you've cloned the repository, and build and
|
17
|
+
install the program using the following commands:
|
9
18
|
|
10
19
|
sudo gem build sapor.gemspec
|
11
20
|
sudo gem install sapor-0.1b1.gem
|
@@ -15,6 +24,20 @@ following commands in the directory where it got cloned:
|
|
15
24
|
cd sapor-0.1b1/
|
16
25
|
sudo ./install.sh
|
17
26
|
|
27
|
+
### Snapshot
|
28
|
+
|
29
|
+
The most recent version, currently under development, is an alpha version. It
|
30
|
+
resides in the master branch, and has version number 0.2a1. You can build it
|
31
|
+
using the following commands:
|
32
|
+
|
33
|
+
sudo gem build sapor.gemspec
|
34
|
+
sudo gem install sapor-0.2a1.gem
|
35
|
+
|
36
|
+
bin/create_installation_package.sh
|
37
|
+
tar -xzf sapor-0.2a1.tar.gz
|
38
|
+
cd sapor-0.2a1/
|
39
|
+
sudo ./install.sh
|
40
|
+
|
18
41
|
Usage
|
19
42
|
-----
|
20
43
|
|
@@ -34,11 +57,21 @@ See [this](Technical%20Documentation.md) page.
|
|
34
57
|
Changelog
|
35
58
|
---------
|
36
59
|
|
60
|
+
**Version 0.2**
|
61
|
+
|
62
|
+
* Included more data in the calculation of the error estimate.
|
63
|
+
* Added the Type field with values Election and Referendum. Polls of type
|
64
|
+
Referendum do not try to calculate a seat distribution.
|
65
|
+
* Areas: Added Flanders.
|
66
|
+
* Areas: Added Greece with a simplified approach to the parliamentary elections.
|
67
|
+
* Areas: Added Norwegian municipalities Oslo, Bergen and Trondheim, local
|
68
|
+
election, 2015.
|
69
|
+
|
37
70
|
**Version 0.1**
|
38
71
|
|
39
72
|
* First round analysis of poll results as a set of dichotomies, reporting on the
|
40
73
|
most probable fraction, the 95% confidence interval for the vote share, and
|
41
|
-
probability to reach a threshold
|
74
|
+
probability to reach a threshold.
|
42
75
|
* Second round analysis of poll results as a polychotomy, reporting on the most
|
43
76
|
probable fraction, the most probable rounded fraction, the 95% confidence
|
44
77
|
interval for the vote share, the probability to be larger than the next party,
|
@@ -47,13 +80,13 @@ Changelog
|
|
47
80
|
95% confidence interval for the vote share, the probability to have a majority
|
48
81
|
of the popular vote (vote share larger than 50%), the 95% confidence interval
|
49
82
|
for the number of seats and the probability to have a majority in parliament.
|
50
|
-
* Areas: Catalan parliamentary election, 2015
|
83
|
+
* Areas: Catalan parliamentary election, 2015.
|
51
84
|
|
52
85
|
License
|
53
86
|
-------
|
54
87
|
|
55
88
|
Statistical Analysis of Polling Results (SAPoR)
|
56
|
-
Copyright (C)
|
89
|
+
Copyright (C) 2016 Filip van Laenen <f.a.vanlaenen@ieee.org>
|
57
90
|
|
58
91
|
This program is free software; you can redistribute it and/or modify
|
59
92
|
it under the terms of the GNU General Public License as published by
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
#
|
3
3
|
# Statistical Analysis of Polling Results (SAPoR)
|
4
|
-
# Copyright ©
|
4
|
+
# Copyright © 2016 Filip van Laenen <f.a.vanlaenen@ieee.org>
|
5
5
|
#
|
6
6
|
# This file is part of SAPoR.
|
7
7
|
#
|
@@ -23,7 +23,7 @@
|
|
23
23
|
# Create an empty temporary directory
|
24
24
|
|
25
25
|
SCRIPTDIR="$( cd "$( dirname "$0" )" && pwd )"
|
26
|
-
VERSION="0.
|
26
|
+
VERSION="0.2a1"
|
27
27
|
TEMPDIR="sapor-${VERSION}"
|
28
28
|
|
29
29
|
if [ -d "$TEMPDIR" ]; then
|