EViews and Regression Analysis
EViews and Regression Analysis
A cable wire company has spent heavily on advertisements. The sales and advertisement
expenses (in thousand rupees) for the 12 randomly selected months are given in below table.
Solution:
𝑆𝑎𝑙𝑒 = 𝑓(𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡)
𝑆𝑎𝑙𝑒𝑡 = 𝛼 + 𝛽𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡𝑡 +∈𝑡
H0: β = 0 (There is NO linear relationship between sales and advertisement) Reject
H1: β ≠ 0 (There is A linear relationship between sales and advertisement) Accept
The t test is an appropriate test because the sample size is less than 30. The t statistic can
For 95% confidence level (α= 0.05), the critical value of z is given as z = ±1.96.
If the computed value of z is between +1.96 and –1.96, the decision is to accept the null
hypothesis and if the computed value of z is outside ±1.96, the decision is to reject the null
In this stage of sampling, data are collected and the appropriate sample statistics are
computed. The first four steps should be completed before collecting the data for the study.
Note: It is not advisable to collect the data first and then decide on the stages of hypothesis
testing.
Sample size n = 12
At this stage the value is computed from OLS output table from EViews.
𝑆𝑎𝑙𝑒 = 𝑓(𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡)
𝑆𝑎𝑙𝑒𝑡 = 𝛼 + 𝛽𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡𝑡 + 𝜖𝑡
̂𝑡 = 𝛼̂ + 𝛽̂ 𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡𝑡
𝑆𝑎𝑙𝑒
̂𝑡 = −852.0842∗ + 19.07044∗ 𝐴𝑑𝑣𝑒𝑟𝑡𝑖𝑠𝑒𝑚𝑒𝑛𝑡𝑡
𝑆𝑎𝑙𝑒
(203.7759) (1.999943)
Explanation of table:
1. Estimated Coefficients
The calculated value of t-stat is 9.53. The calculated value of t-stat (= 9.53) > tabular
value of t (= 2). Hence, the null hypothesis is rejected and the alternative hypothesis is accepted.
So, it can be concluded there is a significant relationship between two variables. It means, if
there is one unit change (in Rs.) in advertisement, the sale will increase by 19.07044 unit (or Rs.
19.07044).
The standard error of the coefficient measures how precisely the model estimates the coefficient's
unknown value. The standard error of the coefficient is always positive. The smaller the standard
3. Coefficient of Determination:
R2 is calculated as 0.9009. This indicates that 90.09% of the variation in sales can be
explained by the independent variable, that is, advertisement. This result also explains that
The value of standard error of the estimate is 37.10688. A large standard error indicates a
large amount of variation or scatter around the regression line and a small standard error indicates
small amount of variation or scatter around the regression line. A standard error equal to zero
indicates that all the observed data points fall exactly on the regression line.
5. Measure of Variations
While developing a regression model to predict the dependent variable with the help of the
Total sum of squares (SST) = Regression sum of squares (SSR) + Error sum of squares (SSE)
a. Total variation (SST) can be partitioned into two parts: variation which can be attributed
b. The first part of variation, which can be attributed to the relationship between
(SSR).
c. The second part of variation, which is unexplained can be attributed to factors other than
the relationship between advertisement and sale; and is referred to as error sum of squares
(SSE).
Total sum of squares (SST) = Regression sum of squares (SSR) + Error sum of squares (SSE)
Log Likelihood value is -59.2986. It is a measure of goodness of fit for any model (Higher
The F test is used to determine the significance of overall regression model in regression
analysis. The hypothesis that all of the slope coefficients (excluding the constant, or intercept) in
H0: all coefficients (except intercept) = 0 (Over all model is NOT fit) Reject
H1: all coefficients (except intercept) ≠ 0 (Over all mode is fit) Accept
The value F-test is 90.92568 and is statistically significant based on probability, it means
The means of the dependent variable, i.e. sale is 1088.33, it is the simple average of
dependent variable.
9. SD Dependent Variable
The standard deviation of the dependent variable, i.e. sale is 112.39.81, it shows the
dispersion from the mean. The greater the value of the dispersion, the greater will be the magnitude
10. Adjusted R2, Akaike info criterion, Schwarz criterion and Hannan-Quinn
criterion
All these values are used for the comparison of the model.
1. DV should be same.
The independence of errors is one of the basic assumptions (i.e. auto-correlation among
error terms). The rule of thumb is DW-stat ≈ 2. The DW-stat is 3.005353 which means that there
is NO auto-correlation.