Hello, I am using Stata 15.1. I would like to estimate a simple OLS regression x = y using a panel dataset that excludes all firms in one industry at a time and saves the output of each regression. I have a variable 'industry' that denotes the 3 digit SIC code the firm belongs to. So, I would estimate a regression dropping all values of 'industry' that equal 001, then estimate a regression dropping all values of industry that equal 002, etc. and store the output of each regression.
Thank you
Thank you
Comment