Citation #

pystacked is not an official Stata command. It’s a free contribution to the research community, like a paper. Please cite it as such.

To cite our working paper:

  doi = {10.48550/ARXIV.2208.10896},
  url = {},
  author = {Ahrens, Achim and Hansen, Christian B. and Schaffer, Mark E.},
  keywords = {Econometrics (econ.EM), Machine Learning (stat.ML), FOS: Economics and business, FOS: Economics and business, FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {pystacked: Stacking generalization and machine learning in Stata},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution Share Alike 4.0 International}

Also cite scikit-learn as explained here:

 title={Scikit-learn: Machine Learning in {P}ython},
 author={Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V.
         and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P.
         and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and
         Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.},
 journal={Journal of Machine Learning Research},