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
Error with multiple imputation - mi estimate does not support mixed, dfmethod() r(198);Hello, I was successfully able to impute my data, but I get the following error when I reach the mi…
Exporting data from multiple univariate regressions into one big table in excelHi all, I have used a foreach loop to do univariate logistical regression of multiple variables wit…
Altering yaxis and ylabel styles for graphs that have 2 or more y axisHi Statalisters! I have a time series dataset that I have set as such with the Code: tsset command…
Standard deviation of regression residual using historical dataDear all, I'm trying to calculate the standard deviation of the regression residual where I require…
Altering yaxis and ylabel styles for graphs that have 2 or more y axisHi Statalisters! I have a time series dataset that I have set as such with the command Code: tsset…
Subscribe to:
Post Comments (Atom)
0 Response to Categorical Variable error
Post a Comment