err: Evaluate the deviation of the desired error constraints

Description Usage Arguments Details Value

Description

err approximates the deviation of a design implemented with lambda1 and lambda2 of the error constraints that were specified in parameters.

Usage

1
err(parameters, lambda1, lambda2)

Arguments

parameters

Parameters specifying your design

lambda1

Penalization parameter for type I error

lambda2

Penalization parameter for type II error

Details

This is a numerical approxmiation to allow a faster search for the correct lambda-values. find_lambda is based on this function.

Value

A two-dimensional vector which gives the deviation of type I resp. type II error.


MatheMax/OptReSample documentation built on May 5, 2019, 8:14 a.m.