Dear all,
I am working with firm level data where I want to generate a variable at the firm level which is average of sales of the firm for state-industry combination level. But while generating this new variable I want the average in such a way that it calculates the average for all firm excluding that ith firm.
Please suggest
Related Posts with generating variable based on average at state-industry combination leaving one particular firm in each cell
Web scarping errorHello all, I downloaded the command nba2stata to get data from this website to STATA. However when …
Export estimation output of a system regression (reg3)Dear statalist, I estimated a system equation, which contains 14 equations, by command -reg3- then,…
Split dataset for cross-validationHi all! I need to split my dataset into 10 folds to do cross-validation "manually" (I know about th…
Interpolation/Missing Data QuestionHi, very very very beginner user here. I'm trying to linearly interpolate some missing values but am…
replacing values of newly generated string variable if old string variable contains certain charactersHello, I have a string variable called relationship that describes the relationship between 2 peopl…
Subscribe to:
Post Comments (Atom)
0 Response to generating variable based on average at state-industry combination leaving one particular firm in each cell
Post a Comment