Dear Joao Santos Silva
My model is Y = exp(b1ln X1 + b2ln X2 + b3 lnX3 + a1 Z1+ a2 Z2+ a3Z3 + ki + ke ) eit
i am using ppmlhdfe [because it is a large panel (unbalanced) with so many sectors, countries (exporter, importer) and time-period feixed effects].
The RHS variables X1, X2, X3 are logarithmic, whereas Z1, Z2, Z3 are in levels (untransformed). Also ki and ke are importer and exporter fixed effects and eit is error term.
(1) From the discussion above, i learnt that b1, b2, b3 are elasticities and a1 , a2, a3 are semi-elasticities. Have i understood that right and it still valid in case of ppmlhdfe estimator ?
(2) If that is right ! how do we get the elasticity interpretation of Z1, Z2, Z3 coefficients. Do we need to do the transformation like [exp(a1)- 1] x 100 and similarily for Z2, Z3 coefficients respectively to obtain the elasticities of Z1, Z2, Z3 and interpret them in percentage terms.
How to perform the RESET test ?
I have learned from your web-page that we need to do something like this in my setting of ppmlhdfe estimator .
* Run the following ppmlhdfe estimator
(i am including importer and exporter fixed effects- ki and ke also)
* Get fitted values (of the linear index, not of Y)
(3) Does the above code automatically obtains the fitted values of all the regressors and we need not to manually impute that, like pedict fit, X1 ; predict fit X2; predict fit X3 etc..
* Square the fitted values
* Estimate the model with the additional regressor
* Test the significance of the additional regressor (this is equivalent to a t-test on fit2)
Please get back to me, i shall be very thankful (Regards)
My model is Y = exp(b1ln X1 + b2ln X2 + b3 lnX3 + a1 Z1+ a2 Z2+ a3Z3 + ki + ke ) eit
i am using ppmlhdfe [because it is a large panel (unbalanced) with so many sectors, countries (exporter, importer) and time-period feixed effects].
The RHS variables X1, X2, X3 are logarithmic, whereas Z1, Z2, Z3 are in levels (untransformed). Also ki and ke are importer and exporter fixed effects and eit is error term.
(1) From the discussion above, i learnt that b1, b2, b3 are elasticities and a1 , a2, a3 are semi-elasticities. Have i understood that right and it still valid in case of ppmlhdfe estimator ?
(2) If that is right ! how do we get the elasticity interpretation of Z1, Z2, Z3 coefficients. Do we need to do the transformation like [exp(a1)- 1] x 100 and similarily for Z2, Z3 coefficients respectively to obtain the elasticities of Z1, Z2, Z3 and interpret them in percentage terms.
How to perform the RESET test ?
I have learned from your web-page that we need to do something like this in my setting of ppmlhdfe estimator .
* Run the following ppmlhdfe estimator
Code:
ppmlhdfe Y lnX1 lnX2 lnX3 Z1 Z2 Z3 ki ke, robust
* Get fitted values (of the linear index, not of Y)
Code:
predict fit, xb
* Square the fitted values
Code:
gen fit2=fit^2
Code:
ppmlhdfe Y lnX1 lnX2 lnX3 Z1 Z2 Z3 ki ke fit2, robust
Code:
test fit2=0
Comment