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
Problems calculating the change in vote share from incumbent candidates (electoral data)Hi all. I have a dataset with electoral municipal information for Brazilian municipalities from 2000…
Calculating total or sum without own observation classHi, I have a crossection of electric vehicle (EV). charging stations, and can identify the network a…
To construct a composite variable from multiple categorical variablesMy question may be simple. I tried to find a possible answer to my question, but failed to do so. I…
Overall CI for a multileveled independent variable in a binomial logistic regressionHello, I'm trying to get an overall CI for an independent variable in a binomial logistic regression…
Reshaping Data for Analyzing Experiments with Fractional Factorial Designs Dear Stata community, I need to reshape/reorganize my data for analyzing the results of a survey e…
Subscribe to:
Post Comments (Atom)
0 Response to collapse variable in more than 1 way in one collapse command
Post a Comment