Array
Hi!
This is a part of my data. I have 24 countries (land) and I want to make two dummy's for aviation transport for Sweden - one that makes Swedish Total passengers aviation =1 and then the other Swedish Total passengers travel by railway=0. We want to exclude there other lands so we only look at Sweden.
An illustration of what I want to do:
Array
How can I do that?
Thanks in advanced
David
Related Posts with Help with generate dummy
Missing Axis Labels only for some GraphsDear All I am working with a simple panel dataset of 40 individuals' characteristics over 2000 to 2…
Subgroups with coefplot allowing each graph to have its own scale and adjust location of legendDear all I am using the following code to create a graph with 5 plots: Code: coefplot (hba1c1, …
Conditional drop if command within a certain firm year levelHi, I am working on my master thesis and I am currently busy with the data cleaning process. One of…
Improving Code SpeedHello Statalist, After much blood sweat and tears I managed to successfully find a working solution…
Spatial Panel Data TestsHello, I am relatively new to Stata and have been estimating different spatial panels, such as the …
Subscribe to:
Post Comments (Atom)
0 Response to Help with generate dummy
Post a Comment