bias: bias

Description Usage Arguments Value

View source: R/utils.R

Description

bias computes the integrated bias (in definition.

Usage

1
bias(simmat, truth)

Arguments

simmat

a n x nsim matrix, where n is the number of epsilon points used in evaluation and nsim is the number of simulations. If it is a nsim-dim vector, the length is interpreted as the number of simulations of a scalar quantity.

truth

a n x 1 vector containing the true values for the curve. If simmat is a vector, truth must be scalar.

Value

scalar equal to bias (in


matteobonvini/sensitivitypuc documentation built on Dec. 9, 2020, 2:24 a.m.