Good morning everyone,
I have an inquiry, please.
I estimated the model that explains freight flow (Flow_ij) by using ppmlhdfe command. Thereafter, I predicted freight flow (pr_Flow_ij) by using predict command as follows:
The freight flow originated from 4 ports (i) to 13 provinces (j) for the period 2006-2018. I noticed that the total freight flow (e.g. sum of predicted flows from the 4 ports to A province in a specific year) varies considerably from the actual one. In other words, non of the estimates summed to the actual province totals. as shown in the example below.
I am interested to have a similar or very close actual and predicted total flow.
My question is: How to constrain the flow estimates to the total known (actual) value? I know that I can set a fixed effect for provinces. but if I do so, I won't be able to use the IV of (GDP_it) which explains province attribute.
Thank you,
Hussain Sulaimani
I have an inquiry, please.
I estimated the model that explains freight flow (Flow_ij) by using ppmlhdfe command. Thereafter, I predicted freight flow (pr_Flow_ij) by using predict command as follows:
PHP Code:
ppmlhdfe Flow_ij lnTEU_it GDP_jt lnDistance_ij d_Rail_ij d_Redsea_i lnBunkerRate_t lnFreightRate_t, vce(cluster ID) d(newvar1)
PHP Code:
predict pr_Flow_ij, mu
|
I am interested to have a similar or very close actual and predicted total flow.
My question is: How to constrain the flow estimates to the total known (actual) value? I know that I can set a fixed effect for provinces. but if I do so, I won't be able to use the IV of (GDP_it) which explains province attribute.
Thank you,
Hussain Sulaimani
Comment