I struggle with testing the difference between means of the indicators for firms. In my sample I have 9 companies. I have quarterly data from 2016 till 2021. I created dummies for the firms to classify them into all, big and others. I used:
gen big_firms=0
replace big_firms=1 if inlist(firm_id, 1,2,3,4)
gen other_firms=1 if big_firms==0
Then I wanted to compare the means of the indicators between the groups and the rest. I used:
ttest ind1,by(big_firms)
ttest ind1,by(other_firms)
I was surprise that p-values are exactly the same for big and other firms
I'm really confused with my results. Could you help me? Is there an other test for means?
gen big_firms=0
replace big_firms=1 if inlist(firm_id, 1,2,3,4)
gen other_firms=1 if big_firms==0
Then I wanted to compare the means of the indicators between the groups and the rest. I used:
ttest ind1,by(big_firms)
ttest ind1,by(other_firms)
I was surprise that p-values are exactly the same for big and other firms
I'm really confused with my results. Could you help me? Is there an other test for means?

Comment