Hello nice people, I hope you are all doing okay.
Please I need assistance for a Stata command on creating lagged variables for a panel data set that is not in a long format , and I have used country j's id for xtstet.
I am using Stata 15 and I am estimating a gravity model for Tanzania exports. My worry is that country i's (exporter) GDP is part of dependent variable exports , which will lead to endogeneity, hence I want to create lagged variable for exporters or country i's GDP . Can someone help me with the commands and how to go about it. I hope to hear from you soon. Thank you.
Related Posts with Creating lagged variables in a panel data set that is not in the long format
HELP!! Robustness checks for FE model with clustered standard errorsGood morning everyone, My dataset includes some daily market quality metrics (spread, price and volu…
testtest Code: +--------------------------+ | idom v4741 membros | |-…
Randomization schedule with uneven sample distribution.Hello, I would like to ask for help in creating a command to generate a randomization schedule for a…
How to export results from kmirnov test to latex?Hi! I am a new user of stata and I am unable to export results from "ks test" from stata to a latex …
Rename variables before run "coefplot"Hi all, I have a data set that has “treatment”, “year” variables I use the below code to run a reg…
Subscribe to:
Post Comments (Atom)
0 Response to Creating lagged variables in a panel data set that is not in the long format
Post a Comment