Skip to main content

How would one set up a Difference of Means test to test the relationship between type of electoral system (IV) and type of party system (or number...

A Difference of Means test, also called a t-test, is one of the simplest statistical procedures, yet also one of the most widely used because of its broad applicability. It's especially useful in controlled experiments, where the two means being compared are the control group and the experimental group.

Difference of Means requires a categorical variable for the independent variable, and a quantitative variable for the dependent variable. The categorical variable should have only two options (for more categories, you can use a chi-square or F-test).

Here our independent variable is the electoral system, which is clearly categorical; there are multiple types to consider, but the two big ones are "first-past-the-post" plurality vote (like the US) and proportional representation (like Sweden). So we would make those our two categories, and sort countries into each group. If a country is hard to fit into either category (such as "mixed member proportional representation" in Germany), we might want to just leave it out of this analysis.

Then we need a variable to measure the party system, which must be quantitative---so that we can calculate a mean. The number of major parties would probably be a good one to use, where we could define "major" somehow, perhaps as having won at least three seats in the legislature or at least one election of the executive. (This would give the US 2 parties and Sweden 8 parties.) As a robustness check, we might want to see what expanding or contracting the definition of major parties does to our results.

Then, we just compute the mean number of parties among all countries in each category, as well as the standard deviation in each; the basic t-test is just to take the difference of the two means and divide it by the standard error, where the standard error is the average of the standard deviations, divided by the square root of the sample size.

This value we call t, and we can look it up on tables of the t-distribution to see how probable it is that a difference of this size would occur by chance.

Comments

Popular posts from this blog

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

A man has a garden measuring 84 meters by 56 meters. He divides it into the minimum number of square plots. What is the length of the square plots?

We wish to divide this man's garden into the minimum number of square plots possible. A square has all four sides with the same length.Our garden is a rectangle, so the answer is clearly not 1 square plot. If we choose the wrong length for our squares, we may end up with missing holes or we may not be able to fit our squares inside the garden. So we have 84 meters in one direction and 56 meters in the other direction. When we start dividing the garden in square plots, we are "filling" those lengths in their respective directions. At each direction, there must be an integer number of squares (otherwise, we get holes or we leave the garden), so that all the square plots fill up the garden nicely. Thus, our job here is to find the greatest common divisor of 84 and 56. For this, we prime factor both of them: `56 = 2*2*2*7` `84 = 2*2*3*7` We can see that the prime factors and multiplicities in common are `2*2*7 = 28` . This is the desired length of the square plots. If you wi...

What warning does Chuchundra issue to Rikki?

Chuchundra, the sniveling, fearful muskrat who creeps around walls because he is too terrified to go into the center of a room, meets Rikki in the middle of the night. He insults Rikki by begging him not to kill him. He then insults him by suggesting that Nag might mistake Chuchundra for Rikki. He says, "Those who kill snakes get killed by snakes."  He issues this warning to Rikki not to help keep Rikki safe but as a way of explaining why Rikki's presence gives him, Chuchundra, more reason to fear.  Chuchundra starts to tell Rikki what Chua the rat told him--but breaks it off when he realizes he might be overheard by Nag. He says, "Nag is everywhere, Rikki-Tikki." Rikki threatens to bite Chuchundra to get him to talk. Even then, Chuchundra won't overtly reveal any information. But he does say, "Can't you hear, Rikki-Tikki?" This is enough of a clue for the clever mongoose. He listens carefully and can just make out the "faintest scratch-s...