powered by
Interpolates using nufp or simulates the number of false positives for given dimensions (n,k) and given order statistics nu
fnfp(n,k,p0,nu,nufp,gr=F,nsim=0,kmx=0,idum=1)
enfp Estimated number of false positives.
mnfp Mean number of false positives when simulating.
hist Histogram of number of false positives when simulating
The dimension of dependent variable
The number of covariates
Cut-off P-value
The order statistic
Logical, if TRUE then p0<-p0/k as is the default for graphs
Requires a data set nufp.rda of previous simulations
Number of simulations
Maximum number of selected covariates, must be larger than nu, for example nu+10
Seed for the random number generator
a<-fnfp(100,24,0.01,1:5,nufp,nsim=1000,kmx=10)
Run the code above in your browser using DataLab