Hi,
I am trying to look at the frequency distribution of the variable total_sales, once for all observations and once when _merge = 3. I am using the following code:
I get the same amount of bars, but the bars do not exactly lay on top of each other. However, I would like to see how many observations out of all observations also fulfill _merge == 3 (and are within the same bar). Is this possible?
(I am unable to provide a data example, sorry about that.)
Best,
Kathrin
I am trying to look at the frequency distribution of the variable total_sales, once for all observations and once when _merge = 3. I am using the following code:
Code:
twoway (histogram total_sales, bin(20) freq color(navy)) (histogram total_sales if _merge == 3, bin(20) freq fcolor(none) lcolor(black))
(I am unable to provide a data example, sorry about that.)
Best,
Kathrin

Comment