Package: mditools Type: Package Title: Microdata Infrastructure Tools for Firm-Level Microdata Research Version: 0.1.1 License: GPL-3 URL: https://github.com/Secretariat-CompNet/mditools BugReports: https://github.com/Secretariat-CompNet/mditools/issues Authors@R: c( person("Daniele", "Aglio", role = "aut"), person("Eric", "Bartelsman", role = "aut"), person("Mirja", "Hälbig", role = "aut"), person("Marco", "Miorandi", role = "aut"), person("Johanna", "Weiss", role = c("aut", "cre"), email = "johanna.weiss@iwhesl.onmicrosoft.com"), person("Alessandro", "Zona Mattioli", role = "aut"), person("Julián", "Díaz-Acosta", role = "ctb"), person("Alberto", "Ferreira", role = "ctb"), person("Javier", "Miranda", role = "ctb"), person("Marcelo Piemonte", "Ribeiro", role = "ctb"), person("Reetuparna", "Vishwanath", role = "ctb"), person("Chengzi", "Yi", role = "ctb"), person("European Union", role = "fnd", comment = "Technical Support Instrument (TSI), project ProdTool, TSI-2025-MULTIMSPROD-IBA, TSI Project Number 101261159") ) Description: Supports the full analysis pipeline for researchers working with firm-level microdata. Provides data tools for panel preparation (import, outlier detection, classification harmonization), analytical methods (production function estimation, capital stock measurement, markups, intensity measures, distributions, regression, clustering), and disclosure tools for tagging outputs with dominance and observation counts before aggregation and publication. Production function estimation implements methods by Ackerberg, Caves and Frazer (2015) , Levinsohn and Petrin (2003) , Wooldridge (2009) , Petrin, Poi and Levinsohn (2004) , and Arellano and Bond (1991) with the "too many instruments" correction by Roodman (2009) . Markup estimation follows De Loecker and Warzynski (2012) . Cost-share production function estimation follows Basu and Fernald (1997) . Capital stock estimation via the Perpetual Inventory Method follows OECD (2009) . Encoding: UTF-8 Imports: data.table, fixest, haven, readxl, Matrix, cluster, dbscan, mclust, stats, utils, graphics, grDevices Suggests: testthat (>= 3.0.0), arrow, RODBC, askpass Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Roxygen: list(markdown = TRUE) RoxygenNote: 8.0.0 Config/pak/sysreqs: make libx11-dev zlib1g-dev Repository: https://secretariat-compnet.r-universe.dev Date/Publication: 2026-10-08 18:34:51 UTC RemoteUrl: https://github.com/secretariat-compnet/mditools RemoteRef: HEAD RemoteSha: 52b644d78f023fa49e604ba11a021a7174732b96 NeedsCompilation: no Packaged: 2026-10-08 22:19:46 UTC; root Author: Daniele Aglio [aut], Eric Bartelsman [aut], Mirja Hälbig [aut], Marco Miorandi [aut], Johanna Weiss [aut, cre], Alessandro Zona Mattioli [aut], Julián Díaz-Acosta [ctb], Alberto Ferreira [ctb], Javier Miranda [ctb], Marcelo Piemonte Ribeiro [ctb], Reetuparna Vishwanath [ctb], Chengzi Yi [ctb], European Union [fnd] (Technical Support Instrument (TSI), project ProdTool, TSI-2025-MULTIMSPROD-IBA, TSI Project Number 101261159) Maintainer: Johanna Weiss