"variable at_exp_share11 already defined" is always displayed when I run the command. But I can confirm that I have not created this variable before.
The specific procedures are as follows
. foreach lev in 9 1 {
2. bys pcode_st`lev': egen at_exp_share11=total(exp_share11)
3. gen exp_share_aggup=exp_share11/at_exp_share11
4. }
variable at_exp_share11 already defined
r(110);
Thank you in advance. I am happy to provide more information.
Zhang Ningning
Related Posts with "variable at_exp_share11 already defined" is always displayed when I run the command.
Changing titles on side-by-side bar graphsHi All, I'm trying to create a side-by-side bar graph, as per below (note dummy variable labels inc…
Problem regarding the creation of an independent variableHi all, For my Master thesis, I used Qualtrics for an online experiment and within this experiment …
Invalid name error when using count and putexcelHi there, I am running Stata/SE 16.0 and my data looks like this: Code: * Example generated by -d…
Calculating CIs after mixed-effects poissonHi all, I'm trying to graph the results of a mixed-effects poisson model and have come across some i…
Using -expand- to duplicate multiple rowsI have data that look like the following: Code: * Example generated by -dataex-. To install: ssc i…
Subscribe to:
Post Comments (Atom)
0 Response to "variable at_exp_share11 already defined" is always displayed when I run the command.
Post a Comment