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
reshape help - error 101 variable already definedHi, I am trying to reshape this data, so that I have Country and Year both as a Columns. I imported …
Rename help: can I reapply existing variable names with a suffix?I've been given some wide panel data where the names of the first 28 variables were simply repeated …
Plotting adjusted means as a bar graphHi, I am trying to plot the adjusted means (in the form of a bar graph as both predictors are categ…
predict after xtlogit with fixed effectI am running a two-stage regression to account for the endogeneity issue. In the first stage I use x…
xtreg how to see estimated coefficient for each obserevationDear Stata users, I'm using xtreg and need to generate a variable to give the estimated coefficient …
Subscribe to:
Post Comments (Atom)
0 Response to Please help me
Post a Comment