Bài tập kinh tế vĩ mô bằng tiếng anh | Đại học Kinh tế Thành phố Hồ Chí Minh
1. TínhMEAN,MOD,MEDIAN của Numberofpetsowned Numberofsaltwaterfishowned,. Liệu sự khác biệt về tình trạng hôn nhân của khách hàng có ảnh hưởng đến số lượng từng loại vật nuôi ở trên không? Tài liệu giúp bạn tham khảo, ôn tập và đạt kết quả cao. Mời bạn đọc đón xem !
Môn: Kinh tế vĩ mô ( UEH)
Trường: Đại học Kinh tế Thành phố Hồ Chí Minh
Thông tin:
Tác giả:
Preview text:
1. Tính MEAN, MOD, MEDIAN của · Number of pets owned · Number of cats owned · Number of dogs owned · Number of birds owned · Number of reptiles owned · Number of small animals owned ·
Number of saltwater fish owned ·
Number of freshwater fish owned Statistics Number of Number of Number Number of Number of Number of small Number of Number of pets of cats dogs birds reptiles animals saltwater freshwater owned owned owned owned owned owned fish owned fish owned N Valid 2419 2419 2419 2419 2419 2419 2419 2419 Missing 0 0 0 0 0 0 0 0 Mean 3,07 ,50 ,39 ,12 ,05 ,11 ,05 1,84 Median 2,00 ,00 ,00 ,00 ,00 ,00 ,00 ,00 Mode 0 0 0 0 0 0 0 0
2. Liệu sự khác biệt về tình trạng hôn nhân của khách hàng có ảnh hưởng đến số lượng
từng loại vật nuôi ở trên không? Step 1:
H0: There is no difference between Number of pets owned (1)/ Number of cats owned
(2)/ Number of dogs owned (3)/ Number of birds owned (4)/ Number of reptiles owned
(5)/ Number of small animals owned (6)/Number of saltwater fish owned(7)/ Number of
freshwater fish (8) owned in term of marital status.
H1: There is significant difference between Number of pets owned/ Number of cats
owned/ Number of dogs owned/ Number of birds owned/ Number of reptiles owned/
Number of small animals owned/Number of saltwater fish owned/ Number of freshwater
fish owned in term of marital status.
Step 2: Method: Independent sample t-test:
Group Statistics Marital status N Mean Std. Deviation Std. Error Mean Number of pets owned Unmarried 1254 3,12 3,442 ,097 dimension Married 1165 3,01 3,369 ,099 1 Number of cats owned Unmarried 1254 ,50 ,860 ,024 dimension 1165 ,49 ,865 ,025 Married 1 Number of dogs owned Unmarried 1254 ,37 ,795 ,022 dimension Married 1165 ,41 ,791 ,023 1 Number of birds owned Unmarried 1254 ,13 ,550 ,016 dimension 1165 ,11 ,488 ,014 Married 1
Number of reptiles owned Unmarried 1254 ,06 ,342 ,010 dimension Married 1165 ,05 ,306 ,009 1 Number of small animals Unmarried 1254 ,13 ,633 ,018 dimension owned Married 1165 ,10 ,513 ,015 Number of saltwater fish Unmarried 1254 ,05 ,501 ,014 dimension owned Married 1165 ,06 ,527 ,015
Number of freshwater fish Unmarried 1254 1,88 3,057 ,086 dimension owned Married 1165 1,80 3,007 ,088 1 - Number of pets owned:
+ Unmarried: N=1254, Mean=3.12 and Std. Deviation=3.442
+ Married: N=1165, Mean=3.01 and Std. Deviation=3.369
⇨ Unmarried group has larger N and larger Mean, compared to Married group. - Number of cats owned:
+ Unmarried: N=1254, Mean=0.50 and Std. Deviation=0.860
+ Married: N=1165, Mean=0.49 and Std. Deviation=0.865
⇨ Despite the N of Unmarried group is larger than the Married Group (1254>1165)
but the Mean tends to be nearly equal. - Number of dogs owned:
+ Unmarried: N=1254, Mean=0.37 and Std. Deviation=0.795
+ Married: N=1165, Mean=0.41 and Std. Deviation=0.791
⇨ The mean of Married group tends to be larger than Unmarried group. - Number of birds owned:
+ Unmarried: N=1254, Mean=0.13 and Std. Deviation=0.550
+ Married: N=1165, Mean=0.11 and Std. Deviation=0.488
⇨ The Unmarried group has larger than Married group. - Number of reptiles owned:
+ Unmarried: N=1254, Mean=0.06 and Std. Deviation=0.342
+ Married: N=1165, Mean=0.05 and Std. Deviation=0.306
⇨ The Unmarried group has larger than Married group.
- Number of small animals owned:
+ Unmarried: N=1254, Mean=0.13 and Std. Deviation=0.633
+ Married: N=1165, Mean=0.10 and Std. Deviation=0.513
⇨ The Unmarried group has larger than Married group.
- Number of saltwater fish owned:
+ Unmarried: N=1254, Mean=0.05 and Std. Deviation=0.501
+ Married: N=1165, Mean=0.06 and Std. Deviation=0.527
⇨ Married group has larger Mean and Std. Deviation, compared to Unmarried group.
- Number of freshwater fish owned:
+ Unmarried: N=1254, Mean=1.88 and Std. Deviation=3.057
+ Married: N=1165, Mean=1.80 and Std. Deviation=3.007
⇨ The Unmarried group has larger than Married group.
Step 4: Check for the assumption of equal variances between 2 groups:
Independent Samples Test Levene's Test for Equality of Variances t-test for Equality of Means 95% Confidence Sig. Interval of the (2- Mean Std. Error Difference F Sig. t df tailed) Difference Difference Lower Upper Number of Equal 1,440 ,230 ,763 2417 ,445 ,106 ,139 -,166 ,378 pets owned variances assumed Equal ,764 2410,361 ,445 ,106 ,139 -,166 ,377 variances not assumed Number of Equal ,333 ,564 ,328 2417 ,743 ,012 ,035 -,057 ,080 cats owned variances assumed Equal ,328 2401,956 ,743 ,012 ,035 -,057 ,080 variances not assumed Number of Equal 2,310 ,129 - 2417 ,271 -,035 ,032 -,099 ,028 dogs owned variances 1,100 assumed Equal - 2405,748 ,271 -,035 ,032 -,099 ,028 variances 1,100 not assumed Number of Equal 3,946 ,047 1,027 2417 ,304 ,022 ,021 -,020 ,063 birds owned variances assumed Equal 1,032 2412,058 ,302 ,022 ,021 -,020 ,063 variances not assumed Number of Equal ,600 ,439 ,386 2417 ,699 ,005 ,013 -,021 ,031 reptiles variances owned assumed Equal ,388 2413,273 ,698 ,005 ,013 -,021 ,031 variances not assumed Number of Equal 7,892 ,005 1,398 2417 ,162 ,033 ,024 -,013 ,079 small variances animals assumed owned Equal 1,409 2373,994 ,159 ,033 ,023 -,013 ,079 variances not assumed Number of Equal 1,189 ,276 -,547 2417 ,584 -,011 ,021 -,052 ,030 saltwater fish variances owned assumed Equal -,546 2379,447 ,585 -,011 ,021 -,053 ,030 variances not assumed Number of Equal 1,668 ,197 ,660 2417 ,509 ,081 ,123 -,161 ,323 freshwater variances fish owned assumed Equal ,660 2409,085 ,509 ,081 ,123 -,160 ,323 variances not assumed - Number of pets owned: F=1.440 P=0.23>0.05 => Assumed - Number of cats owned: F=0.333 P=0.564>0.05 => Assumed - Number of dogs owned: F=2.310 P=0.129>0.05 => Assumed - Number of birds owned: F=3.946
P=0.047<0.05 => Not assumed - Number of reptiles owned: F=0.600 P=0.439>0.05 => Assumed
- Number of small animals owned: F=7.892
P=0.005<0.05 => Not assumed
- Number of saltwater fish owned: F=1.189 P=0.276>0.05 => Assumed
- Number of freshwater fish owned: F=1.668 P=0.197>0.05 => Assumed Step 5: Report t t-test (1) : t=0.763, p>0.05 (2) : t=0.328, p>0.05 (3) : t=-1.100, p>0.05
3. Liệu việc sở hữu nhà hay thuê nhà (Home ownership) có ảnh hưởng đến số
lượng vật nuôi mỗi loại ở trên hay không? Step 1:
H0: There is no difference between Number of pets owned (1)/ Number of cats owned
(2)/ Number of dogs owned (3)/ Number of birds owned (4)/ Number of reptiles owned
(5)/ Number of small animals owned (6)/Number of saltwater fish owned(7)/ Number of
freshwater fish (8) owned in term of home ownership.
H1: There is significant difference between Number of pets owned/ Number of cats
owned/ Number of dogs owned/ Number of birds owned/ Number of reptiles owned/
Number of small animals owned/Number of saltwater fish owned/ Number of freshwater
fish owned in term of home ownership.
Step 2: Method: Independent sample t-test:
Group Statistics Home ownership N Mean Std. Deviation Std. Error Mean Number of pets owned Rent 881 3,00 3,332 ,112 dimension1 Own 1538 3,11 3,449 ,088 Number of cats owned Rent 881 ,48 ,821 ,028 dimension1 Own 1538 ,51 ,885 ,023 Number of dogs owned Rent 881 ,43 ,874 ,029 dimension1 Own 1538 ,37 ,742 ,019 Number of birds owned Rent 881 ,12 ,522 ,018 dimension1 Own 1538 ,12 ,520 ,013 Number of reptiles owned Rent 881 ,04 ,306 ,010 dimension1 Own 1538 ,06 ,336 ,009 Number of small animals Rent 881 ,11 ,550 ,019 owned dimension1 Own 1538 ,12 ,595 ,015 Number of saltwater fish Rent 881 ,04 ,437 ,015 owned dimension1 Own 1538 ,06 ,553 ,014 Number of freshwater fish Rent 881 1,78 2,973 ,100 owned dimension1 Own 1538 1,87 3,067 ,078 - Number of pets owned:
+ Rent: N=881, Mean=3.00 and Std. Deviation=3.332
+ Own: N=1538, Mean=3.11 and Std. Deviation=3.449
⇨ Own group has larger than Rent group. - Number of cats owned:
+ Rent: N=881, Mean=0.48 and Std. Deviation=0.821
+ Own: N=1538, Mean=0.51 and Std. Deviation=0.885
⇨ Despite the N of Own group is larger than the Rent Group (1538>881) but the
Mean tends to be nearly equal. - Number of dogs owned:
+ Rent: N=881, Mean=0.43 and Std. Deviation=0.874
+ Own: N=1538, Mean=0.37 and Std. Deviation=0.742
⇨ The N of Own group tends to be larger than Rent group. - Number of birds owned:
+ Rent: N=881, Mean=0.12 and Std. Deviation=0.522
+ Own: N=1538, Mean=0.12 and Std. Deviation=0.520
⇨ The Own group has larger than Rent group and the Mean is equal. - Number of reptiles owned:
+ Rent: N=881, Mean=0.04 and Std. Deviation=0.306
+ Own: N=1538, Mean=0.06 and Std. Deviation=0.336
⇨ The Own group has larger than Rent group.
- Number of small animals owned:
+ Rent: N=881, Mean=0.11 and Std. Deviation=0.550
+ Own: N=1538, Mean=0.12 and Std. Deviation=0.595
- Number of saltwater fish owned:
+ Rent: N=881, Mean=0.4 and Std. Deviation=0.437
+ Own: N=1538, Mean=0.06 and Std. Deviation=0.553
- Number of freshwater fish owned:
+ Rent: N=881, Mean=1.78 and Std. Deviation=2.973
+ Own: N=1538, Mean=1.87 and Std. Deviation=3.067
Step 4: Check for the assumption of equal variances between 2 groups:
Independent Samples Test Levene's Test for Equality of Variances t-test for Equality of Means 95% Confidence Sig. Interval of the (2- Mean Std. Error Difference F Sig. t df tailed) Difference Difference Lower Upper Number of Equal 1,744 ,187 -,709 2417 ,478 -,102 ,144 -,384 ,180 pets owned variances assumed Equal -,716 1885,251 ,474 -,102 ,143 -,382 ,178 variances not assumed Number of Equal 1,685 ,194 -,799 2417 ,424 -,029 ,036 -,101 ,042 cats owned variances assumed Equal -,815 1946,982 ,415 -,029 ,036 -,099 ,041 variances not assumed Number of Equal 16,323 ,000 2,012 2417 ,044 ,067 ,033 ,002 ,133 dogs owned variances assumed Equal 1,925 1599,571 ,054 ,067 ,035 -,001 ,136 variances not assumed Number of Equal ,392 ,531 -,323 2417 ,747 -,007 ,022 -,050 ,036 birds owned variances assumed Equal -,323 1825,872 ,747 -,007 ,022 -,050 ,036 variances not assumed Number of Equal 6,065 ,014 - 2417 ,207 -,017 ,014 -,044 ,010 reptiles variances 1,261 owned assumed Equal - 1975,443 ,196 -,017 ,013 -,044 ,009 variances 1,294 not assumed Number of Equal ,143 ,706 -,164 2417 ,870 -,004 ,024 -,052 ,044 small variances animals assumed owned Equal -,168 1953,858 ,867 -,004 ,024 -,051 ,043 variances not assumed Number of Equal 2,556 ,110 -,799 2417 ,425 -,017 ,022 -,060 ,025 saltwater variances fish owned assumed Equal -,850 2180,990 ,395 -,017 ,020 -,057 ,023 variances not assumed Number of Equal 1,826 ,177 -,738 2417 ,461 -,095 ,128 -,346 ,157 freshwater variances fish owned assumed Equal -,744 1880,201 ,457 -,095 ,127 -,344 ,155 variances not assumed
4. Liệu trình độ học vấn (Level of education) có ảnh hưởng đến số nợ thẻ tín dụng
(Credit card debt in thousands) của khách hàng hay không? Descriptives Credit card debt in thousands 95% Confidence Interval for Mean Std. Std. Lower Upper N Mean Deviation Error Bound Bound Minimum Maximum Did not complete high 463 1,5376 2,59659 ,12067 1,3004 1,7747 ,01 34,72 school High school degree 744 1,7700 3,00642 ,11022 1,5536 1,9864 ,00 44,25 Some college 516 1,8504 2,95587 ,13013 1,5947 2,1060 ,00 30,61 College degree 518 2,0708 2,85823 ,12558 1,8241 2,3175 ,01 24,02 Post-undergraduate 178 2,8040 5,15195 ,38616 2,0420 3,5661 ,01 48,70 degree Total 2419 1,8832 3,11660 ,06337 1,7589 2,0074 ,00 48,70
Test of Homogeneity of Variances Credit card debt in thousands Levene Statistic df1 df2 Sig. 8,342 4 2414 ,000 ANOVA Credit card debt in thousands Sum of Squares df Mean Square F Sig. Between Groups 234,563 4 58,641 6,088 ,000 Within Groups 23251,895 2414 9,632 Total 23486,458 2418