Aube.Martedì 24 novembre 2026Sostieni

Aube.

Le notizie del progresso
Originale e traduzione

Software gratuito: un modello da 897 MB di memoria scende sotto 1 MB

Esci dal confronto

Le due versioni sono allineate blocco per blocco, nell’ordine del testo: titolo, l’essenziale, poi paragrafo per paragrafo. Quando la traduzione ha fuso o diviso un paragrafo, la casella corrispondente resta vuota — non accostiamo mai due passaggi a occhio.

Originale · inglese
Free software cuts one trade model's memory from 897 MB to under 1 MB
Traduzione · italiano
Software gratuito: un modello da 897 MB di memoria scende sotto 1 MB
Originale · inglese
A free package from the University of Surrey lets economists run complex trade models on an ordinary laptop.
Traduzione · italiano
Un pacchetto gratuito dell'Università del Surrey permette agli economisti di far girare modelli commerciali complessi su un normale laptop.
Originale · inglese
In the largest benchmark it used less than 1 megabyte, against about 897 MB for base R, on one model tested.
Traduzione · italiano
Nel test più grande ha usato meno di 1 MB, contro circa 897 MB di base R, su un solo modello testato.
Originale · inglese
Speed stays competitive, but the study gives no timing figures, and the memory results describe one model only.
Traduzione · italiano
Le prestazioni in velocità restano competitive, ma lo studio non fornisce tempi di esecuzione, e i risultati sulla memoria riguardano un solo modello.
Originale · inglese

“If a model needs more memory than your computer has, waiting longer will not solve the problem. You simply cannot run it.” Mauricio Vargas Sepulveda, a PhD researcher in economics at the University of Surrey, describes the wall that stops many trade analyses. His answer is a free package, Capybara 2.0, which in the largest benchmark of his study used less than 1 megabyte of memory, where the conventional base R approach needed approximately 897 megabytes. The tests ran on a standard Lenovo laptop.

Traduzione · italiano

«Se un modello richiede più memoria di quella che il tuo computer possiede, aspettare più a lungo non risolverà il problema. Semplicemente, non puoi eseguirlo.» Mauricio Vargas Sepulveda, dottorando in economia all'Università del Surrey, descrive il muro che blocca molte analisi del commercio internazionale. La sua risposta è un pacchetto gratuito, Capybara 2.0, che nel test più grande del suo studio ha usato meno di 1 MB di memoria, mentre l'approccio convenzionale di base R ne richiedeva circa 897 MB. I test sono stati eseguiti su un laptop Lenovo standard.

Originale · inglese

Trade models ask how exports move between countries while accounting for differences between exporters, importers and trading partners. As those comparisons become more detailed, conventional calculations can exhaust the computer’s available memory. Capybara handles those differences without building the large tables of extra variables that conventional methods need, and it couples its memory-saving calculations with safeguards against misleading statistical estimates.

Traduzione · italiano

I modelli commerciali chiedono come si muovono le esportazioni tra paesi, tenendo conto delle differenze tra esportatori, importatori e partner commerciali. Man mano che i confronti diventano più dettagliati, i calcoli convenzionali possono esaurire la memoria disponibile del computer. Capybara gestisce queste differenze senza costruire le grandi tabelle di variabili aggiuntive di cui hanno bisogno i metodi tradizionali, e associa i suoi calcoli che risparmiano memoria a salvaguardie contro stime statistiche fuorvianti.

Originale · inglese

The study, a preprint posted on SSRN, compared Capybara with base R and with two specialist statistical packages, Fixest and Alpaca, using international trade models. Each test was repeated 100 times. In the largest benchmark, which contained 6,006 observations covering 1994 to 2006, Fixest needed approximately 6 megabytes and Alpaca 54 megabytes, so Capybara’s footprint was smaller than both. Speed is another matter: the study reports competitive performance, but the release gives no timings. The first Capybara paper, published in the journal PLOS ONE in September 2025, reported 1.6 seconds and 42 MB against 700 seconds and 12,261 MB for Base R, and noted that fixest may be faster in some cases.

Traduzione · italiano

Lo studio, un preprint pubblicato su SSRN, ha confrontato Capybara con base R e con due pacchetti statistici specializzati, Fixest e Alpaca, usando modelli di commercio internazionale. Ogni test è stato ripetuto 100 volte. Nel test più grande, che comprendeva 6.006 osservazioni relative agli anni dal 1994 al 2006, Fixest ha richiesto circa 6 MB e Alpaca 54 MB, quindi l'impronta di Capybara è risultata inferiore a entrambi. Sulla velocità il discorso è diverso: lo studio riporta prestazioni competitive, ma la pubblicazione non fornisce tempi di esecuzione. Il primo articolo su Capybara, pubblicato su PLOS ONE nel settembre 2025, riportava 1,6 secondi e 42 MB contro 700 secondi e 12.261 MB per base R, e segnalava che fixest potrebbe essere più veloce in alcuni casi.

Originale · inglese

The new version also flags cases where a model cannot yield valid finite estimates, which helps avoid distorted results. A second feature lets researchers look at patterns toward the lower and upper ends of trade flows, not only at the average. The memory figures, the study notes, apply to the one model tested, not to every possible use.

Traduzione · italiano

La nuova versione segnala anche i casi in cui un modello non può produrre stime valide e finite, il che aiuta a evitare risultati distorti. Una seconda funzione permette ai ricercatori di esaminare le tendenze verso le estremità inferiori e superiori dei flussi commerciali, e non soltanto la media. I dati sulla memoria, sottolinea lo studio, valgono per l'unico modello testato, non per tutti gli usi possibili.

Originale · inglese

For a researcher with a modest machine, the change is practical and immediate: a model that could not be completed can be run on a laptop, and the software is already free to download. The documentation and the code needed to reproduce the analysis are available with it, so other economists can inspect the methods and apply them to their own data. “Reducing that demand can make the difference between being able to answer an economic question and having to leave it unanswered,” Vargas Sepulveda said.

Traduzione · italiano

Per un ricercatore con una macchina modesta, il cambiamento è concreto e immediato: un modello che non poteva essere completato può essere eseguito su un laptop, e il software è già scaricabile gratuitamente. La documentazione e il codice necessari per riprodurre l'analisi sono disponibili insieme, così altri economisti possono esaminare i metodi e applicarli ai propri dati. «Ridurre questa domanda di risorse può fare la differenza tra poter rispondere a una domanda economica e doverla lasciare senza risposta», ha dichiarato Vargas Sepulveda.

Torna all’articolo