R Programing
R Programing
13
Table 10.13 gives data on imports, GDP and the Consumer Price
Index (CPI) for the United States over the period 1975-2005.
You are asked to consider the following model:
Solution:
Model:
In Importst = β1 + β2 In GDPt + β3 In CPIt
Assumption
Normality
H0 = The data is normal
H1 = The data is not normal
Level of Significance
α = 0.05
Solution:
Step 1:
Step 2
Step 3
Results:
Tests of Normality
Kolmogorov-Smirnova Shapiro-Wilk
Homoscedastic:
H0 = All variances are Equal
H1 = All variances are not equal
Level of Significance
α = 0.05
Step 1
Step 2
Step 3
Results:
KMO and Bartlett's Test
Sig. .000
Regression Model:
Step 1:
Step 2:
Step 3:
Results:
Coefficientsa
Step 2
Step 3:
Results
Step 1
Step 2
Step 3
Results:
Coefficientsa
Interpretation
One unit increase in Acetic the response 3.213 on the average increase
keeping the other effect constant.
One unit increase in H2S the response 5.477 on the average increase
keeping the other effect constant.
Step 2
Step 3
Results
Coefficientsa
Interpretation
One unit increase in H2S the response 3.840 on the average increase
keeping the other effect constant.
One unit increase in Lactic the response 20.701 on the average increase
keeping the other effect constant.
Step 3
Results
Coefficientsa
Interpretation
One unit increase in Acetic the response 1.449 on the average increase
keeping the other effect constant.
One unit increase in H2S the response 3.809 on the average increase
keeping the other effect constant.
One unit increase in Lactic the response 19.698 on the average increase
keeping the other effect constant.
Table 8.6
Anova
H0 = all the panel ranking is same
H1 = all panel ranking is not equal
Level of significance
α = 0.05
Step 1:
Step 2:
Step 3
Results
Total 7449.000 80
Interpretation:
Our p value is greater than 0.05 so we can say that our data
follows normal distribution.
Variance Checking
Test of Homogeneity of Variance
adjusted df
Interpretation:
Our p valuer is greater than 0.05 so all the variances are same.