Hi,
I'm new to STATA and getting the hang of it. I have a list of 10k directors who hold board positions in one or multiple countries. I'm trying to create a categorical variable where in my command is "recode uboards_fe (1 = 0) (2/8 = 1), generate(Prominent Director)" but every time I enter this command I get an error: the number of new and transformed varnames should be the same. Can someone please explain what I am doing wrong?
Regards,
Raghavendra
Related Posts with Categorical Variable error
Estimating shape and scale parameters of Weibull distribution, with right censoringI have a continuous variable to which I want to fit a Weibull distribution. The variable is right ce…
Programming questionHello I'm new to programming and I'm stuck trying to do a simple task within a program. How do you …
Difference gmm vs system gmm, fd vs fodIs there any criteria to decide which estimation of difference gmm vs system gmm, first difference v…
Unable to use command BSPLINE in STATA version 15.1Hi, I am using STATA version 15.1. I am trying to run the following command: bspline, xvar(tmean05…
Split dataset in parts based on conditionHello, I have a split dataset containing a string variable named '"Time Splot" that takes 5 value, …
Subscribe to:
Post Comments (Atom)
0 Response to Categorical Variable error
Post a Comment