Description Usage Arguments Details Value See Also
Derives the optimal c value for a given lambda.
1 2 |
lambda |
The value of lambda under consideration. This must be a vector with values between 0 and 1. |
alpha |
The desired confidence coefficient. |
min.loc |
The location of the minimum, either at 'zero' or 'infty'. |
n |
The number of replications per population. |
p |
The number of populations considered. This must be present if min.loc is equal to 'zero'. |
k |
The number of populations selected. |
var.known |
A logical flag indicating if the variance of the observations is known exactly. It is TRUE by default. |
This function will choose the correct equation to use for and use 'uniroot' to find the c-value that corresponds to the desired alpha-level.
The function returns a vector of length equal to that of lambda.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.