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?
Cross ElasticitiesHi guys, I have a database in quarterly form containing quantities (stdunits), price and recalls st…
Categorize a survey dataHello Everyone I'm working on large #survey data and I Should separate the data in #two_categories 1…
Questions about ckvarHi, I have some questions about this command. First, I want to put two validarions by variable. Al…
DeletedResolved …
Expanding observationsDear Statalisters, I work on a database in which results of an enterprise survey (multiple choice q…
Subscribe to:
Post Comments (Atom)
0 Response to How do I use XTSET in panel data?
Post a Comment