Learn R Programming

CARS (version 0.2.2)

epsest.func: Estimation of the non-null proportion

Description

Estimates the proportion of non-nulls.

Usage

epsest.func(x, u, sigma)

Arguments

x

the corresponding vector to be estimated

u

the mean of the null distribution

sigma

the standard deviation of the null distribution

Value

a value indicating the estimated non-null proportion

Examples

Run this code
# NOT RUN {
X <- rep(c(0,2),c(800,200))+rnorm(1000);
epsest.func(X,0,1);

# }

Run the code above in your browser using DataLab