IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v23y2023i1p148-196.html
   My bibliography  Save this article

statacons: An SCons-based build tool for Stata

Author

Listed:
  • Raymond P. Guiteras

    (North Carolina State University)

  • Ahnjeong Kim

    (North Carolina State University)

  • Brian Quistorff

    (Bureau of Economic Analysis)

  • Clayson Shumway

    (North Carolina State University)

Abstract

In this article, we present statacons, an SCons-based build tool for Stata. Because of the integration of Stata and Python in recent versions of Stata, we are able to adapt SCons for Stata workflows without the use of an external shell or extensive configuration. We discuss the usefulness of build tools generally, provide examples of the use of statacons in Stata workflows, present key elements of the syntax of statacons, and discuss extensions, alternatives, and limitations. We provide recommendations for collaborative workflows and, at the end of the article, installation instructions.

Suggested Citation

  • Raymond P. Guiteras & Ahnjeong Kim & Brian Quistorff & Clayson Shumway, 2023. "statacons: An SCons-based build tool for Stata," Stata Journal, StataCorp LP, vol. 23(1), pages 148-196, March.
  • Handle: RePEc:tsj:stataj:v:23:y:2023:i:1:p:148-196
    DOI: 10.1177/1536867X231162032
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj23-1/st0704/
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1177/1536867X231162032
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X231162032?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
    2. Shumway, Clayson & Wilson, Riley, 2022. "Workplace disruptions, judge caseloads, and judge decisions: Evidence from SSA judicial corps retirements," Journal of Public Economics, Elsevier, vol. 205(C).
    3. Valérie Orozco & Christophe Bontemps & Elise Maigné & Virginie Piguet & Annie Hofstetter & Anne Lacroix & Fabrice Levert & Jean‐Marc Rousselle, 2020. "How To Make A Pie: Reproducible Research For Empirical Economics And Econometrics," Journal of Economic Surveys, Wiley Blackwell, vol. 34(5), pages 1134-1169, December.
    4. George G. Vega Yon & Brian Quistorff, 2019. "parallel: A command for parallel computing," Stata Journal, StataCorp LP, vol. 19(3), pages 667-684, September.
    5. Sun, Liyang & Abraham, Sarah, 2021. "Estimating dynamic treatment effects in event studies with heterogeneous treatment effects," Journal of Econometrics, Elsevier, vol. 225(2), pages 175-199.
    6. E. F. Haghish, 2016. "markdoc: Literate programming in Stata," Stata Journal, StataCorp LP, vol. 16(4), pages 964-988, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bas Scheer & Wiljan van den Berge & Maarten Goos & Alan Manning & Anna Salomons, 2022. "Alternative Work Arrangements and Worker Outcomes: Evidence from Payrolling," CPB Discussion Paper 435, CPB Netherlands Bureau for Economic Policy Analysis.
    2. Katrin Huber & Geske Rolvering, 2023. "Public child care and mothers’ career trajectories," Working Papers 228, Bavarian Graduate Program in Economics (BGPE).
    3. Alex Hollingsworth & Krzysztof Karbownik & Melissa A. Thomasson & Anthony Wray, 2024. "The Gift of a Lifetime: The Hospital, Modern Medicine, and Mortality," American Economic Review, American Economic Association, vol. 114(7), pages 2201-2238, July.
    4. Bergvall, Sanna & Fernström, Clara & Ranehill, Eva & Sandberg, Anna, 2024. "The Impact of PhD Studies on Mental Health—A Longitudinal Population Study," Working Papers in Economics 846, University of Gothenburg, Department of Economics.
    5. Jones, Kelly & Wilcher, Britni, 2024. "Reducing maternal labor market detachment: A role for paid family leave," Labour Economics, Elsevier, vol. 87(C).
    6. Bhalotra, Sonia & Clarke, Damian & Mühlrad, Hanna & Palme, Mårten, 2021. "Health and Labor Market Impacts of Twin Birth : Evidence from a Swedish IVF Policy Mandate," The Warwick Economics Research Paper Series (TWERPS) 1391, University of Warwick, Department of Economics.
    7. Davide Viviano & Jelena Bradic, 2019. "Synthetic learner: model-free inference on treatments over time," Papers 1904.01490, arXiv.org, revised Aug 2022.
    8. Guignet, Dennis & Jenkins, Robin R. & Belke, James & Mason, Henry, 2023. "The property value impacts of industrial chemical accidents," Journal of Environmental Economics and Management, Elsevier, vol. 120(C).
    9. Léa Cimelli, 2023. "Are the widowed too much insured? Survivor’s pensions and living standards upon widowhood in France," Working Papers 279, French Institute for Demographic Studies.
    10. Jack (Peiyao) Ma & Andrea Mantovani & Carlo Reggiani & Annette Broocks & Néstor Duch-Brown, 2024. "The Price Effects of Prohibiting Price Parity Clauses: Evidence from International Hotel Groups," Economics Series Working Papers 1043, University of Oxford, Department of Economics.
    11. Luo, Lianfa & Cheng, Zhiming & Ye, Qingqing & Cheng, Yanjun & Smyth, Russell & Yang, Zhiqing & Zhang, Le, 2024. "Nonmonetary awards and innovation: Evidence from winning China's Top Brand Contest," China Economic Review, Elsevier, vol. 86(C).
    12. Jeff DeSimone & Daniel Grossman & Nicolas Ziebarth, 2023. "Regression Discontinuity Evidence on the Effectiveness of the Minimum Legal E-cigarette Purchasing Age," American Journal of Health Economics, University of Chicago Press, vol. 9(3), pages 461-485.
    13. Michael Bates & Michael Dinerstein & Andrew C. Johnston & Isaac Sorkin, 2022. "Teacher Labor Market Equilibrium and Student Achievement," CESifo Working Paper Series 9551, CESifo.
    14. Hashida, Yukiko & Dundas, Steven J., 2023. "The effects of a voluntary property buyout and acquisition program on coastal housing markets: Evidence from New York," Journal of Environmental Economics and Management, Elsevier, vol. 121(C).
    15. Aggarwal, Khushboo & Barua, Rashmi & Vidal-Fernandez, Marian, 2024. "Still Waters Run Deep: Groundwater Contamination and Education Outcomes in India," Economics of Education Review, Elsevier, vol. 100(C).
    16. Pérez, Jorge & Vial, Felipe & Zárate, Román, 2022. "Urban Transit Infrastructure: Spatial Mismatch and Labor Market Power," Research Department working papers 1992, CAF Development Bank Of Latinamerica.
    17. Jaraitė, Jūratė & Kurtyka, Oliwia & Ollivier, Hélène, 2022. "Take a ride on the (not so) green side: How do CDM projects affect Indian manufacturing firms’ environmental performance?," Journal of Environmental Economics and Management, Elsevier, vol. 114(C).
    18. Xin Nie & Jianxian Wu & Han Wang & Weijuan Li & Chengdao Huang & Lihua Li, 2022. "Contributing to carbon peak: Estimating the causal impact of eco‐industrial parks on low‐carbon development in China," Journal of Industrial Ecology, Yale University, vol. 26(4), pages 1578-1593, August.
    19. Cordonnier, Victor & Covarrubias, Katia Alejandra & de la O Campos, Ana Paula, 2024. "The impacts of widespread agricultural interventions on yields and food security in Ethiopia☆," Food Policy, Elsevier, vol. 124(C).
    20. Costa-Font, Joan & Jiménez-Martín, Sergi & Vilaplana-Prieto, Cristina, 2022. "Do Public Caregiving Subsidies and Supports affect the Provision of Care and Transfers?," Journal of Health Economics, Elsevier, vol. 84(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:23:y:2023:i:1:p:148-196. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.