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
How to specify residual correlation structure in glmHello all, I'm trying to fit a Poisson model to the rate of hospitalizations for children under 5 y…
Bootstrapping s.e. with country FEs - Two-stage estimation with fractional logit in second stage.Hi, I am running a two stage regression, where the first stage is a linear regression of a price in…
PcaHi dears, I would like to have help with the PCA. I have a dataset with ten variables, most of all f…
Interaction termHi Everyone! I try to run a regression with an interaction variable in Stata. The interaction term …
How to design a correct twoway scatter graph?Good morning to the community. I would like to design a graph like this:Array But I would like fir…
Subscribe to:
Post Comments (Atom)
0 Response to String on collapse command
Post a Comment