HI,
I have a dataset of some firms which provide services to some clients in 10 different regions. How can I calculate market share of each firm in each region based on the number of their clients?
my variables are: firm_id, firm_name, client_id, region
for example:
firm_id, firm_name, client_id, region
10,firm1,client1,region1
10,firm1,client2,region1
10,firm1,client3,region1
20,firm2,client4,region1
20,firm2,client5,region1
30,firm3,client6,region2
30,firm3,client7,region2
40,firm4,client8,region2
10,firm1,client9,region2
so on
in region 1, the market share of firm1 is 60%, but in region 2, its market share is 25%
thank you
Related Posts with Market share of different firms in different regions
Panel: setting one year as the reference year.Dear statalist community, I am conducting an analysis on green tariffs and renewable rebounds. Preci…
Can I create a new variable based on data labelsGood day. I am trying to replicate the results of a journal article. I have a dataset from the surv…
Missing Values for Age Variable in Panel DataHi All, I am using a panel data consisting of 5 waves. The corresponding year and waves are as follo…
creating a count variable for multiple entries per yearI have a pannel dataset that is organized by country, code, year, and Disaster type. the disaster va…
Calculating LiquidityDear Professor Attaullah, I am using Stata 14. The data type of my research is panel data (unbalanc…
Subscribe to:
Post Comments (Atom)
0 Response to Market share of different firms in different regions
Post a Comment