Answer Assignment 2
Answer Assignment 2
- Perfect and imperfect multicollinearity means there is perfect linear relationship between the
explanatory variables in a regression equation it is called as perfect multicollinearity.
- Perfect multicollinearity means that one explanatory variable is an exact linear function of one
or more explanatory variables with no error term. Imperfect multicollinearity means that there is a
linear relationship between the variables, but there is some error in that relationship.
b) Berikan DUA (2) sebab mengapa masalah multikolineariti berlaku dalam sesuatu model
ekonometrik.
Give TWO (2) reasons why the multicollinearity occur in econometrics model.
(5 markah/marks)
i) Insufficient data. In some cases, collecting more data can resolve the issue.
ii) It is caused by an inaccurate use of dummy variables. For example, the researcher may
fail to exclude one category, or add a dummy variable for every category.
iii) It is caused by the inclusion of a variable which is computed from other variables in
the data set.
v) Generally occurs when the variables are highly correlated to each other.
c) Hasil pengiraan faktor inflasi varians (variance inflation factor – VIF) memberi jawapan 10
seperti di bawah.
The calculation of variance inflation factor (VIF) gives the answer of 10 as follows.
1 1 1
VIFYi = = = = 10
(1 RYi ) 1 0.90
2
0.10
2
Since the VIFYi is less than 10, there is no multicolinearity, therefore the 𝑅𝑌𝑖 must be less than
0.900.
a) Jelaskan perbezaan antara pemboleh ubah patung yang mempunyai hanya dua kategori dan
lebih daripada dua kategori dengan mengemukakan contoh sesuai.
Explain the difference between a dummy variable which has only two categories and more
than two categories with appropriate examples.
(5 markah/marks)
𝐷1𝑖 = 1 if Malay
= 0 if other races
𝐷2𝑖 = 1 if Indian
= 0 if other races
b) Bina SATU (1) model pemboleh ubah patung ANOVA (analysis–of–variance) yang
mempunyai pemboleh ubah interaktif dengan mengemukakan contoh sesuai.
Build ONE (1) dummy variables of ANOVA model (analysis-of-variance) that has an
interactive variable with appropriate examples.
(5 markah/marks)
Yi = 0 + iDi + i
Where:
Yi is usage (female and male)
Di is 1 if female and 0 if male
0 is the average use of male
0 + i is the average use of female
i is the difference between female and male
Gradient or coefficient i is also the difference in intercept coefficient because it gives the
difference between average use of females and males.
Use of female Use of male
Yi = 0 + i(1) + i Yi = 0 + i(0) + i
= 0 + i = 0
The result of the above estimation shows the average female use by substituting Di = 1.
= 3176.8333 - 503.1667 Di
= 3176.8333 - 503.1667 (1)
= 2673.67 (average female use = RM2673. 67)
c) Bina SATU (1) model pemboleh ubah patung ANCOVA (analysis–of– covariance) dengan
mengemukakan contoh sesuai.
Build ONE (1) ANCOVA model (analysis-of-covariance) of dummy variables with appropriate
examples.
(5 markah/marks)
The value of 0 = 15.8052 means that the quantity of chicken demanded is 15.81kg when all
variables are zero.
The value of 1 = −0.0258 means that for every RM1.00 price of chicken increases, the
quantity of chicken demanded will drop by 0.0258kg assuming other factors are constant.
The value of 2 = 0.6077 means that every RM1.00 price of beef increases, the quantity of
chicken meat demanded will increase by 0.6077kg assuming the other factors are constant
(substitutes).
The value of 1 = −2.0176 indicates that the quantity of chicken demanded in the urban area
is 2.0176kg lower than in the rural area assuming other factors are constant.
The value of 2 = 1.3708 indicates the quantity of chicken demanded in Selangor is 1.3708kg
higher than Kedah on the assumption that other factors are constant.
d) Kajian terhadap permintaan daging ayam dengan model Yi = 0 + 1D1 + 2D2 + 3(D1D2) + i
menghasilkan dapatan berikut:
Study on demand for chicken with a model Yi = 0 + 1D1 + 2D2 + 3(D1D2) + i produces the
following results:
Yˆi = 2.22 – 4.44D1 + 6.66D2 + 8.88(D1D2)
dengan;
where;
Beri interpretasi terhadap pemboleh ubah interaktif dalam model permintaan ayam tersebut.
Interactive variables D1 and D2 can be interpret as indirect effect of gender (D1) or location
(D2). Given 3(D1D2) = 8.88, it means that on average, compare to man in village, woman in
Village consume more chicken by 8.88kg. This is indirect effect of gender through location.