Hi,
I would like to ask a question about collapse command.
I tried to collapse all data with that function
collapse holder_perceo coname gend, by(exec_fullname)
holder_perceo: Dummy variable
coname: Company names
gend: Gender Dummy variable
by(exec_fullname): Executive names
It gives type mismatch error.
When I remove coname, it works but I need the company names too.
Thank you in advance.
Related Posts with String on collapse command
File not found error when looping over files in a directoryDear Statalists, I am trying to import some excel files from the same directory and merge them into…
Dummy variable that changes per group of observationsHello everyone, I have two dummy variables ger1 and ger2. Essentially what I need to do is to crea…
Standardized Cross-Section Test (BMP test)Hi everyone, I'm trying to implement the Standardized Cross-Section Test on Stata. Do you know if th…
Select records different timesDear all, I need to select 2 records that the difference between date2 and date1 is greater than 18 …
Triple DDDHi Clyde need some help on DDD My research question lies in seeing - does bargaining power influenc…
Subscribe to:
Post Comments (Atom)
0 Response to String on collapse command
Post a Comment