objfc.norm2: create an objective function which computes the distance...

Description Usage Arguments Examples

Description

create an objective function which computes the distance between simulated means and true means

Usage

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

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.