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
VECM with GARCH errorsHi Do anyone knows how to perform e VECM model with GARCH errors with STATA? …
Loop commandI need to estimate an ARMA model order from (0,0) to (5,5). How would you go about writing an loop c…
ICC and VPC using mepoisson commandHi everybody: I am using the command "mepoisson" in Stata 15 and I have doubt how I can calculate t…
Problem generating a new variable because of missing valuesHi everyone! I'm fairly new to Stata & Statalist, so I apologize in advance if this question has…
Correlations between consecutive observationsHi, Suppose I have the following dataset id year measure1 measure2 1 2000 0.41 - 1 2001 0.19 0.50…
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