bernardodionisi / differences

difference-in-differences in Python
https://bernardodionisi.github.io/differences/latest/
GNU General Public License v3.0
93 stars 21 forks source link

Extracting group-time metric values and sample sizes #19

Open cadlaon opened 2 weeks ago

cadlaon commented 2 weeks ago

I wasn't sure if this was available in the documentation, but is this possible with the current package?

bernardodionisi commented 2 weeks ago

Hi, you should be able to extract the info you are looking for with a bit of work.

The info should be stored in the private ATTgt attribute _result_dict. May be mistaking on which attribute it is since I have not worked on this codebase in a while.

The number of observations should be directly retrievable from within _result_dict. The mean you may need to calculate with the information you will find in that attribute.

Maybe at some point I will expose the information for easier retirval.