testParam {refineR} | R Documentation |
Helper function to find optimal parameters lambda, mu and sigma.
Description
Helper function to find optimal parameters lambda, mu and sigma.
Usage
testParam(
lambdaVec,
bestParam,
Data,
HistData,
startValues,
NIter,
alpha = 0.01,
alphaMcb = 0.1
)
Arguments
lambdaVec |
(numeric) transformation parameter for inverse Box-Cox transformation |
bestParam |
(numeric) vector containing best guess for lambda, mu, sigma, P, cost |
Data |
(numeric) values specifying percentiles or data points comprising pathological and non-pathological values |
HistData |
(list) with histogram data |
startValues |
(list) with start search regions for mu and sigma |
NIter |
(integer) specifying the number of iterations for optimized grid-search |
alpha |
(numeric) specifying the confidence region used for selection of histogram bins in cost calculation |
alphaMcb |
(numeric) specifying the confidence level defining the maximal allowed counts below the asymmetric confidence region |
Value
(numeric) vector with best parameters for lambda, mu, sigma, P, cost.
Author(s)
Tatjana Ammer tatjana.ammer@roche.com