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
Match it commandHi all, I got a question to the command "matchit". Thank you first for your help. Right now, I am …
Please create matrix with spweightxtHello Mr / Mrs Would you like to explain with an excel data's example the creation of a weight matr…
boost pluginDear members, I am trying to using generalized boost regression model for my data. But I found erro…
Combination of Heat- and Spineplot ("weighted" heat map)?Dear all I hope I can explain what I am looking for ... I want to generate a two-dimensional histogr…
Problem with destring of variableHi all, Since I am relatively new to Stata, I ran into a problem with my data. Variable DealValue i…
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