hi,,I'm new to using STATA I have a problem when I want to do a RESET test on a gravity model regression with PPML
I used the following command:
ppml ekspor PAIR_FE* year_* ln_yi ln_yj ln_rem_exp ln_rem_imp fta1 fta2 fta3
predict fit, xb
gen fit2=fit^2
test fit2=0
But the result shows that :
fit2 is not found
r(111);
can someone explain what i missed or what i did wrong? fyi, I used 3 dummy variables of FTA and the best effect are using country-pair and year effect
Thx
I used the following command:
ppml ekspor PAIR_FE* year_* ln_yi ln_yj ln_rem_exp ln_rem_imp fta1 fta2 fta3
predict fit, xb
gen fit2=fit^2
test fit2=0
But the result shows that :
fit2 is not found
r(111);
can someone explain what i missed or what i did wrong? fyi, I used 3 dummy variables of FTA and the best effect are using country-pair and year effect
Thx
Comment