This page shares R programs for course and/or outreach materials.
Condorcet's Jury Theorem for the Odd Number of Jury (コンドルセの陪審定理[奇数人]) [R program]
Note) This figure is produced by my program referring to Serva's animation program.
UNDER DEVELOPMENT. {PRcalc} is an R package that calculates the seat allocation by selecting the highest average methods for the proportional representation system and computes the degree of disproportionality. It also enables to calculate the seat allocation by choosing the several methods of seat allocation for territorially defined constituencies and computes the degree of malapportionment. Notably, this package can be utilized to decompose α-divergence for inter- and intra-coalition disproportionality as well as inter- and intra-state malapportionment. {PRcalc} is developed jointly with Jaehyun Song. [R package (currently only for testing purposes)]