Hi. I'm new to Statalist. Could anyone help me with extracting the values of a variable as a local macro in the order that they appear in the data ? levelsof doesn't work as it sorts the values in alphabetical order.
Related Posts with extracting the values of a variable as a local macro in the order that they appear in the data
Define Variables in a loopDear all, I would like to run a regression for three different (dependent) variables in a loop, whi…
PS matching, teffectsHello people, I'm trying to evaluate the impact of remittances on expenditure using propensity score…
Problem on Hansen test for over identifying restriction (system-GMM)Dear Stata users, I have a dynamic panel of 113 countries for 27 year, and I am using the system-GMM…
Binary instrumental variableI am using instrumental variable estimation, and my instrument is a binary variable (1=yes, 0=no). M…
categorical variableDear researchers, I am new to this great website, and this is my first post, and I hope to receive a…
Subscribe to:
Post Comments (Atom)
0 Response to extracting the values of a variable as a local macro in the order that they appear in the data
Post a Comment