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
Calculate Difference between Last and First Observation in Time Series DataHello Statalist members, I want to calculate the difference between the last and first observations…
infix usingHi, I am working with HCUP NIS data files. I get "using required". I don't know why! /**********…
icd9, invalid codesHi all, I am working with HCUP NIS files for year 2014. I run the following code: . icd9 check …
Extracting subset date from a timestamp date variableDear Colleagues Please help: I am trying to extract the first 8 characters (NEWdate) from a date fo…
bsqreg with fixed effectHi everyone, Is there an alternative to xtqreg with Bootstrapped errors? When I use bsqreg, I can n…
Subscribe to:
Post Comments (Atom)
0 Response to Drop variables if total sum is the largest
Post a Comment