Is it possible to calculate the overlap of two histogram as a percentage? I am using a user-written package called "hist_overlay". However, any solution will be appreciated. It not specially looking to calculate the percentage using "hist_overlay".
Example code:

Example code:
Code:
sysuse auto ssc install hist_overlay hist_overlay mpg, over(foreign) fraction width(5) verbose name(hist1,replace
Comment