Julia as a universal platform for statistical software development (2404.09309v4)
Abstract: The julia package integrates the Julia programming language into Stata. Users can transfer data between Stata and Julia, issue Julia commands to analyze and plot, and pass results back to Stata. Julia's econometric ecosystem is not as mature as Stata's or R's or Python's. But Julia is an excellent environment for developing high-performance numerical applications, which can then be called from many platforms. For example, the boottest program for wild bootstrap-based inference (Roodman et al. 2019) and fwildclusterboot for R (Fischer and Roodman 2021) can use the same Julia back end. And the program reghdfejl mimics reghdfe (Correia 2016) in fitting linear models with high-dimensional fixed effects while calling a Julia package for tenfold acceleration on hard problems. reghdfejl also supports nonlinear fixed-effect models that cannot otherwise be fit in Stata--though preliminarily, as the Julia package for that purpose is immature.
- Enhanced routines for instrumental variables/GMM estimation and testing. Stata Journal 7: 465–506.
- Bergé, L. 2018. Efficient estimation of maximum likelihood models with multiple fixed-effects: the R package FENmlm. DEM Discussion Paper Series 18-13, Department of Economics at the University of Luxembourg. URL https://ideas.repec.org/p/luc/wpaper/18-13.html.
- DataFrames.jl: Flexible and Fast Tabular Data in Julia. Journal of Statistical Software 107(4): 1–32. URL https://www.jstatsoft.org/index.php/jss/article/view/v107i04.
- Correia, S. 2016. Linear models with high-dimensional fixed effects: An efficient and feasible estimator. Working paper, Duke University.
- ppmlhdfe: Fast Poisson estimation with high-dimensional fixed effects, arXiv.org .
- Wild bootstrap tests for IV regression. Journal of Business & Economic Statistics 28: 128–144.
- Fiedler, J. 2012. Imagining a Stata / Python combination. SAN12 Stata Conference 6, Stata Users Group. URL https://ideas.repec.org/p/boc/scon12/6.html.
-  . 2013. Re-imagining a Stata/Python combination. 2013 Stata Conference 3, Stata Users Group. URL https://ideas.repec.org/p/boc/norl13/3.html.
- fwildclusterboot: Fast Wild Cluster Bootstrap Inference for Linear Regression Models (Version 0.14.0). URL https://cran.r-project.org/package=fwildclusterboot.
- LSMR: An Iterative Algorithm for Sparse Least-Squares Problems. SIAM J. Sci. Comput. 33(5): 2950–2971.
- Gaure, S. 2011. OLS with Multiple High Dimensional Category Dummies. Memorandum 14/2010, Oslo University, Department of Economics. URL https://ideas.repec.org/p/hhs/osloec/2010_014.html.
- A simple feasible procedure to fit models with high-dimensional fixed effects. Stata Journal 10(4): 628–649(22). URL https://www.stata-journal.com/article.html?article=st0212.
- Haghish, E. F. 2019. Seamless interactive language interfacing between R and Stata. Stata J. 19(1): 61–82.
- Levitt, S. D. 1996. The effect of prison population size on crime rates: Evidence from prison overcrowding litigation. Quarterly Journal of Economics 111: 319–351.
- Li, C. 2019. JuliaCall: an R package for seamless integration between R and Julia. The Journal of Open Source Software 4(35): 1284.
- MacKinnon, J. G. 2023. Fast cluster bootstrap methods for linear regression models. Econometrics and Statistics 26: 52–71. URL https://www.sciencedirect.com/science/article/pii/S2452306221001404.
- Fast and wild: Bootstrap inference in Stata using boottest. Stata Journal 19: 4–60.
- Stammann, A. 2018. Fast and Feasible Estimation of Generalized Linear Models with High-Dimensional k-way Fixed Effects.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.