optimalLambda: Derive the optimal lambda

Description Usage Arguments Details Value See Also

Description

Derives the optimal lambda for a given alpha.

Usage

1
optimalLambda(alpha, n, p, k = 1, var.known = TRUE)

Arguments

alpha

The desired confidence coefficient.

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.

Details

This will find the optimal lambda to be used for the shrinkage of confidence intervals.

Value

The function returns a scalar value.

See Also

optimalC


popKorn documentation built on May 2, 2019, 8:31 a.m.