# Political Correlation II

(10 pts)

In this problem, we're going to investigate the following question: How is the statewide proportion of Democratic votes for the US House related to the proportion of Democratic seats for that state?

In 2016, for example, $46.6%$ of the state votes for the US Congress went to Democrats statewide, but they received only $23.1%$ of the seats. I suppose that's a result of gerrymandering. How did things look nationwide in that election?

To address the question, open up this COLAB notebook. After perusing the notebook, generate a random sample from the data set with 8 rows. Then answer the following questions for your sample:

- What states did you investigate?
- What is the correlation between the two proportions for your sample?
- What is an equation of the regression line for your proportions?
- What proportion of seats does your regression predict for a statewide Democratic vote proportion of $40\%$?

## Comments

The States that were randomly generated for me were:Arkansas, Hawaii, Indiana, Kentucky, Michigan, New Jersey, New Mexico, and Wisconsin.The Correlation between two proportions:rvalue = 0.981My equation of the regression line:2.71*0.4-0.91My proportion of seats:0.17400000000000004My states are Delaware, Hawaii, Iowa, Kentucky, Michigan, North Carolina, South Dakota, Vermont

The Correlation: R = 0.89

The equation is: y = 2.32x - 0.73

The proportion is: .19799999

.States being used-California, Delaware, Hawaii, Missouri, Nebraska, North Carolina, North Dakota, Vermont.

.Correlation between the two proportions-0.88847

.Y=2.09x-0.56

.2.09*0.4-0.56=0.2759999999999999

What states did you investigate?

What is the correlation between the two proportions for your sample?

What is an equation of the regression line for your proportions?

What proportion of seats does your regression predict for a statewide Democratic vote proportion of 40%?

States Investigated:

Correlation (R-Value) between two proportions:

Proportion of seats the line of regression predicts:

Proportion of seats my regression line predicted:

The States that were given to me were Connecticut, Kentucky, Massachusetts, Montana, New Jersey, New Mexico, Rhode Island, and Wisconsin

The Correlation between the two proportions:

My equation of the regression line is

My proportion of seats is

I investigated the following states:Colorado, Delaware, Kansas, Montana, Nevada, Ohio, Oregon, and West Virginia.The correlation between two proportions:rvalue = 0.9401541680298139My equation of the regression line:y = 4.6052712179874815x−1.6244213126212377My proportion of seats:0.21768717457375475My states:

My Correlation: 0.8817722888924145

My Equation: 𝑦=2.19(0.4)-0.57y.

The proportion of Seats: 0.30600000000000005

Alabama

Delaware

Hawaii

Indiana

Mississippi

Nebraska

Tennessee

Wyoming

The correlation is r= .891809

The equation of the regression line is y= 2.65*0.4-0.8124

The 40% proportion is .24760

Connecticut, Illinois, Maryland, Minnesota, North Dakota, Oregon, Rhode Island, and Vermont

My correlation is 0.85781

My equation is 𝑦=1.81*.4−0.28

Which gives me a proportion of 0.44400000000000006

The states I investigated are

Florida

Hawaii

Indiana

Iowa

Missouri

Oregon

South Dakota

West Virginia

The correlation between the two proportions:

0.952

Regression Line equation

𝑦=2.67𝑥−0.85.

Prediction

0.218

I investigated Georgia, Massachusetts, Illinois, Vermont, Nebraska, Nevada, Rhode Island, Tennessee

Correlation between the two proportions= 0.81537

Regression Line Equation= 2.038*0.4-0.5276

Prediction= 0.2876 or 28.76%