What is the correct way to test for significant differences in parameter estimates in the following case:
I have a dependent variable (height for age) and a independent variable (household state pension benefits). These are observed in two years.
To see if there is an endogeneity problem I want to include pension benefits in year two in the regression of year 1.
The equation I want to estimate is thus:
$$y_1 = b_0 + b_1 * x_1 + b_2 * x_2 + e$$
I then want to test if $b_1$ is significantly different from $b_2$ (in stead different from zero). I found this previous question, but I am not sure if this is exactly the same problem. Also, is there a standard way of implementing this in R?
This is my first post, so sorry if I didn't post correctly, please feel free to edit.