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
Reshape vs stack helpHello all: I am trying to reshape a set of variables on the second duplicated row. c11-17 correspon…
Computing Average Treatment Effect for the Untreated (ATU) from IPTW-RAI am using the doubly robust estimator IPTW-RA to estimate the average treatment effect parameters (…
Error r(603) has suddenly started to occur in Mac OSRunning Stata 17 on Mac OS 11.6.6. Until two days ago (1/6/22) I was able to run the following comm…
short term and long term analysisHello everyone, I want to test the short-term and long-term impact of a certain independent variabl…
Interaction term including year dummy while using year and industry fixed effectsDear all, I would like to ask a question about using an interaction term in a two-way fixed panel r…
Subscribe to:
Post Comments (Atom)
0 Response to Help with generate dummy
Post a Comment