Simulates the number of false positives for given dimensions (n,k) and given order statistics nu
fsimords(n, k, p0 , nu, km, nsim = 500)
The dimension of dependent variable
The number of covariates
Cut-off p-value
The order statistics
Maximum number of selected covariates
Number of simulations
p Histogram of number of false positives.
mn Mean number of false positives.
ss Standard deviation of number of false positives
# NOT RUN { a<-fsimords(100,100,0.01,c(5,10),15,nsim=100) # }
Run the code above in your browser using DataLab