Hi there.
I have a dataset with 2001 variables, where I want to sort each of variables 2 to 2000 in a descending order. I have tried gsort, but it sorts all variables by the 2nd variable.
The dataset is a merge of 569 t-statistics from 2000 datasets, and I want the t-statistics in each variable to be descending. Hence, Y=1,...,2000 and X=1,...,569, and I want X to be descending in each Y.
How can I do that?
Thank you.
Related Posts with Sorting 2000 variables as descending values
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Reshape data from long to wide format using the rolling windowsDear all, I am desperately looking for your help. I am trying to reshape my data from long to wide …
Ologit, Paralell Regression Assumption and weightsHi, it's the first time i write here, hope the question is not too emantary, I'm trying to replicat…
Regression for state-wide daily data with fixed population percentage within statesHello, So I have data set up as such (sample data that I just made up): Code: * Example generated b…
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Subscribe to:
Post Comments (Atom)
0 Response to Sorting 2000 variables as descending values
Post a Comment