I'm doing OLS estimation with an independent variable lagged as t-1, t-2, t-3, and t-4 (four beta coefficients). I would like to have the sum of these coefficients for interpreting the net impact of these variables on the endogenous one (for example the net influence of the US's GDP growth lagged in t-1, t-2, t-3, and t-4 on the Thai GDP growth).
How can I compute the standard deviation of this new coefficient for computing a t-test?
I have found this formula but i'm not sure...
$$ SE_{b_{new}} = \sqrt{SE_1^2 + SE_2^2+2Cov(b_1,b_2)} $$
(see this link Adding coefficients to obtain interaction effects - what to do with SEs?)
But how do I calculate the covariance of two (four in my case) coefficients? Does that make any sense?
Thank you very much.
Ok,
I need the covariance matrix of coefficient to retrieve the cov(b1,b2) cov(b1,b3)...
After this, i should be able to compute the standard errors of the sum of coefficients with the formula above...