lucashusted / pystout

A Package To Make Publication Quality Latex Tables From Python Regression Output
GNU General Public License v3.0
43 stars 12 forks source link

Adding modstat variables? #3

Closed mwood7 closed 3 years ago

mwood7 commented 3 years ago

First, thanks for this! Very nice.

For a project I'm doing it would be useful to be able to report 'aic' and 'bic' in the modstat line. I'm extremely new to GitHub so have never done pull requests etc. Not wanting to mess things up, I'm just attaching your pystout.py file with the changes that allow AIC and BIC to be output (it was a very easy change, of course). If it OK, please merge it with what you have after testing? (I had to rename it pystout.txt to attach).

One other thing you might want to include in your documentation for those who aren't LaTeX savvy is a link to quicklatex.com. I found I can copy your output table and it renders nicely to something the user could drag into a Word document. Me I've been using LaTeX since mid 1980's, but my collaborators not so much.

pystout.txt pystout_sample_output

lucashusted commented 3 years ago

@mattwoodtx great suggestion. Added the feature and updated it here and on PyPI. Feel free to pull the new version.