Dear all,
I’m working with a dataset of 396 observations and 148 variables. I’m trying to drop a variable if its total sum is the largest among the total sum of the rest of the variables. Each variable is a firm, and each observation is monthly profits. I’m trying to drop the firm with the largest sum of profits and for a second analysis, drop the first and second firms with the largest sum of profits. Any suggestion on how I should approach this?
Thank you,
Veronica
Related Posts with Drop variables if total sum is the largest
create a matrix from single-observation valuesHello, Does anyone know if there is a simple way to create a matrix from single-observation values?…
Vertical and left justified added text to graphHi fellow Stata users! I'm making up a graph and would like some added text labels to be added that…
Probit: iteration backed up problemHi guys, I am trying to run a diff in diff. Unfortunately, the probit regression is not running pro…
How to adjust right test statistics for weak instrument?Hi, I'm using instrumental variable to estimate a regression with IVLASSO. I have a problem with we…
Questions about how to combine PSM and DIDHi. I am studying the impact of law on employment rates. In order to remove the selection bias, I am…
Subscribe to:
Post Comments (Atom)
0 Response to Drop variables if total sum is the largest
Post a Comment