bootstrap {NeuralEstimators} | R Documentation |
Compute bootstrap estimates from a neural estimator
bootstrap(estimator, Z, B = 400, blocks = NULL, use_gpu = TRUE)
estimator |
a neural estimator |
Z |
either a list of data sets simulated conditionally on the fitted parameters (parametric bootstrap); or a single observed data set containing independent replicates, which will be sampled with replacement |
B |
number of non-parametric bootstrap estimates (default 400) |
blocks |
integer vector specifying the blocks in non-parameteric bootstrap (default |
use_gpu |
a boolean indicating whether to use the GPU if it is available (default |
p × B matrix, where p is the number of parameters in the model and B is the number of bootstrap samples