Is it possible to collapse the same variable in more than 1 way in 1 collapse command (e.g., to get both the minimum and the maximum). I have tried using the basic command specifying (max) var1 (min) var1 and it returns an error code, but is there another way to do this/any new functionality to acheive this?
Related Posts with collapse variable in more than 1 way in one collapse command
Dropping multiple variables ending within a range of numbersDear Statlist, I am currently trying to organise data from the LISS dataset. A number of variables …
Change in the number of employed people in all states except for state i normalized by number of employed people in state iDear Stata Forum, let's say I have state level employment data of 50 states for the years 2000 and 2…
Colors in Histogram Hi. I want to give both the Yes bars a different color from the two No bars. How can this be done.…
WeightingHello guys, I am trying to replicate an approach from Barber, Brad M. and Huang, Xing and Odean, Ter…
How replace text value of variable with numberSo I have a variable education that has lots of values in text specifying 'bachelor 1', 'bachelor 2'…
Subscribe to:
Post Comments (Atom)
0 Response to collapse variable in more than 1 way in one collapse command
Post a Comment