Friday, 15 March 2013

Business Application IT Lab


IT Business Application Lab Assignments#8

Session 8
Date:  12th March,2013



The data set we have used in this assignment is "Produc".

The description for the same follows

- state : the state
- year : the year
- pcap: private capital stock
- hwy : highway and streets
- pc: public capital
- gsp: gross state products
- emp: labor input measured by the employment in non–agricultural payrolls
- unemp: state unemployment rate



Assignment :
To calculate the values for all the 3 models and decide which models best fits the data set for panel estimation ?


Solution:

Calculating value for Pooling Model




Calculating value for Fixed Model



Calculating value for Random Model




To choose the best model that fits the data set "Produc" ,we need to run pairwise hypothesis tests among the 3 models and select the best fit in the end.


Test 1:


Between pooling and fixed model

Command :
pFtest (fixed1 , pooled)




Test details :
H0: Null: the individual index and time based params are all zero
H1 : Atleast one of the index and time based params are non zero

The hypothesis test suggests that the alternative hypothesis has significant effects.
As the p-value is too low.
So we can reject the null hypothesis.

Hence Fixed model is better than the pooling model.



Test2:
Between pooling and random model

Command :
plmtest (pooled)





Test details :
H0: Null: the individual index and time based params are all zero : Pooling Model
H1: Atleast one of the index and time based params are non zero : Random Model

The hypothesis test suggests that the alternative hypothesis has significant effects.
As the p-value is too low..
So we can reject the Null hypothesis.

Hence random model is better than the pooling model.



Test3:
Between fixed and random model

Command :
We use Hausman test -:
phtest(random1 , fixed1)




Test details :
H0: Null: individual effects are not correlated with any regressor : Random Model
H1 : Individual effects are correlated : Fixed Model

The hypothesis test suggests that the one of the models is inconsistent.
As the p-value is too low.
So we can reject the null hypothesis.

Hence fixed model is better than random model.



Conclusion :-
We can conclude that fixed model best fits the "Produc" data set panel data estimations. i.e there is significant correlation observed with the regressor variables and index impact exists.
Hence, we would choose "Fixed" model to estimate the panel data presented by "Produc" data set.








No comments:

Post a Comment