Self medication

I remember this sad woman that lived in the same condominium complex as Barb and I who each weekend seemed to have a different guy leaving her place in the early morning. She never seemed happy and we always figured it was self esteem problem and the pond scum she brought home didn’t make the situation any better. Now some researchers have some data on women, depression, and sex. I wonder if the researchers investigated the self-esteem issue and if the “self medication” aspects of using sex for treating their depression benefited them in the long term. And of course they should also explore which, if any, was cause and which was effect. Or was it just correlation?