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
Panel data analysis with AR(1)Hello everyone! I have a panel data for labor productivity for 74 countries for period of 1992-2016…
residual plot - examining outliersDear all, currently, I am working on a project on capital structures. This project is made with a O…
Accounting for Seasonality, 'type mismatch error...'Right now I'm getting a type mismatch error when I generate values for months. I have the data for d…
Filling missing strings/categorical variables in panel data (long format)Hello I am finding a problem to clean my HIV related panel data. I would like to clean HIV status w…
How to estimate sample size for randomized control trial using simulation?We wanted to test the effect of community level sanitation intervention(CLS) integrated with nutriti…
Subscribe to:
Post Comments (Atom)
0 Response to String on collapse command
Post a Comment