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
Marginal effects after fixed effect logistic regressionI was trying to run fixed effects logit with stata's Code: clogit. Now, trying to figure out the ma…
Place labels on boxplots with asyvars optionI generate a hbox with Code: clear set obs `=9 * 2 * 5' set seed 2803 gen y = rnormal() egen x1…
Interpretation of Negative Binomial Regression Model with Panel DataDear All, I am using Stata 14 and investigating the impact of Corporate Venture Capital Investment …
TestCode Test Code: xtreg ff.logny02a i.phase1##i.regulated i.phase2##i.regulated c.logfixedassets i.n…
Basic Regression Analysis HelpHello all, I'm new to regression analysis in general. I've read all the rules so I hope you can all…
Subscribe to:
Post Comments (Atom)
0 Response to collapse variable in more than 1 way in one collapse command
Post a Comment