findBestSims: findBestSims

Description Usage Arguments

Description

Locate the simulations where a particular estimator is performing the best

Usage

1
2
findBestSims(result, estName, compEst = TRUE, compEstNames, nSims = 100,
  pctTruth = TRUE, threshBest = 0.05, truthName = "truth", ...)

Arguments

result

The results data frame

estName

The estimator that you want to find good simulations for

compEst

Define best by comparing to other estimators or by being better than a certain threshold in absolute error.

compEstNames

The estimators that you want to compare the chosen estimator to in order to define good (e.g., all other estimators)

nSims

The maximum number of simulations to return

pctTruth

Base on bias as percent of truth or in units of information

threshBest

The threshold that defines a best simulation (in pct of truth or Z-score depend on value of pctTruth)


benkeser/haltmle.sim documentation built on May 12, 2019, noon