The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The progressify package allows you to easily add progress
reporting to sequential and parallel map-reduce code by piping to the
progressify() function. Easy!
library(progressify)
handlers(global = TRUE)
library(sandwich)
fit <- lm(dist ~ speed, data = cars)
v <- vcovBS(fit, R = 100L) |> progressify()
This vignette demonstrates how to use this approach to add progress
reporting to sandwich functions such as vcovBS() and vcovJK().
The sandwich package provides model-robust standard error estimators for cross-section, time series, and longitudinal data. Some of these estimators, specifically the bootstrap and jackknife estimators, are computationally intensive and can benefit from progress reporting.
For example, vcovBS() computes bootstrapped covariance matrix
estimators.
library(sandwich)
fit <- lm(dist ~ speed, data = cars)
v <- vcovBS(fit, R = 100L)
Here vcovBS() provides no feedback on how far it has progressed,
but we can easily add progress reporting by using:
library(sandwich)
library(progressify)
handlers(global = TRUE)
fit <- lm(dist ~ speed, data = cars)
v <- vcovBS(fit, R = 100L) |> progressify()
Similarly, the jackknife estimator vcovJK() can be progressified:
library(sandwich)
library(progressify)
handlers(global = TRUE)
fit <- lm(dist ~ speed, data = cars)
v <- vcovJK(fit) |> progressify()
The progressify() function supports the following sandwich
functions:
vcovBS()vcovJK()These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.