zcurve_clustered is used to fit z-curve models to
clustered data. The function requires a data object created with the
zcurve_data() function as the input (where id denotes clusters).
Two different methods that account for clustering ar implemented via
the EM model: "w" for down weighting the likelihood of the test
statistics proportionately to the number of repetitions in the clusters,
and "b" for a cluster bootstrap where clusters are resampled with
replacement (keeping all of their test statistics) to estimate the CI.
The CI for "w" is also obtained with a cluster bootstrap that
resamples clusters with replacement.
Note that "w" gives each cluster the same total weight, so it
estimates the ERR and EDR of a typical cluster rather than of a typical
test. When the number of significant results in a cluster depends on its
power (e.g., high-powered articles report more significant results),
"w" underestimates the test-level ERR and EDR.
zcurve_clustered(
data,
method = "b",
bootstrap = 1000,
parallel = FALSE,
control = NULL
)an object created with zcurve_data() function.
the method to be used for fitting. Possible options are
down weighting "w" and cluster bootstrap "b".
Defaults to "w".
the number of bootstraps for estimating CI. To skip
bootstrap specify FALSE.
whether the bootstrap should be performed in parallel.
Defaults to FALSE. The implementation is not completely stable
and might cause a connection error.
additional options for the fitting algorithm more details in control EM.
The fitted z-curve object
There are no references for Rd macro \insertAllCites on this help page.