objfc.norm2.custom: create an objective function which returns custom output from...

Description Usage Arguments Examples

Description

create an objective function which returns custom output from a bivariate normal density

Usage

1
objfc.norm2.custom(mu = c(0, 0), sigma = diag(2), ns = 50)

Arguments

norm_mean

2d vector with the true mean

sample_size

number of random draws to compute distance

Examples

1
2
myfunc <- objfc.norm2(c(0,0))
myfunc(list(m1=0,m2=0))

tlamadon/mopt documentation built on May 31, 2019, 3:48 p.m.