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
generate dummy variable using strposHi everyone!
I have searched this forum and read the official stata help section, but I'm still not…
Issue with an Independent variable consisting of Non Mutually Exclusive Categories, whereby one category perfectly predicts the outcome.Hi Statalist,
I'm having a number of problems with my Probit model. I am attempting to model predic…
Ultimatch - Nearest Neighbor, Radius, Coarsened Exact, Percentile Rank and Mahalanobis Distance Matching in one PackageHi everyone,
for all that are interessted in matching (especially by Mahalanobis Distance)...
ulti…
Specifying a GARCH(1,1) modelHi,
I am trying to find the conditional variance for multiple countries' HP filter ln of GDP using t…
advice on using duplicates drop commandHello,
I would like to make use of "duplicates drop" command to drop out certain rows,
For example,…
Subscribe to:
Post Comments (Atom)
0 Response to collapse variable in more than 1 way in one collapse command
Post a Comment