diff --git a/README.Rmd b/README.Rmd index d112205..598c731 100644 --- a/README.Rmd +++ b/README.Rmd @@ -124,7 +124,7 @@ Median time for the different models in the book |:------------|-------:|---------------:|-----------:|-----------------:|--------------------------:|-------------:| |Alpaca | 213.4ms| 2.3s| 1.35s| 1.86s| 2.59s| 4.96s| |Base R | 1.5m | 1.53m| 23.43m| 23.52m| 23.16m| 24.85m| -|**Capybara** | 323ms | 3.24s| 1.47s| 1.84s| 2.44s| 4.56s| +|**Capybara** | 337ms | 3.19s| 1.37s| 1.74s| 2.66s| 4.65s| |Fixest | 67.4ms| 477.08ms| 95.88ms| 136.21ms| 206.12ms| 415.31ms| Memory allocation for the same models @@ -133,7 +133,7 @@ Memory allocation for the same models |:------------|--------:|---------------:|-----------:|-----------------:|--------------------------:|-------------:| |Alpaca | 304.8MB | 339.8MB| 306.3MB| 335.61MB| 393.86MB| 539.49MB| |Base R | 2.73GB| 2.6GB| 11.9GB| 11.94GB| 11.95GB| 11.97GB| -|**Capybara** | 204MB | 231MB| 237MB| 244MB| 258MB| 293MB| +|**Capybara** | 210MB | 235MB| 241MB| 249MB| 263MB| 299MB| |Fixest | 44.59MB| 36.59MB| 28.1MB| 32.43MB| 41.12MB| 62.87MB| # Debugging diff --git a/README.md b/README.md index 1778c4f..02d9bfd 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Analysis](https://www.wto.org/english/res_e/publications_e/advancedguide2016_e.h | :----------- | ------: | --------------: | ----------: | ----------------: | -------------------------: | ------------: | | Alpaca | 213.4ms | 2.3s | 1.35s | 1.86s | 2.59s | 4.96s | | Base R | 1.5m | 1.53m | 23.43m | 23.52m | 23.16m | 24.85m | -| **Capybara** | 323ms | 3.24s | 1.47s | 1.84s | 2.44s | 4.56s | +| **Capybara** | 337ms | 3.19s | 1.37s | 1.74s | 2.66s | 4.65s | | Fixest | 67.4ms | 477.08ms | 95.88ms | 136.21ms | 206.12ms | 415.31ms | Memory allocation for the same models @@ -127,7 +127,7 @@ Memory allocation for the same models | :----------- | ------: | --------------: | ----------: | ----------------: | -------------------------: | ------------: | | Alpaca | 304.8MB | 339.8MB | 306.3MB | 335.61MB | 393.86MB | 539.49MB | | Base R | 2.73GB | 2.6GB | 11.9GB | 11.94GB | 11.95GB | 11.97GB | -| **Capybara** | 204MB | 231MB | 237MB | 244MB | 258MB | 293MB | +| **Capybara** | 210MB | 235MB | 241MB | 249MB | 263MB | 299MB | | Fixest | 44.59MB | 36.59MB | 28.1MB | 32.43MB | 41.12MB | 62.87MB | # Debugging diff --git a/dev/bench_endogeneity.rds b/dev/bench_endogeneity.rds new file mode 100644 index 0000000..85084c2 Binary files /dev/null and b/dev/bench_endogeneity.rds differ diff --git a/dev/bench_globalization.rds b/dev/bench_globalization.rds new file mode 100644 index 0000000..5d640cc Binary files /dev/null and b/dev/bench_globalization.rds differ diff --git a/dev/bench_phasing.rds b/dev/bench_phasing.rds new file mode 100644 index 0000000..2e1381a Binary files /dev/null and b/dev/bench_phasing.rds differ diff --git a/dev/bench_ppml.rds b/dev/bench_ppml.rds new file mode 100644 index 0000000..9f792e1 Binary files /dev/null and b/dev/bench_ppml.rds differ diff --git a/dev/bench_reverse_causality.rds b/dev/bench_reverse_causality.rds new file mode 100644 index 0000000..b29297e Binary files /dev/null and b/dev/bench_reverse_causality.rds differ diff --git a/dev/bench_trade_diversion.rds b/dev/bench_trade_diversion.rds new file mode 100644 index 0000000..4d0a650 Binary files /dev/null and b/dev/bench_trade_diversion.rds differ diff --git a/docs/index.html b/docs/index.html index d22ec93..5980396 100644 --- a/docs/index.html +++ b/docs/index.html @@ -178,12 +178,12 @@

Benchmarks Capybara -323ms -3.24s -1.47s -1.84s -2.44s -4.56s +337ms +3.19s +1.37s +1.74s +2.66s +4.65s Fixest @@ -237,12 +237,12 @@

Benchmarks Capybara -204MB -231MB -237MB -244MB -258MB -293MB +210MB +235MB +241MB +249MB +263MB +299MB Fixest diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 8b56977..1816b77 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -3,5 +3,5 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: intro: intro.html -last_built: 2024-03-17T19:40Z +last_built: 2024-03-17T19:47Z diff --git a/docs/reference/apes.html b/docs/reference/apes.html index 5ac0f0a..11a9e61 100644 --- a/docs/reference/apes.html +++ b/docs/reference/apes.html @@ -186,7 +186,7 @@

Examples

mod_bc <-
bias_corr(mod) summary(mod_bc) #> Formula: trade ~ lang | year -#> <environment: 0x63f078fddc90> +#> <environment: 0x59a470a1d000> #> #> Family: Binomial #> diff --git a/docs/reference/bias_corr.html b/docs/reference/bias_corr.html index bdd3349..bc1d8e7 100644 --- a/docs/reference/bias_corr.html +++ b/docs/reference/bias_corr.html @@ -146,7 +146,7 @@

Examples

mod_bc <- bias_corr(mod) summary(mod_bc) #> Formula: trade ~ lang | year -#> <environment: 0x63f078664628> +#> <environment: 0x59a4700a1fb0> #> #> Family: Binomial #> diff --git a/docs/reference/feglm.html b/docs/reference/feglm.html index 376fe4e..86b2cb8 100644 --- a/docs/reference/feglm.html +++ b/docs/reference/feglm.html @@ -162,7 +162,7 @@

Examples

summary(mod) #> Formula: trade ~ log_dist + lang + cntg + clny | exp_year + imp_year -#> <environment: 0x63f07918a278> +#> <environment: 0x59a470bc7758> #> #> Family: Poisson #> diff --git a/docs/reference/felm.html b/docs/reference/felm.html index 0204cbf..363ba35 100644 --- a/docs/reference/felm.html +++ b/docs/reference/felm.html @@ -116,7 +116,7 @@

Examples

summary(mod) #> Formula: log(trade) ~ log_dist + lang + cntg + clny | exp_year + imp_year -#> <environment: 0x63f07976cd18> +#> <environment: 0x59a4711a9c38> #> #> Estimates: #> diff --git a/docs/reference/fenegbin.html b/docs/reference/fenegbin.html index 6a7b5a6..b676a2b 100644 --- a/docs/reference/fenegbin.html +++ b/docs/reference/fenegbin.html @@ -135,7 +135,7 @@

Examples

summary(mod) #> Formula: trade ~ log_dist + lang + cntg + clny | exp_year + imp_year -#> <environment: 0x63f079f67dd0> +#> <environment: 0x59a4719f1968> #> #> Family: Negative Binomial(1.1839) #> diff --git a/docs/reference/fepoisson.html b/docs/reference/fepoisson.html index ee00790..ac7bc4f 100644 --- a/docs/reference/fepoisson.html +++ b/docs/reference/fepoisson.html @@ -122,7 +122,7 @@

Examples

summary(mod) #> Formula: trade ~ log_dist + lang + cntg + clny | exp_year + imp_year -#> <environment: 0x63f079327d80> +#> <environment: 0x59a46fc7f578> #> #> Family: Poisson #>