Vous êtes sur la page 1sur 16

Appendix

1. Is there a relationship between an appropriate combination of a persons height, weight, ring size or shoe size?
Assumption: Both variables are randomly selected from the populations they represent and together the variables come from a bivariate normal population. These data are randomly selected from population represent, and come from a bivariate normal population. Because of these data have each category, I could not compare all data with ANOVA or K W test, so I going to compare in pairs.

Height 56 71 65 68 65 66 66 69 67 72

Weight 194 190 150 160 144 154 152 155 210 210

Ring 10 8 7 7 2 7 11 8 7 10

Shoe 10 12 11 8.5 7 8 9 10 9 11

Height versus weight scatter plot shows data has a monotonic trend.

H0 : P=0 HA : P0 0.05
T= 1.7 P-value= 0.1276 df= 8 a= 2.6667 b= 0.5152 s= 2.7524 r= 0.5152 There is no evidence to suggest that height and weight have relationship. 95% CI: (-.1694, .8644) I am 95% confidence that the true correlation coefficient is between -.1694 and .8644.

Height versus ring size scatter plot shows data has an approximate monotonic trend.

H0 : P=0 HA : P0 0.05
T= 1.0830 P-value= 0.3104 df= 8 a= 3.5333 b= 0.3576 s= 2.9990 r= 0.3576 There is no evidence to suggest that height and ring size have relationship. 95% CI: (-.3511, .8058) I am 95% confidence that the true correlation coefficient is between -.3511 and .8058.

Height versus shoe size scatter plot shows data has an approximate linear trend.

H0 : P=0 HA : P0 0.05
T=0.7837 P-value= 0.4558 df= 8 a= 3.3573 b= 0.0931 s= 1.5697 r= 0.2670 There is no evidence to suggest that height and shoe size have relationship. 95% CI: (-.4359, .7676) I am 95% confidence that the true correlation coefficient is between -.4359 and . 7676.

Weight versus ring size scatter plot shows data has a monotonic trend.

H0 : P=0 HA : P0 0.05
T= 1.7 P-value= 0.1276 df= 8 a= 2.6667 b= 0.5152 s= 2.7524 r= 0.5152 There is no evidence to suggest that weight and ring size have relationship. 95% CI: (-.1694, .8644) I am 95% confidence that the true correlation coefficient is between -.1694 and .8644.

Weight versus shoe size scatter plot shows data has an approximate linear trend.

H0 : P=0 HA : P0 0.05
T= 1.5307 P-value= 0.1644 df= 8 a= 4.7322 b= 0.0280 s= 1.4325 r= 0.4759 There is no evidence to suggest that weight and shoe size have relationship. 95% CI: (-.2195, .8506) I am 95% confidence that the true correlation coefficient is between -.2195 and .8506.

Ring size versus shoe size scatter plot shows data has a approximate linear trend.

H0 : P=0 HA : P0 0.05
T= 1.8869 P-value= 0.0959 df= 8 a= 6.9216 b= 0.3414 s= 1.3550 r= 0.5550 There is no evidence to suggest that ring size and shoe size have relationship. 95% CI: (-.1147, .8779) I am 95% confidence that the true correlation coefficient is between -.1147 and .8779.

2. Is there a difference in gross income based on gender?


Female's income 39000 15000 0 20000 16000 Male's income 35000 15000 30000 8300 120000

Both two independence data came from normal populations, and both data are distributed normal. So, first use a F-test and then identify that pool is yes or no. Then do with 2-sample T-test. H0 : 1= 2 HA : 1 2 0.05 F-test p-value= 0.0434 Poll= No t= -1.8831 P-value= 0.1207 Df=4.8123

There is evidence a difference in gross income based on gender.

3. Is there a relationship between political party and a. if the respondent feels President Obama will be re-elected? b. if the respondent is in favor of the heath care bill as passed? c. If the respondent is in favor of the death penalty.
My sample data is too small, so I imported enough data from survey data. The assumptions for x2 procedure are that the experiment satisfies the properties of a multinomial experiment, and all of the expected frequencies are at least 1 and no more than 20% are less than 5. These all data is a multinomial experiment, and all of the frequencies are at least 1 and no more than 20% are less than 5.

A . A relationship between political party and President


Obama will be re-elected.
Yes Democrat Independent Republican Other Total 9 2 2 3 16

No 6 4 12 3 25

Undecided Total 1 16 1 7 3 17 4 10 9 50

Yes Democrat Independent Republican Other 4.98 3.05 7.20 2.77

No 9.14 5.58 13.20 5.08

Undecided 3.88 2.37 5.60 2.15

For test of independence, I need expected value. First is observed value, and second is expected value.

H0 : political party and President Obama will be re-elected are independent. HA : political party and President Obama will be re-elected are dependent.
0.05 X2= 11.9374 P-value= 0.0634 df= 6

There is no evidence to suggest that political party and President Obama will be re-elected have

relationship.

B. A relationship between political party and in favor of the heath care bill as passed.
Yes Democrat Independent Republican Other Total 8 1 5 1 15 No 6 8 15 2 31 Undecided Total 4 18 2 11 6 26 7 10 19 65

Yes Democrat Independent Republican Other 4.15 2.54 6.00 2.31

No 8.58 5.25 12.40 4.77

Undecided 5.26 3.22 7.60 2.92

First is observed value, and second is expected value.

H0 : political party and in favor of the heath care bill as passed are independent. HA : political party and in favor of the heath care bill as passed are dependent.

X2=16.5631
relationship.

P-value= 0.0110 df= 6

There is evidence to suggest that political party and in favor of the heath care bill as passed have

C. A relationship between political party and in favor of the death penalty.


Yes Democrat Independent Republican Other Total 11 8 18 6 43 No 6 2 7 2 17 Undecided Total 1 18 1 11 1 26 2 10 5 65

Yes No Undecided Democrat 11.91 4.71 1.38 Independent 7.28 2.88 0.85 Republican 17.20 6.80 2.00 Other 6.62 2.62 0.77 First is observed value, and second is expected value.

H0 : political party and in favor of the death penalty are independent. HA : political party and in favor of the death penalty are dependent.

X2=3.6123 P-value= 0.7290 df= 6


There is no evidence to suggest that political party and in favor of death penalty have relationship.

4. Is there a relationship between handedness and a. In favor of the death penalty b. Amount of water consumed
My sample data is too small, so I imported enough data from survey data. The assumptions for x2 procedure are that the experiment satisfies the properties of a multinomial experiment, and all of the expected frequencies are at least 1 and no more than 20% are less than 5. These all data is a multinomial experiment, and all of the frequencies are at least 1 and no more than 20% are less than 5.

a. In favor of the death penalty


Yes Right Left Ambidextrous Total 35 6 2 43 No 11 5 1 17 Undecided Total 3 49 1 12 1 4 5 65

Yes No Undecided Right 32.42 12.82 3.77 Left 7.94 3.14 0.92 Ambidextrous 2.65 1.05 0.31 First is observed value, and second is expected value.

H0 : handedness and in favor of the death penalty are independent. HA : handedness and in favor of the death penalty are dependent.

X2=3.9216 P-value= 0.4167 df= 4


There is no evidence to suggest that handedness and in favor of death penalty have relationship.

b. Amount of water consumed


0=<x<30 30=<x<60 60=<x Total 13 17 17 49 10 1 1 12 2 1 1 4 25 19 19 65

Right Left Ambidextrous Total

0=<x<30 30=<x<60 60=<x Right 18.85 14.32 14.32 Left 4.62 3.51 3.51 Ambidextrous 1.54 1.17 1.17 First is observed value, and second is expected value.

H0 : handedness and Amount of water consumed are independent. HA : handedness and Amount of water consumed are dependent.

X2=12.5690 P-value= 0.0136 df= 4

There is evidence to suggest that handedness and Amount of water consumed have relationship.

5. Form your own question, which encompasses the question regarding change in affiliation with political parties.

Some frequencies are 0, so I made just which political partys people participate well. So my question is that is there a relationship between political party and participation degree?
My sample data is too small, so I imported enough data from survey data. The assumptions for x2 procedure are that the experiment satisfies the properties of a multinomial experiment, and all of the expected frequencies are at least 1 and no more than 20% are less than 5. These all data is a multinomial experiment, and all of the frequencies are at least 1 and no more than 20% are less than 5.

I considered myself a Republican or Conservative and now associate myself with the Tea Party. Democrat 1 Independent 0 Republican 13 Other 0 Total 14

I considered myself a Democrat or Liberal and now associate myself with the Tea Party. 5 0 0 0 5

I considered myself other than Democrat or Republican and now associate myself Not with the applicable Tea Party. to me. Total 6 6 18 1 10 11 1 12 26 1 9 10 9 37 65

Is there a relationship between political parties and political participation degree?


Participate Not participate

Democrat Independent Republican Other Total

12 1 14 1 28

6 10 12 9 37

18 11 26 10 65

Democrat Independent Republican Other

Participate 7.75 4.74 11.20 4.31

Not participate 10.25 6.26 14.80 5.69

First is observed value, and second is expected value.

H0 : political parties and political participation degree are independent. HA : political parties and political participation degree are dependent.

X2=14.9581 P-value= 0.0019 df= 3


There is evidence to suggest a relationship political parties and political participation degree.

6. Form a minimum of at least one other question based on the data that was collected.

Is there a relationship between Ethnicity and Obama reelection?


My sample data is too small, so I imported enough data from survey data. The assumptions for x2 procedure are that the experiment satisfies the properties of a multinomial experiment, and all of the expected frequencies are at least 1 and no more than 20% are less than 5. These all data is a multinomial experiment, and all of the frequencies are at least 1 and no more than 20% are less than 5.

Yes

No

Undecided Total

White Black Hispanic Other Total

7 6 5 1 19

22 3 6 2 33

8 2 1 2 13

37 11 12 5 65

Yes No Undecided White 10.82 18.78 7.40 Black 3.22 5.58 2.20 Hispanic 3.51 6.09 2.40 Other 1.46 2.54 1.00 First is observed value, and second is expected value.

H0 : Ethnicity and Obama reelection are independent. HA : Ethnicity and Obama reelection are dependent.

X2=8.2838 P-value= 0.2180 df= 6


There is no evidence to suggest a relationship Ethnicity and Obama reelection.

Is there a relationship between house worked per week and annual gross income?
Assumption: Both variables are randomly selected from the populations they represent. Together the variables come from a bivariate normal population. These data are randomly selected from population represent, and come from a bivariate normal population.

Hours Annual worked gross per income week 15000 21.5 85000 45 70000 50 12000 20 9000 35 0 0 55000 47

14000 42000 11000 0 55000 25000 10000 30000 20000 32000 10000 33000 22000 0 0 39000 36000 0 0 12000 12000 37000 10000 0 0 37000 40000 100000 135000 55000 175000 78000 30000 80000 72000 60000 90000 90000 18000 25000 30000 7000 75000

25 42 28 18 48 20 17 40 42 40 10 42 25 0 0 40 40 0 0 5 5 40 15 15 30 40 40 35 75 55 72 60 40 55 40 40 60 60 40 75 45 10 40

52000 10000 0 49000 50000 60000 51000 75000 25000 25000 70000 5000 21600 30000 18000

38 20 0 9 0 0 0 85 60 60 45 33 41 40 15

This correlation is approximately linear trend. H0 : P=0 HA : P0 0.05 Y=a+bx Not equal 0 t= 6.2770 P-value= 3.5689E-9 Approx 0 df= 63 a= 4053.5322 b= 1004.9779 s= 37610.6761 r2= 0.3848

r= 0.6203 There is evidence to suggest a relationship between house worked per week and annual gross income.
95% CI: (.4435, .7506) I am 95% confidence that the true correlation coefficient is between .4435 and .7506.

Vous aimerez peut-être aussi