Dear Statalist,
I am trying to generate the mean value of a locality, excluding the focal firm and firms in the same industry as the focal firms. Specifically, I have 100 firms located in 10 provinces across 13 industries. I attempt to calculate the average leverage of all firms located in province j, excluding the focal firm i and its industry rivals.
Any suggestions would be highly appreciated!
Best regards,
Yiyi
Related Posts with generate mean value of a locality excluding the focal firm and firms in the same industry as the focal firm
Comparing two datasets by two variablesHi, I am very new to stata. I have x1, y1, z variables in data1.dta and x2, y2, N in data2.dta. I a…
Change in variance time seriesHi everyone, I am analysing a time series (stock returns) and I am trying to check whether variance…
Log transforming variablesTwo questions related to log transforming variables. I understand that we would want to log transfo…
How to assess if there is enough variation in your dependent variableIs there a simple way to assess if there is enough variation in your dependent variable, or is it be…
xtivreg , first failes with "conformability error" r(503)Dear Readers xtivreg without "first" runs fine, but fails when I add the "first" option with "confo…
Subscribe to:
Post Comments (Atom)
0 Response to generate mean value of a locality excluding the focal firm and firms in the same industry as the focal firm
Post a Comment