Repository navigation
Conversation
…rsion limitation.
Renamed varstruct as covstruct.
|
plots look very nice (after a brief look) In terms of PR only the last commit is relevant, everything else (GEE) is already in master. Your master branch https://github.com/kshedden/statsmodels/commits/master is still a GEE branch. To follow the usual development pattern with git, I would recommend that you delete your master branch and create a new "master" branch as a copy of statsmodels master. Then it will be easier to base new feature branches on the statsmodels master and PR's will be easier to merge. The GEE merge was based on a rebased version of your master branch, so everything there should me already in statsmodels master. |
|
superseded by #1294 |
This is a basic dotplot function that I think might be a useful addition to statsmodels/graphics.
The term "dotplot" has been used in various ways, these are dotplots in the style of Bill Cleveland's book, similar to what is implemented in this R package:
http://stat.ethz.ch/R-manual/R-patched/library/graphics/html/dotchart.html
Additional examples can be found in the appendix of this manuscript:
http://polisci.msu.edu/jacoby/research/dotplots/tpm/Jacoby,%20Dotplots,%20TPM%20Draft.pdf
The test_dotplot file (in statsmodels/graphics/tests) shows how it works with simulated data. These are the plots generated by the test file:
http://dept.stat.lsa.umich.edu/~kshedden/test_dotplot.pdf
Some examples with real data are here:
http://dept.stat.lsa.umich.edu/~kshedden/dotplot_gdp_example.pdf
http://dept.stat.lsa.umich.edu/~kshedden/dotplot_gas_prices.pdf
Scripts:
http://dept.stat.lsa.umich.edu/~kshedden/dotplot_gdp_example.py
http://dept.stat.lsa.umich.edu/~kshedden/dotplot_gas_prices.py
Comments and suggestions are welcome.