Let's say I have the following data:
x=np.random.normal(10, size=(100))
y=np.random.normal(15, size=(100))
sns.displot(data=[x,y], kind="kde")
This generates these distributions:
So, what I want to do is: Find the area that is a product of the interception of both curves that accomplish this:
P(x>10) & P(y<15)
and then fill it.
I don't if it is possible but any help would be appreciated
I tried using the fill_between
but didn't have anny luck. Also I don't know how to fit the distributions so I get the area that I want.