vincentarelbundock / pymarginaleffects

GNU General Public License v3.0
47 stars 8 forks source link

Get variables from formula #93

Closed LamAdr closed 4 months ago

LamAdr commented 4 months ago

This fixes #91 with the solution by @RoelVerbelen. I added .split('~')[1] to the formula before regexing because we don't want the left hand side of it. It fixes this problem in test_analytic.

vincentarelbundock commented 4 months ago

Thanks a lot! merged and on pypi as 0.0.9