{
  localUrl: '../page/520.html',
  arbitalUrl: 'https://arbital.com/p/520',
  rawJsonUrl: '../raw/520.json',
  likeableId: '0',
  likeableType: 'page',
  myLikeValue: '0',
  likeCount: '0',
  dislikeCount: '0',
  likeScore: '0',
  individualLikes: [],
  pageId: '520',
  edit: '1',
  editSummary: '',
  prevEdit: '0',
  currentEdit: '1',
  wasPublished: 'true',
  type: 'wiki',
  title: 'Effective number of political parties',
  clickbait: 'A way of quantifying the relative dominance of a few political parties regardless of their actual number.',
  textLength: '4094',
  alias: '520',
  externalUrl: '',
  sortChildrenBy: 'likes',
  hasVote: 'false',
  voteType: '',
  votesAnonymous: 'false',
  editCreatorId: 'JoeZeng',
  editCreatedAt: '2016-07-06 04:53:37',
  pageCreatorId: 'JoeZeng',
  pageCreatedAt: '2016-07-06 04:53:37',
  seeDomainId: '0',
  editDomainId: '1161',
  submitToDomainId: '0',
  isAutosave: 'false',
  isSnapshot: 'false',
  isLiveEdit: 'true',
  isMinorEdit: 'false',
  indirectTeacher: 'false',
  todoCount: '1',
  isEditorComment: 'false',
  isApprovedComment: 'true',
  isResolved: 'false',
  snapshotText: '',
  anchorContext: '',
  anchorText: '',
  anchorOffset: '0',
  mergedInto: '',
  isDeleted: 'false',
  viewCount: '18',
  text: 'The **effective number of political parties** is a measure of how many political parties "effectively" participate in a government or are represented in an electoral system.\n\nIt is generally defined as follows. For political parties $1, 2, \\ldots, n$, let $p_n$ represent the [-4w3] of total support that party $n$ has in a country, which is a number from $0$ to $1$. Then, the effective number of political parties is $\\displaystyle \\frac{1}{\\sum_{i=1}^n p_i^2}$.\n\n## Motivation for the measure\n\nThe federal government of the United States of America is generally referred to as a "two-party system", although there are over thirty federal political parties actually registered. This is because the Democratic and Republican parties tend to dominate all popular support to the point of marginalizing all the other parties. The Libertarian and Green party are examples of major parties that have comparatively little popular support.\n\nBecause of this discrepancy in the total number of parties and the number of parties likely to actually be represented, it seems useful to have a measure of the number of parties that *effectively* participate in a country's politics.\n\nThere are many approaches we can take to this. We could measure the effective number of parties using "the number of parties that have more than $x$% support", but this breaks down as the number of small parties with significant support increases. \n\nFor example, if we set the cutoff to a reasonable-sounding 5%, then Algeria is a degenerate case. In Algeria's most recent legislative election in 2012, the three parties who had 5% support or more only represented about 30% of the total popular vote, and there were at least 20 parties that had between 1% and 3% support, which makes it seem very unsuitable to say there are effectively only three political parties in Algeria.\n\nSliding the percentage around doesn't help either, because you get degenerate cases in the other direction. If you lower the cutoff to 1% to make Algeria's number make sense, then Canada in its most recent 2015 election had five parties effectively represented by popular vote, even though the Green Party and Bloc Québécois had barely no representation between them (about 3~4% apiece) compared to the big three (Conservative, Liberal and NDP).\n\n## Desirable properties of an EPP measure\n\nWhat we really want is a measure that:\n\n1. gets close to $n$ as the distribution of votes between $n$ parties becomes more even, regardless of how big $n$ is.\n\n2. gets close to $k$ as $k$ equally matched parties approach total domination of the electoral system (including the case where $k = 1$).\n\n3. changes very little with the introduction of a new political party with comparatively negligible support.\n\nOur cutoff measure violates rule 1, because as $n$ gets larger, more and more parties fall below the cutoff.\n\nA good place to start looking for such a measure is to find a measure of the "average proportion of support" of political parties, and then invert that to get the effective number of parties. Immediately we run into the problem that adding up all the $p_i$ (as defined above) and dividing by $n$ (the number of parties) always gives us exactly $1/n$, which is a relatively useless measure — that's the total number of political parties again, which violates both rules 2 and 3.\n\nBut what if we use a weighted average? In particular, what if we redefine the average proportion of support as the average support for a voter's political party over all _voters_ in the electoral system, rather the average support for a party over all _parties_? Then, a political party with $p_i$ support also gets $p_i$ weight in the average, because $p_i$ of the voters in the electoral system are represented by that party.\n\nThis gives us a weighted average of $(p_1 \\cdot p_1) + (p_2 \\cdot p_2) + \\ldots + (p_n \\cdot p_n) = \\sum_{i=1}^n p_i^2$, which we invert to get the formula defined at the top of the article. This measure satisfies all three properties we desire from our measure, which is left as an exercise.\n\n[todo: solution to exercise]',
  metaText: '',
  isTextLoaded: 'true',
  isSubscribedToDiscussion: 'false',
  isSubscribedToUser: 'false',
  isSubscribedAsMaintainer: 'false',
  discussionSubscriberCount: '1',
  maintainerCount: '1',
  userSubscriberCount: '0',
  lastVisit: '',
  hasDraft: 'false',
  votes: [],
  voteSummary: 'null',
  muVoteSummary: '0',
  voteScaling: '0',
  currentUserVote: '-2',
  voteCount: '0',
  lockedVoteType: '',
  maxEditEver: '0',
  redLinkCount: '0',
  lockedBy: '',
  lockedUntil: '',
  nextPageId: '',
  prevPageId: '',
  usedAsMastery: 'false',
  proposalEditNum: '0',
  permissions: {
    edit: {
      has: 'false',
      reason: 'You don't have domain permission to edit this page'
    },
    proposeEdit: {
      has: 'true',
      reason: ''
    },
    delete: {
      has: 'false',
      reason: 'You don't have domain permission to delete this page'
    },
    comment: {
      has: 'false',
      reason: 'You can't comment in this domain because you are not a member'
    },
    proposeComment: {
      has: 'true',
      reason: ''
    }
  },
  summaries: {},
  creatorIds: [
    'JoeZeng'
  ],
  childIds: [],
  parentIds: [],
  commentIds: [],
  questionIds: [],
  tagIds: [],
  relatedIds: [],
  markIds: [],
  explanations: [],
  learnMore: [],
  requirements: [],
  subjects: [],
  lenses: [],
  lensParentId: '',
  pathPages: [],
  learnMoreTaughtMap: {},
  learnMoreCoveredMap: {},
  learnMoreRequiredMap: {},
  editHistory: {},
  domainSubmissions: {},
  answers: [],
  answerCount: '0',
  commentCount: '0',
  newCommentCount: '0',
  linkedMarkCount: '0',
  changeLogs: [
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15575',
      pageId: '520',
      userId: 'JoeZeng',
      edit: '1',
      type: 'newEdit',
      createdAt: '2016-07-06 04:53:37',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    }
  ],
  feedSubmissions: [],
  searchStrings: {},
  hasChildren: 'false',
  hasParents: 'false',
  redAliases: {},
  improvementTagIds: [],
  nonMetaTagIds: [],
  todos: [],
  slowDownMap: 'null',
  speedUpMap: 'null',
  arcPageIds: 'null',
  contentRequests: {}
}