Statistics, probability and foundational maths for beginners, with interactive formulas, tables and tests, in Portuguese and English.
Dante Bertuzzi
Statistician. I write Julia packages that make Brazilian public data reproducible — and I study the climate of the place I live.
Public data in Brazil is rich and hard to reach: compressed DBC files, Latin-1 encodings, layouts that change between releases. My work absorbs that mess once, in open-source Julia packages, so the analysis can start at the question instead of at the file format. Eight packages so far cover health records, elections, crime statistics, ocean biodiversity, data quality, document templating and project management. I also write reproducible research: my latest preprint estimates that a year as dry as 2012/13, once expected about every 38 years in Petrolina, under the linear trend now comes about every 12 to 18 at the end of the record.
Keywords: statistics · Julia · public data · reproducibility · semi-arid
Packages
Open-source Julia, written to be read: typed schemas, few dependencies, Tables.jl everywhere it fits.
| # | Links | |||||
|---|---|---|---|---|---|---|
| 1 | MicroSUS.jlDATASUS microdata with constant-memory streaming reads of .dbc/.dbf and typed schemas for SIM, SINASC, SIH, SIA, CNES and SINAN. | Health | 0.5.1 | 87 | 2 github stars | code · docs |
| 2 | BRElections.jlTSE electoral data — candidates, votes by polling station, assets, electorate — with no ZIPs to unpack and no Latin-1 to deal with. | Elections | 0.4.1 | 44 | 2 github stars | code |
| 3 | DeBRief.jlCrime statistics from MJSP/Sinesp under one stable schema across years of shifting layouts, with per-100k rates. | Public safety | 0.1.4 | 20 | 3 github stars | code · docs |
| 4 | OBISClient.jlAn independent client for OBIS, the Ocean Biodiversity Information System (IOC/UNESCO). | Biodiversity | 0.2.0v0.1.0 · | 46 | 2 github stars | code · docs |
| 5 | MissingPatterns.jlMissing-data patterns in the terminal: heatmaps, md.pattern()-style summaries and co-occurrence, zero plotting dependencies. | Data quality | 0.8.0 | 47 | 7 github stars | code · docs |
| 6 | Perth.jlGantt and Kanban driven from the REPL, with a local web UI and real-time sharing over the LAN. | Tools | 0.16.1 | 174 | 11 github stars | code · docs |
| 7 | Kanon.jlA document template language whose templates declare their own data contract. | Tools | 0.1.0no release | 65 | 2 github stars | code · docs |
| 8 | Liquid.jlThe Liquid template language in pure Julia; rendering never evaluates Julia code. | Tools | 0.1.0 | 9 | 2 github stars | code |
Research
Every number in the text is generated by the code, with unit tests, a partial check in Python and Lean proofs of the closed-form formulas.
Bertuzzi, D. de S. (2026). Menos chuva e mais calor em Petrolina-PE (1961–2025): tendências do regime meteorológico e o que elas implicam para a frequência de anos muito secos. Preprint, Zenodo, v1.3.2. doi:10.5281/zenodo.24608594 · code & data
Annual rainfall trend up to 2020/21, 95% interval −87 to −33.
Minimum temperature; 0.19 to 0.31 after correcting breaks against neighbouring stations. Maximum rose +0.27 °C per decade (0.19 after correction).
Return period of a year as dry as 2012/13: stationary climate vs. end of the record under the linear trend (about 27 if the decline was a step). The wet years 2021/22–2024/25 suggest the end of the line overstates the current dryness.
Regional frequency analysis: station 82983 and the 5 ANA rain gauges, 291 station-years.
Websites
Projects on the web, beyond the packages.
Methods
How I work, in three rules.
-
4.1Absorb the mess once
DBC files, Latin-1, layouts that drift between years — handled inside the package, so nobody downstream has to.
-
4.2Every number comes from code
Papers are generated, not typed: figures, tables and the numbers in the prose all come out of the same reproducible run.
-
4.3Few dependencies, small surface
Terminal heatmaps with no plotting library; API clients without HTTP.jl. Fast to load, easy to keep alive.
Correspondence
Issues, pull requests and questions about any package are welcome there.