Hello everyone. I'm new in STATA and I need help for this problem. I have a Variable (Var1) which has 30 Values from A1 --> A30. Now I enter it on STATA like this:
Var 1
A1
A2
A1, A2
A1, A2, A3
I know how to encode A --> 1, A2 --> 2 but I don't know how to make STATA understands that A1, A2 --> 1 + 2 or A1, A2, A3 --> 1 + 2 + 3. Please help me, thank you so much for your help.
Related Posts with Please help me
Codes for Randomly selecting from a particular cluster but a certain percentageHi everyone, wondering if anyone can help as I seem stuck. I have a dataset with 105 hospitals and …
input a number contained in macroI would like to input a number that is contained in (global) macro. The following code doesn't work.…
Changing the display of a date variableHi all, I have a year-month variable which I have formatted with %tm. Is there a way to change the …
Multinominal logistic regression marginal effectsI am running a multinominal logit regression with five dependent variable categories: "I disagree fu…
Numbering a variable based on previous observationDear all I want to make a moderating variable called M&A active and give firms (identified by v…
Subscribe to:
Post Comments (Atom)
0 Response to Please help me
Post a Comment