0% found this document useful (0 votes)
74 views27 pages

Group1 Assignment MAS202 MKT1504 Edit

The document is a group assignment sheet for a marketing class. It lists the group members and assigns them different analysis tasks to complete using life expectancy data from 5 countries over 2 centuries. The tasks include constructing a confidence interval, testing for differences in means between countries and time periods, and testing for interaction between factors. Tables of life expectancy data from the 5 countries are also included.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views27 pages

Group1 Assignment MAS202 MKT1504 Edit

The document is a group assignment sheet for a marketing class. It lists the group members and assigns them different analysis tasks to complete using life expectancy data from 5 countries over 2 centuries. The tasks include constructing a confidence interval, testing for differences in means between countries and time periods, and testing for interaction between factors. Tables of life expectancy data from the 5 countries are also included.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 27

GROUP ASSIGNM

MAS202 | Group 1 | MK
Lecturer: Vu Thi Tuyet M

Team Members:
Name Roll Number
Ngo Thi Vinh HS150016
Nguyen Thi Thanh Hang HS150005
Nguyen Hong Lien HS153039
Mai Phuong Thao HS150709
Nguyen Thuc Khanh HS150080
Nguyen Anh Duong HS150579
UP ASSIGNMENT
| Group 1 | MKT1504
urer: Vu Thi Tuyet Mai

Assigned Job

Sheet 6 - 2 way ANOVA, Studentized Q, Levene Test

Sheet 7 - Test for Interaction of 2 factors, Proofreading

Sheet 4 - 95% CI (confidence interval) estimate

Sheet 5 - Test for difference in 2 means in each country


Table of Content
Name Content
Sheet 3 - Population Population of life expectancy in 5 countries

Sheet 4 - 95% CI estimate Contruct and interpret a 95% confidence interval estimate of the mean d

Sheet 5 - 2 means in each country At the 0.05 level of significance, is there evidence of a difference in the m

a. At the 0.05 level of signigicance, is there evidence of a difference betw


Sheet 6 - 2-way ANOVA b. If appropriate, determine which countries differ in the mean of life ex
c. At the 0.05 level of significance, is there evidence of a difference in th

At the 0.05 level of significance,


a. Is there an interaction between the time period and life-expectancy o
Sheet 7 - The interaction of 2 factors b. Is there an effect due to the time period?
C. Is there an effect due to the life-expectancy of countries?
f Content
Content
s

nterval estimate of the mean difference in the life expectancy in each country.

vidence of a difference in the mean of 2 centuries in each country?

e evidence of a difference between the mean of life expectancy among 5 countries?


es differ in the mean of life expectancy.
evidence of a difference in the variation in life expectancy among 5 countries?

e period and life-expectancy of countries?


d?
ancy of countries?
LIFE EXPECTANCY OF 5 COUNTRIES IN 19th CENTURY and 20th CENTURY
Brazil United State Canada Germany India Brazil United State
19th 32 38.649761 39 38.37 25.4424 20th 31.98067 46.32
Century 31.99981 37.350822 39.0015 38.37 25.4424 Century 31.98047 47.91
31.99961 38.615601 39.003 38.37 25 31.98028 49.080002
From From
1800 to 31.99942 37.316845 39.00449 38.37 24 1900 to 31.98009 50.43
1899 31.99923 41.436916 39.00599 38.37 23.5 1999 31.97989 49.110001
31.99903 42.317261 39.00748 38.37 25.4424 31.9797 50.860001
31.99884 43.216114 39.00898 38.37 25.4424 31.97951 50.580002
31.99865 40.04594 39.01048 38.37 25.4424 31.97931 51.439999
31.99845 40.347794 39.01197 38.37 25.4424 31.97912 51.84
31.99826 41.742203 39.01347 38.37 25.4424 31.97893 52.52
31.99807 38.347382 39.01497 38.37 25.4424 31.97873 53.990002
31.99787 39.887272 39.01646 38.37 25.4424 31.97854 51.540001
31.99768 41.826324 39.01796 38.37 23 31.97835 54.549999
31.99749 43.038368 39.01946 38.37 25.4424 31.97815 53.830002
31.99729 40.241531 39.02095 38.37 25.4424 31.97796 51.990002
31.9971 41.131779 39.02245 38.37 25.4424 31.97777 48.200001
31.99691 39.938316 39.02395 38.37 25.4424 31.97757 47.73
31.99671 41.040718 39.02544 38.37 25.4424 31.97738 45.57
31.99652 39.847767 39.02694 38.37 25.4424 26.97819 40.43
31.99633 40.51926 39.02844 38.37 25.4424 31.97699 54.119999
31.99613 41.312477 39.02993 38.37 25.4424 31.9768 56.599998
31.99594 41.780403 39.03143 38.37 25.4424 31.97912 58.349998
31.99575 41.349724 39.03293 38.37 25.4424 31.98144 57.130001
31.99555 40.048023 39.03443 38.37 25.4424 31.98376 59.400002
31.99536 39.192757 39.03592 38.37 25.4424 31.98608 58.169998
31.99517 39.939877 39.03742 38.37 25.4424 31.9884 58.509998
31.99497 39.830349 39.03892 38.37 25.4424 31.99072 59.66
31.99478 41.138859 39.04041 38.37 25.4424 31.99304 59.040001
31.99459 42.032665 39.04191 38.37 25.4424 31.99536 59.990002
31.99439 41.558071 39.04341 38.37 25.4424 31.99768 57.709999
31.9942 43.018311 39.0449 38.37 25.4424 32 60.889999
31.99401 40.843559 39.0464 38.37 25.4424 32.46407 60.110001
31.99381 40.163628 39.17348 38.37 23 32.92814 60.630001
31.99362 41.349632 39.30056 38.37 22 33.39222 60.669998
31.99343 40.783878 39.42764 38.37 25.4424 33.85629 61.400002
31.99323 41.104195 39.55472 38.37 25.4424 34.32036 62.049999
31.99304 41.427021 39.6818 38.37 25.4424 34.78443 61.849998
31.99285 40.203598 39.80888 38.37 24.3 35.24851 61.880001
31.99265 40.301132 39.93596 38.37 23.9 35.71258 63.299999
31.99246 40.879307 40.06304 38.37 25.4424 36.17665 63.689999
31.99227 39.927151 40.19012 38.37 25.4424 36.64072 60.970001
31.99207 41.700001 40.3172 38.37 25.4424 37.77258 61.369999
31.99188 41.349998 40.39145 38.37 25.4424 38.90443 63.990002
31.99169 41.860001 40.46569 38.37 25.4424 40.03629 64.010002
31.99149 41.549999 40.53994 38.37 25.4424 41.16814 64.849998
31.9913 42.560001 40.61419 38.37 25.4424 42.3 65.849998
31.99111 39.959999 40.68844 38.37 25.4424 43.848 66.470001
31.99091 38.330002 40.76269 38.37 25.4424 45.396 66.440002
31.99072 39.5 40.83694 38.37 25.4424 46.944 68.5
31.99053 37.380001 40.91118 38.37 25.4424 48.492 68.190002
31.99033 42.799999 40.98543 38.37 25.4424 50.04 68.699997
31.99014 41.419998 41.05968 38.37 25.4424 50.28 68.300003
31.98995 40.93 41.11322 38.37 25.4424 50.763 69.599998
31.98975 40.560001 41.16675 38.37 25.4424 51.248 69.870003
31.98956 39.34 41.22029 38.37 25.4424 51.737 70.239998
31.98937 41.029999 41.27382 38.37 25.4424 52.23 70.209999
31.98917 43.25 41.32736 38.37 25.4424 52.725 70.480003
31.98898 41.880001 41.3809 38.37 25.4424 53.222 70.599998
31.98879 40.040001 41.43443 38.37 25.4424 53.72 70.779999
31.98859 40.84 41.48797 38.37 25.4424 54.214 70.879997
31.9884 43.009998 41.5415 38.37 23 54.702 71.099998
31.98821 42.380001 41.59504 38.37 22 55.179 70.849998
31.98801 42.52 41.69122 38.37 25.4424 55.643 70.919998
31.98782 40.400002 41.78739 38.37 25.4424 56.091 70.830002
31.98763 39.970001 41.88357 38.37 25.2523 56.521 71.620003
31.98743 40.650002 41.97974 38.37 25.2523 56.935 71.610001
31.98724 40.41 42.07592 38.37 21.03983 57.334 71.529999
31.98705 42.619999 42.1721 38.37 25.2523 57.722 72.160004
31.98685 42 42.26827 38.37 25.2523 58.105 71.790001
31.98666 41.669998 42.36445 38.37 21.30447 58.484 71.75
31.98647 40.950001 42.46063 38.37 25.4424 58.865 72
31.98627 41.310001 42.5568 38.37 25.4424 59.251 72.32
31.98608 42.900002 42.7741 38.37 25.4424 59.644 72.099998
31.98589 43.779999 42.99139 38.37 25.4424 60.042 72.309998
31.98569 42.130001 43.20869 38.37 25.4424 60.443 72.510002
31.9855 41.849998 43.42598 38.37 25.11 60.844 72.779999
31.98531 43.689999 43.64328 38.477 20 61.236 72.760002
31.98511 44.700001 43.86058 38.584 19 61.615 73.25
31.98492 43.009998 44.07787 38.691 20 61.978 73.18
31.98473 44.27 44.29517 38.798 25.4424 62.328 73.290001
31.98453 43.779999 44.51246 38.905 25.4424 62.669 73.720001
31.98434 46.110001 44.72976 39.012 25.4424 63.008 74.059998
31.98415 44.869999 44.7742 39.119 25.3248 63.353 74.190002
31.98395 45.09 44.81864 39.226 25.2072 63.71 74.440002
31.98376 44.790001 44.86308 39.333 25.0896 64.081 74.830002
31.98357 45.759998 44.90752 39.44 24.972 64.466 74.68
31.98337 45.330002 44.95196 39.734 24.8544 64.862 74.949997
31.98318 45.650002 44.9964 40.028 24.7368 65.264 75.300003
31.98299 46.810001 45.04084 40.322 24.41756 65.667 75.410004
31.98279 46.34 45.08528 40.616 24.30092 66.068 75.550003
31.9826 44.75 45.12972 40.91 24.384 68.41 75.720001
31.98241 44.290001 45.17416 41.204 23.02528 68.74 75.940002
31.98221 45.509998 45.52019 41.498 22.65476 68.91 76.169998
31.98202 44.869999 45.86622 41.792 24.11024 69.13 76.300003
31.98183 48.34 46.21226 42.086 24.03216 69.38 76.550003
31.98163 45.73 46.55829 42.38 23.95 69.66 76.690002
31.98144 47.41 46.90432 42.687 22.75 69.96 76.910004
31.98125 47.23 47.25035 42.994 19.85 70.34 77.139999
31.98105 46.98 47.59638 43.301 25.75 70.67 77.339996
31.98086 46.130001 47.94242 43.608 23.35 70.98 77.529999
h CENTURY
Canada Germany India
48.28845 43.915 18.35
48.63448 44.222 23.05
49.0221 44.529 23.6
49.40971 44.836 23.41776
49.79733 45.143 22
50.18494 45.45 21.9
50.57256 46.04167 21.88693
50.96018 46.63334 19.23889
51.34779 47.225 23.24816
51.73541 47.81667 23.21424
52.12302 48.40833 23.18032
52.51064 49 23.1464
52.96158 49.59167 23.33858
53.41251 50.18333 23.53076
53.86345 46.17648 23.72293
54.31438 40.52556 23.91511
54.76532 38.98882 24.10729
55.21626 40.08038 24.29947
47.16997 32.93682 8.108836
56.11813 48.32066 24.57893
56.56907 53.5 24.71867
57.02 55.01429 24.8584
57.02 55.61572 25.304
57.02 56.21714 25.7496
58.83 56.81857 26.1952
59.31 57.42 26.6408
57.99 57.828 27.0864
58.68 58.236 27.532
58.57 58.644 27.9776
57.97 59.052 28.4232
58.95 59.46 28.8688
60.36 59.868 29.3144
61.43 60.276 29.64224
62.36 60.684 29.97008
62.77 61.092 30.29792
62.49 61.5 30.62576
62.72 61.78667 30.9536
61.35 62.07333 31.28144
63.31 62.36 31.60928
63.74 61 31.93712
64.01 60.65987 32.26496
63.76 59 32.5928
64.7 55 32.84138
64.61 49.7 32.09975
65.35 37 32.59607
66.33 29 33.58711
66.53 60.51136 33.83569
66.78 62.10952 32.3785
67.33 63.70768 34.08567
67.65 65.30584 34.58142
68.28 66.904 34.83
68.55 67.066 35.167
68.75 67.385 35.843
69.13 67.692 36.522
69.99 67.988 37.204
70.05 68.271 37.889
70.04 68.56245 38.578
69.96 68.48041 39.271
70.62 69.22045 39.969
70.66 69.32746 40.675
71.04 69.24523 41.391
71.27 69.83643 42.119
71.3 70.00439 42.86
71.31 70.09289 43.613
71.69 70.6511 44.375
71.79 70.6345 45.141
71.92 70.74811 45.903
72.13 70.96995 46.655
72.29 70.61545 47.394
72.45 70.4649 48.119
72.65 70.70416 48.836
72.98 70.92024 49.554
72.88 71.1442 50.281
73.11 71.39086 51.015
73.19 71.69291 51.75
73.49 71.53857 52.47
73.92 71.99999 53.159
74.21 72.61066 53.8
74.54 72.58411 54.383
74.9 72.94324 54.903
75.14 73.11665 55.363
75.55 73.35397 55.767
75.76 73.657 56.131
76.13 73.93553 56.47
76.43 74.4139 56.792
76.41 74.51756 57.102
76.56 74.72496 57.4
76.86 75.12293 57.687
76.93 75.29594 57.964
77.2 75.47804 58.238
77.43 75.47 58.96
77.61 75.71 59.31
77.76 76 59.65
77.82 76.17 60.02
77.93 76.4 60.38
78.07 76.64 60.73
78.31 76.89 61.03
78.57 77.18 61.28
78.78 77.45 61.61
79.01 77.73 61.94
α = 0.05
19th SAMPLE E = tα/2,n-1* (s/ √n)
Century Brazil United State Canada Germany India t = 2.000995
31.99981 37.350822 39.0015 38.37 25.4424 n= 60
From 31.99961 38.615601 39.003 38.37 25 SBrazil = 9.567185
1800 to
1899 31.99942 37.316845 39.00449 38.37 24 SUS = 10.56708
31.99923 41.436916 39.00599 38.37 23.5 SCanada = 11.15406
31.99903 42.317261 39.00748 38.37 25.4424 SGermany = 11.05342
31.99884 43.216114 39.00898 38.37 25.4424 SIndia = 9.972958
31.99768 41.826324 39.01796 38.37 23
31.99691 39.938316 39.02395 38.37 25.4424 So confidence interval of Brazil runs from:
31.99671 41.040718 39.02544 38.37 25.4424 So confidence interval of United State runs fro
31.9826 44.75 45.12972 40.91 24.384 So confidence interval of Cadana runs from:
31.98241 44.290001 45.17416 41.204 23.02528 So confidence interval of Germany runs from:
31.98221 45.509998 45.52019 41.498 22.65476 So confidence interval of India runs from:
31.98202 44.869999 45.86622 41.792 24.11024
20th 31.98183 48.34 46.21226 42.086 24.03216 => We are 95% confident that the mean of life-ex
Century 31.98125 47.23 47.25035 42.994 19.85 expectancy in Brazil falls out the interval.
31.97989 49.110001 49.79733 45.143 22 We are 95% confident that the mean of life-ex
From life expectancy in United State falls out the int
1900 to 31.9797 50.860001 50.18494 45.45 21.9
1999 31.97951 50.580002 50.57256 46.04167 21.88693 We are 95% confident that the mean of life-ex
31.97931 51.439999 50.96018 46.63334 19.23889 expectancy in Canada falls out the interval.
31.97912 51.84 51.34779 47.225 23.24816 We are 95% confident that the mean of life-ex
31.97699 54.119999 56.11813 48.32066 24.57893 expectancy in Germany falls out the interval.
31.9768 56.599998 56.56907 53.5 24.71867 We are 95% confident that the mean of life-ex
31.97912 58.349998 57.02 55.01429 24.8584 expectancy in India falls out the interval.
31.98144 57.130001 57.02 55.61572 25.304
31.98376 59.400002 57.02 56.21714 25.7496 => The United State is the country with the larges
32 60.889999 58.95 59.46 28.8688 And India is the country with the smallest confi
32.46407 60.110001 60.36 59.868 29.3144
63.008 74.059998 75.55 73.35397 55.767 => The reason the United States has such a high l
63.353 74.190002 75.76 73.657 56.131 technologies to take care of their health, have
63.71 74.440002 76.13 73.93553 56.47
=> India has a low life expectancy due to underde
diseases originating in India,…
EBrazil = 3.495181 MeanBrazil = 35.14034
EUS = 3.860471 MeanUS = 50.70563
ECanada = 4.074914 MeanCanada = 50.32039
EGermany = 4.038147 MeanGermany = 47.84164
EIndia = 3.643422 MeanIndia = 27.36011

interval of Brazil runs from: 31.64516 to 38.63552


interval of United State runs from: 46.84516 to 54.5661
interval of Cadana runs from: 46.24548 to 54.3953
interval of Germany runs from: 43.8035 to 51.87979
interval of India runs from: 23.71669 to 31.00353

onfident that the mean of life-expectancy in Brazil falls in the interval 32.27 to 37.61 and 5% the mean of life
Brazil falls out the interval.
onfident that the mean of life-expectancy in United State falls in the interval 47.976 to 53.4354 and 5% the mean of
y in United State falls out the interval.
onfident that the mean of life-expectancy in Cadana falls in the interval 47.44 to 53.2 and 5% the mean of life
Canada falls out the interval.
onfident that the mean of life-expectancy in Germany falls in the interval 44.986 to 50.697 and 5% the mean of life
Germany falls out the interval.
onfident that the mean of life-expectancy in India falls in the interval 24.784 to 29.94 and 5% the mean of life
India falls out the interval.

te is the country with the largest confidence interval from 47,976 to 53,4354 years old.
e country with the smallest confidence interval from 24,784 to 29.94 years old.

e United States has such a high life expectancy is that thanks to the developed economy, they have many
o take care of their health, have good eating and living conditions,...

life expectancy due to underdeveloped economic conditions, harsh environmental conditions, many major
ating in India,…
SAMPLE
Brazil United State Canada Germany India
19th 31.99981 37.350822 39.0015 38.37 25.4424
Century 31.99961 38.615601 39.003 38.37 25
31.99942 37.316845 39.00449 38.37 24
From
1800 to 31.99923 41.436916 39.00599 38.37 23.5
1899 31.99903 42.317261 39.00748 38.37 25.4424
31.99884 43.216114 39.00898 38.37 25.4424
31.99768 41.826324 39.01796 38.37 23
31.99691 39.938316 39.02395 38.37 25.4424
31.99671 41.040718 39.02544 38.37 25.4424
31.9826 44.75 45.12972 40.91 24.384
31.98241 44.290001 45.17416 41.204 23.02528
31.98221 45.509998 45.52019 41.498 22.65476
31.98202 44.869999 45.86622 41.792 24.11024
31.98183 48.34 46.21226 42.086 24.03216
31.98125 47.23 47.25035 42.994 19.85
31.97989 49.110001 49.79733 45.143 22
20th 31.9797 50.860001 50.18494 45.45 21.9
Century 31.97951 50.580002 50.57256 46.04167 21.88693
31.97931 51.439999 50.96018 46.63334 19.23889
From
1900 to 31.97912 51.84 51.34779 47.225 23.24816
1999 31.97699 54.119999 56.11813 48.32066 24.57893
31.9768 56.599998 56.56907 53.5 24.71867
31.97912 58.349998 57.02 55.01429 24.8584
31.98144 57.130001 57.02 55.61572 25.304
31.98376 59.400002 57.02 56.21714 25.7496
32 60.889999 58.95 59.46 28.8688
32.46407 60.110001 60.36 59.868 29.3144
63.008 74.059998 75.55 73.35397 55.767
63.353 74.190002 75.76 73.657 56.131
63.71 74.440002 76.13 73.93553 56.47
t-Test: Paired Two Sample for Means Ho: µ = 0
Brazil H1: µ ≠ 0 (two - tailed)
19th 20th t 0.025,13 = 2.532638
Mean 31.99197 38.28871 t stat = -1.878728
Variance 7.114E-05 168.3594 => Fail to reject Ho
Observations 15 15 =>
There is no evidence of
Pearson Correlation -0.634578 difference in the mean of 2
Hypothesized Mean Difference 0 centuries in Brazil.
df 14 =>
t Stat -1.878728 Although the economy and
society have developed, due to
P(T<=t) one-tail 0.0406319 many objective reasons such as
t Critical one-tail 1.7613101 facilities or living areas, there
P(T<=t) two-tail 0.0812639 are still many difficulties,
causing the quality of life to
t Critical two-tail 2.1447867 decrease.

t-Test: Paired Two Sample for Means Ho: µUSA = 0


United Stated H1: µUSA ≠ 0 (two - tailed)
19th 20th t 0.025,13 = 2.532638
Mean 42.536594 58.87467 t state = -10.09657
Variance 11.335115 76.96736 => Reject Ho
Observations 15 15 => There is evidence of difference
Pearson Correlation 0.8298891 in the mean of 2 centuries in
Hypothesized Mean Difference 0 USA.
df 14 =>
The reason for this happen
t Stat -10.09657 because the development of
P(T<=t) one-tail 4.146E-08 economy and social of USA
t Critical one-tail 1.7613101 increase living conditions of
people.
P(T<=t) two-tail 8.292E-08
t Critical two-tail 2.1447867

t-Test: Paired Two Sample for Means Ho: µG = 0


Germany H1: µG ≠ 0 (two - tailed)
19th 20th t 0.025,13 = 2.532638
Mean 39.720933 55.96235 t state = -7.088392
Variance 3.1280255 108.6424 => Reject Ho
Observations 15 15 => There is evidence of difference
Pearson Correlation 0.8956417 in the mean of 2 centuries in
Hypothesized Mean Difference 0 Germany.
df 14 =>
t Stat -7.088392 The reason for this happen
because the development of
economy and social of
Germany increase living
conditions of people.
The reason for this happen
P(T<=t) one-tail 2.72E-06 because the development of
economy and social of
t Critical one-tail 1.7613101 Germany increase living
P(T<=t) two-tail 5.435E-06 conditions of people.
t Critical two-tail 2.1447867
t-Test: Paired Two Sample for Means Ho: µI = 0
India H1: µI ≠ 0
19th 20th t 0.025,13 = 2.532638
Mean 24.05123 30.66899 t state = -1.796408
Variance 2.339723 180.2229 => Fail to reject Ho
Observations 15 15 =>
There is no evidence of difference in the
Pearson Correlation -0.511387 mean of 2 centuries in India.
Hypothesized Mean Difference 0
df 14 =>
t Stat -1.796408 Due to many objective reasons
underdeveloped economic conditions
P(T<=t) one-tail 0.047016 uneven depending on the region, harsh
t Critical one-tail 1.76131 environmental conditions, many major
P(T<=t) two-tail 0.094033 problems such as physical facilities or
living areas, there are still many
t Critical two-tail 2.144787 difficulties, making living conditions
decrease of people.

t-Test: Paired Two Sample for Means Ho: µC = 0


Canada H1: µC ≠ 0 (two - tailed)
19th 20th t 0.025,13 = 2.532638
Mean 41.75011 58.89067 t state = -9.730386
Variance 12.28511 88.03549 => Reject Ho
Observations 15 15 =>
There is evidence of difference in the
Pearson Correlation 0.81758 mean of 2 centuries in Canada.
Hypothesized Mean Difference 0
df 14 => The reason for this happen because the
development of economy and social of
t Stat -9.730386 Canada increase living conditions of
P(T<=t) one-tail 6.55E-08 people.
t Critical one-tail 1.76131
P(T<=t) two-tail 1.309E-07
t Critical two-tail 2.144787
of difference in the
in India.

ve reasons
nomic conditions
n the region, harsh
tions, many major
ysical facilities or
e still many
ving conditions

difference in the
in Canada.

appen because the


nomy and social of
ng conditions of
SAMPLE Anova: Two-Factor With Replication
Brazil United State Canada Germany India
19th 31.999807 37.350822 39.0015 38.37 25.4424 SUMMARY
Century 31.999613 38.615601 39.003 38.37 25 19th Century
31.99942 37.316845 39.00449 38.37 24 Count
From
1800 to 31.999228 41.436916 39.00599 38.37 23.5 Sum
1899 31.999033 42.317261 39.00748 38.37 25.4424 Average
31.99884 43.216114 39.00898 38.37 25.4424 Variance
31.997681 41.826324 39.01796 38.37 23
31.996906 39.938316 39.02395 38.37 25.4424 20th Century
31.996714 41.040718 39.02544 38.37 25.4424 Count
31.982599 44.75 45.12972 40.91 24.384 Sum
31.982407 44.290001 45.17416 41.204 23.02528 Average
31.982214 45.509998 45.52019 41.498 22.65476 Variance
31.982019 44.869999 45.86622 41.792 24.11024
31.981827 48.34 46.21226 42.086 24.03216 Total
31.981247 47.23 47.25035 42.994 19.85 Count
20th 31.979893 49.110001 49.79733 45.143 22 Sum
Century 31.9797 50.860001 50.18494 45.45 21.9 Average
31.979507 50.580002 50.57256 46.04167 21.88693 Variance
From
1900 to 31.979313 51.439999 50.96018 46.63334 19.23889
1999 31.97912 51.84 51.34779 47.225 23.24816
31.976994 54.119999 56.11813 48.32066 24.57893 ANOVA
31.976801 56.599998 56.56907 53.5 24.71867 Source of Variation
31.97912 58.349998 57.02 55.01429 24.8584 Sample
31.98144 57.130001 57.02 55.61572 25.304 Columns
31.983761 59.400002 57.02 56.21714 25.7496 Interaction
32 60.889999 58.95 59.46 28.8688 Within
32.464073 60.110001 60.36 59.868 29.3144
63.007999 74.059998 75.55 73.35397 55.767 Total
63.353001 74.190002 75.76 73.657 56.131
63.709999 74.440002 76.13 73.93553 56.47
Median 31.98318 48.7250005 48.52384 44.0685 24.6488 a. Ho: 𝜇B = 𝜇U= 𝜇C = 𝜇G = 𝜇I
Ho: 𝜇B ≠ 𝜇U ≠ 𝜇C ≠ 𝜇G ≠ 𝜇I

=>
The reasons behind this may depend o
the ability of people to access it, geneti
poor nutrition and lack of exercise and
adequate sanitation.

b. Determine the life expextancy of these


c = 5 ; n = 75 => n-c =70
Studentized Range Q : Q = 3.960
│Xb - Xu│=
│Xb - Xc│=
│Xb - Xg│=
│Xb - Xi│=
│Xu - Xc│=
│Xu - Xg│=
│Xu - Xi│=
│Xc - Xg│=
│Xc - Xi│=
│Xg - Xi│=

c. Levene Homogeneity Of Variance

SAMP
Brazil
0.0166070000000005
0.016413
0.0162200000000006
0.0160279999999986
0.0158330000000007
0.0156400000000012
0.014481
0.0137059999999991
0.0135140000000007
0.0006009999999996
0.0007930000000016
0.000986000000001
0.001180999999999
0.001373000000001
0.0019530000000003
0.0033069999999995
0.003499999999999
0.0036929999999984
0.0038869999999989
0.0040799999999983
0.0062059999999988
0.0063990000000018
0.0040799999999983
0.0017600000000009
0.0005610000000011
0.0167999999999999
0.480872999999999
31.024799
31.369801
31.726799
o-Factor With Replication

Brazil United State Canada Germany India Total 31.99981 31.9832


31.99961 31.9832
15 15 15 15 15 75 31.99942 31.9832
479.879555 638.048915 626.2517 595.814 360.7684 2700.762578 31.99923 31.9832
31.99197033 42.53659433 41.75011 39.72093 24.05123 36.0101677066667 31.99903 31.9832
7.113677E-05 11.33511526 12.28511 3.128025 2.339723 55.8693135616895 31.99884 31.9832
31.99768 31.9832
31.99691 31.9832
15 15 15 15 15 75 31.99671 31.9832
574.330721 883.120003 883.36 839.4353 460.0348 3640.280821 31.9826 31.9832
38.28871473 58.87466687 58.89067 55.96235 30.66899 48.5370776133333 31.98241 31.9832
168.3593779 76.96735714 88.03549 108.6424 180.2229 258.292021327768 31.98221 31.9832
31.98202 31.9832
31.98183 31.9832
30 30 30 30 30 31.98125 31.9832
1054.210276 1521.168918 1509.612 1435.249 820.8032 31.97989 31.9832
35.14034253 50.7056306 50.32039 47.84164 27.36011 31.9797 31.9832
91.53102456 111.6630765 124.413 122.1781 99.45989 31.97951 31.9832
31.97931 31.9832
31.97912 31.9832
31.97699 31.9832
SS df MS F P-value F crit 31.9768 31.9832
5884.630193 1 5884.63 90.34991 7.736E-17 3.90874141040998 31.97912 31.9832
13204.46067 4 3301.115 50.6838 2.566E-26 2.436317463812 31.98144 31.9832
925.0599636 4 231.265 3.550736 0.0086 2.436317463812 31.98376 31.9832
9118.418152 140 65.13156 32 31.9832
32.46407 31.9832
29132.56897 149 63.008 31.9832
63.353 31.9832
63.71 31.9832
U= 𝜇C = 𝜇G = 𝜇I Fstat > Fcrit
U ≠ 𝜇C ≠ 𝜇G ≠ 𝜇I => Reject H0
=> There is sufficient evidences that the mean of the life expectancy is
different among countries.

s behind this may depend on each country's social economic status, the quality of healthcare system and
of people to access it, genetic factors, health behaviors factors such as tobacco and alcohol assumption,
on and lack of exercise and environment factors including overcrowded housing, lack of cleaning water,
anitation.

the life expextancy of these countries differ mean


Brazil Germany India
ed Range Q : Q = 3.960
38.28871473 => With 95% confidence, you can conclude that life expectancy of United
States and Canada and Germany are different from life expectancy of Brazil
20.60195193 and differrent from India.
17.67363933
7.619729
0.0159998 => There are the difference because United States, Canada and Germany are
the development countries. They have high living conditions with the
2.9123128 development of medical equipment, clean food, green environment, stable
28.20568113 politics and many other factors. Brazil and India are the developing
2.478746067 countries but Brazil is more development than India.
22.96028197
20.4815359

mogeneity Of Variance

SAMPLE
United State Canada Germany India
11.374178 9.522305 5.698501 2.7944 Anova: Single Factor
10.109399 9.520805 5.698501 2.352
11.408155 9.51931 5.698501 1.352 SUMMARY
7.288084 9.517815 5.698501 0.852 Groups Count Sum
6.407739 9.516316 5.698501 2.7944 Brazil 30 94.80187
5.508886 9.51482 5.698501 2.7944 United State 30 245.0711
6.898676 9.50584 5.698501 0.352 Canada 30 257.1083
8.786684 9.499851 5.698501 2.7944 Germany 30 243.6213
7.684282 9.498356 5.698501 2.7944 India 30 158.0916
3.975 3.394081 3.1585 1.736001
4.434999 3.34964 2.864501 0.377278
3.215002 3.003609 2.570499 0.006757 ANOVA
3.855001 2.657578 2.2765 1.462241 Source of Variation SS df
0.385 2.311543 1.982501 1.38416 Between Groups 667.2735 4
1.495 1.273449 1.074501 2.798 Within Groups 10218.33 145
0.385001 1.273529 1.074502 0.648
2.135001 1.661144 1.381501 0.748 Total 10885.6 149
1.855002 2.048759 1.973168 0.761066
2.714999 2.436375 2.564835 3.409106 H0: σ21 = σ22 = σ23 ==σ24 = σ25
3.115 2.823994 3.156498 0.600159 H1: Not all σ2j are equal
5.394999 7.59433 4.25216 1.930934
7.874998 8.045265 9.4315 2.070666 Fstat < Fcrit ( 2.36 <2.43)
9.624998 8.4962 10.94579 2.2104 => Fail to reject H0
8.405001 8.4962 11.54722 2.656001 => There is no evidence of a significant difference in the variatio
expectancy among countries.
10.675002 8.4962 12.14864 3.101599
12.164999 10.426201 15.3915 6.220799
11.385001 11.836201 15.7995 6.6664
25.334998 27.026203 29.28547 33.119
25.465002 27.236202 29.5885 33.483
25.715002 27.606197 29.86703 33.822
37.35082 48.725 39.0015 48.5238 38.37 44.0685 25.4424
38.6156 48.725 39.003 48.5238 38.37 44.0685 25
37.31685 48.725 39.00449 48.5238 38.37 44.0685 24
41.43692 48.725 39.00599 48.5238 38.37 44.0685 23.5
42.31726 48.725 39.00748 48.5238 38.37 44.0685 25.4424
43.21611 48.725 39.00898 48.5238 38.37 44.0685 25.4424
41.82632 48.725 39.01796 48.5238 38.37 44.0685 23
39.93832 48.725 39.02395 48.5238 38.37 44.0685 25.4424
41.04072 48.725 39.02544 48.5238 38.37 44.0685 25.4424
44.75 48.725 45.12972 48.5238 40.91 44.0685 24.384
44.29 48.725 45.17416 48.5238 41.204 44.0685 23.02528
45.51 48.725 45.52019 48.5238 41.498 44.0685 22.65476
44.87 48.725 45.86622 48.5238 41.792 44.0685 24.11024
48.34 48.725 46.21226 48.5238 42.086 44.0685 24.03216
47.23 48.725 47.25035 48.5238 42.994 44.0685 19.85
49.11 48.725 49.79733 48.5238 45.143 44.0685 22
50.86 48.725 50.18494 48.5238 45.45 44.0685 21.9
50.58 48.725 50.57256 48.5238 46.04167 44.0685 21.88693
51.44 48.725 50.96018 48.5238 46.63334 44.0685 19.23889
51.84 48.725 51.34779 48.5238 47.225 44.0685 23.24816
54.12 48.725 56.11813 48.5238 48.32066 44.0685 24.57893
56.6 48.725 56.56907 48.5238 53.5 44.0685 24.71867
58.35 48.725 57.02 48.5238 55.01429 44.0685 24.8584
57.13 48.725 57.02 48.5238 55.61572 44.0685 25.304
59.4 48.725 57.02 48.5238 56.21714 44.0685 25.7496
60.89 48.725 58.95 48.5238 59.46 44.0685 28.8688
60.11 48.725 60.36 48.5238 59.868 44.0685 29.3144
74.06 48.725 75.55 48.5238 73.35397 44.0685 55.767
74.19 48.725 75.76 48.5238 73.657 44.0685 56.131
74.44 48.725 76.13 48.5238 73.93553 44.0685 56.47
38.28871 58.87467 58.89067 55.96235 30.66899

50.32039 47.84164 27.36011

Average Variance
3.160062 91.51194
8.169036 46.68695
8.570277 51.76967
8.120711 68.68568
5.269719 93.70197

MS F P-value F crit
166.8184 2.367184 0.055484 2.434065
70.47124

nificant difference in the variation in the life


22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
22.648
SAMPLE
Brazil United State Canada Germany India H0: There is no interaction between the time p
31.99981 37.350822 39.0015 38.37 25.4424 and the life-expectancy of country.
19th
Century 31.99961 38.615601 39.003 38.37 25 H1: There is an interaction between the time p
31.99942 37.316845 39.00449 38.37 24 and the country.
From 31.99923 41.436916 39.00599 38.37 23.5
1800 to
1899 31.99903 42.317261 39.00748 38.37 25.4424 FSTAT = 3.5507 > Fcrit = 2.4363
31.99884 43.216114 39.00898 38.37 25.4424 => Reject H0
31.99768 41.826324 39.01796 38.37 23 a. There is evidence of interaction between the ti
31.99691 39.938316 39.02395 38.37 25.4424 the life-expectancy of country.
31.99671 41.040718 39.02544 38.37 25.4424 => The more the time period rises, the more the l
31.9826 44.75 45.12972 40.91 24.384 5 countries is.
31.98241 44.290001 45.17416 41.204 23.02528 =>
31.98221 45.509998 45.52019 41.498 22.65476 The reason for that may be the development o
31.98202 44.869999 45.86622 41.792 24.11024 technology, the higher level of living standard
development of economics in each country. Pe
31.98183 48.34 46.21226 42.086 24.03216 live longer due to the improvement of medicin
31.98125 47.23 47.25035 42.994 19.85 of surgery in the public health industry.
20th 31.97989 49.110001 49.79733 45.143 22
Century 31.9797 50.860001 50.18494 45.45 21.9 b.
31.97951 50.580002 50.57256 46.04167 21.88693 Because there is an interaction between the ti
From period and the life-expectancy of country, it is
1900 to 31.97931 51.439999 50.96018 46.63334 19.23889 inappropriate to analyze the main effect due t
1999 31.97912 51.84 51.34779 47.225 23.24816 time period.
31.97699 54.119999 56.11813 48.32066 24.57893
31.9768 56.599998 56.56907 53.5 24.71867 c.
31.97912 58.349998 57.02 55.01429 24.8584 Because there is an interaction between the ti
period and the life-expectancy of country, it is
31.98144 57.130001 57.02 55.61572 25.304 inappropriate to analyze the main effect due t
31.98376 59.400002 57.02 56.21714 25.7496 life-expectancy of country.
32 60.889999 58.95 59.46 28.8688
32.46407 60.110001 60.36 59.868 29.3144
63.008 74.059998 75.55 73.35397 55.767
63.353 74.190002 75.76 73.657 56.131
63.71 74.440002 76.13 73.93553 56.47
action between the time period Anova: Two-Factor With Replication
ncy of country.
action between the time period SUMMARY Brazil United State
19th Century
Count 15 15
Sum 479.879555 638.048915
Average 31.991970333 42.536594333
interaction between the time period and Variance 7.113677E-05 11.335115261
of country.
eriod rises, the more the life-expectancy in 20th Century
Count 15 15
Sum 574.330721 883.120003
may be the development of science and Average 38.288714733 58.874666867
er level of living standard as well as the Variance 168.35937793 76.967357143
nomics in each country. People also tend to
e improvement of medicine and measures
lic health industry. Total
Count 30 30
Sum 1054.210276 1521.168918
nteraction between the time Average 35.140342533 50.7056306
xpectancy of country, it is
lyze the main effect due to the Variance 91.531024557 111.66307653

ANOVA
nteraction between the time Source of Variation SS df
xpectancy of country, it is also
lyze the main effect due to the Sample 5884.6301929 1
untry. Columns 13204.460666 4
Interaction 925.0599636 4
Within 9118.4181522 140

Total 29132.568975 149


Canada Germany India Total

15 15 15 75
626.251682 595.813989 360.768437 2700.762578
41.750112133 39.7209326 24.051229133 36.010167707
12.285110055 3.1280254687 2.3397234469 55.869313562

15 15 15 75
883.36 839.435311 460.034786 3640.280821
58.890666667 55.962354067 30.668985733 48.537077613
88.035489251 108.64243426 180.22287835 258.29202133

30 30 30
1509.611682 1435.2493 820.803223
50.3203894 47.841643333 27.360107433
124.41303321 122.17809381 99.459885975

MS F P-value F crit
5884.6301929 90.349906448 7.735924E-17 3.9087414104
3301.1151665 50.683804537 2.566159E-26 2.4363174638
231.2649909 3.5507363433 0.0085996272 2.4363174638
65.13155823

You might also like