MRQ | R Documentation |
This function calculates the MRQ polarization index from a population vector.
MRQ(Z)
Z |
(Standardized) frequency vector |
This function implements the polarization index introduced by Garcia-Montalvo and Reynal-Querol (2005), also known as the Reynal-Querol index of polarization (RQ). It is a measure of dispersion based on squared Euclidean distances. The frequency vector needs to be standardized for the Reynal-Querol index to work; if the sum of the frequency vector is not 1 (i.e. it is not standardized), the function automatically standardizes the frequency vector by dividing each element of the vector by the sum of the vector. The assumption is that the frequencies are complete. The order of the valures is not taken into consideration.
Index of polarization (RQ).
Didier Ruedin
Garcia-Montalvo, Jose, and Marta Reynal-Querol. 2005. Ethnic Polarization, Potential Conflict, and Civil Wars. American Economic Review 95(3): 796-816.
Reynal-Querol, Marta. 2002. Ethnicity, Political Systems, and Civil Wars. Journal of Conflict Resolution 46(1): 29-54.
# Sample data
V <- c(30,40,210,130,530,50,10)
MRQ(V)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.