Hello,
I want to assess the impact of migration on the trade. So I have trade data between one destination country and 50 origin countries for 20 years. I am trying to use the command xtset for my panel data. For that I first use the command encode Reporter, gen(destination) and encode Partner, gen(origin).
Then I typed xtset origin year
My question is: Am I doing it correctly when I tell stata that my panelvar is origin and my timevar is year ?
Or stated differently, are the two commands that I stated before correctly used?
Thanks in advance for your help.
Cristina
Related Posts with How do I use XTSET in panel data?
Creating panel datasetHello I am trying to create a panel dataset using Waves 1 to 5 from the South African National Inco…
Export ANOVA OutputHi, I am trying to save the output from running multiple ANOVAs, however the Word output isn't corr…
Cross-sectional t test & standard deviation (event study caar)Dear all, I've got a question regarding the cross-sectional t-test when determining the significanc…
Pre-treatment effect interpretationHello, I have a quick question regarding the pre-treatment effect and I would appreciate to get an …
How to determine if variables are statistically different (using t-test)?Hi all, I have one more question regarding my regression analysis in the housing market. I have ge…
Subscribe to:
Post Comments (Atom)
0 Response to How do I use XTSET in panel data?
Post a Comment