calculateCostHist {refineR}R Documentation

Calculate costs for a specific combinations of lambda, muVec and sigmaVec.

Description

Calculate costs for a specific combinations of lambda, muVec and sigmaVec.

Usage

calculateCostHist(
  lambda,
  muVec,
  sigmaVec,
  HistData,
  alpha = 0.01,
  alphaMcb = 0.1,
  pNormLookup
)

Arguments

lambda

(numeric) transformation parameter for inverse Box-Cox transformation

muVec

(numeric) vector of mean values of non-pathological Gaussian distribution in transformed space

sigmaVec

(numeric) vector of sd values of non-pathological Gaussian distribution in transformed space

HistData

(list) with histogram data generated by function generateHistData

alpha

(numeric) specifying the confidence region used for selection of histgram bins in cost calculation

alphaMcb

(numeric) specifying the confidence level defining the maximal allowed counts below asymmetric confidence region

pNormLookup

(list) with lookup table for pnormApprox function pnormApprox

Value

(numeric) vector with (lambda, mu, sigma, P, cost).

Author(s)

Tatjana Ammer tatjana.ammer@roche.com


[Package refineR version 1.6.1 Index]