findWorstSims: findWorstSims

Description Usage Arguments

Description

Locate the simulations where a particular estimator is performing the worst

Usage

1
2
findWorstSims(result, estName, compEstNames, nSims = 1000, pctTruth = TRUE,
  compEst = TRUE, threshWorst = 4, truthName = "truth", ...)

Arguments

result

The results data frame

estName

The estimator that you want to find bad simulations for

compEstNames

The estimators that you want to compare the chosen estimator to in order to define bad (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

compEst

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

threshWorst

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