Description Usage Arguments Details Value Author(s) References See Also

Calculates congruence.

1 | ```
congruence(Z, R, from=NA, to=NA, steps=10000)
``` |

`Z` |
Population vector |

`R` |
Vector for the representatives |

`from` |
Beginning of conceptual space |

`to` |
End of conceptual space |

`steps` |
Number of steps at which to evaluate the CDF |

The representation score is calculated as the area between the cumulative distribution functions for the population and representatives: sum |cdf(Z) - cdf(R)|/n, where n is the distance between the minimum and maximum (to standardize). The beginning and end of the conceptual (policy) space can be specified if the vectors do not include the entire range of possible values. The number of steps at which the CDF are evaluated can be specified (default = 10000).

Representation score

Didier Ruedin

Golder, M., and J. Stramski. 2010. Ideological Congruence and Electoral Institutions. American Journal of Political Science 54 (1): 90-106.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.