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.

dsFedAteClient

Client-side ‘DataSHIELD’ package for federated estimation of the average treatment effect (ATE) across multiple independent studies, each held on a separate data server. dsFedAteClient runs on the analyst’s machine; the companion server-side package dsFedAte must be installed on each data server.

Installation

install.packages("dsFedAteClient")

Example

library(dsFedAteClient)

conns <- DSI::datashield.login(logins = logindata, assign = TRUE,
                               symbol = "base")

result <- ds.EstimateAte(
  datasources     = conns,
  base_name       = "base",
  outcome_name    = "Y",
  treatment_name  = "W",
  covariate_names = c("X1", "X2", "X3"),
  heterogeneous   = TRUE
)

result$ate
result$ci_lower; result$ci_upper

A full worked example — including arm-specific variance and study-effects adjustment, run locally with DSLite — is provided in the vignette:

vignette("federated_rct", package = "dsFedAteClient")

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.