powered by
Simulates Gaussian P-values
simgpval(y,x,i,nsim,qq=-1,plt=TRUE)
pvg P-value of x_i and relative frequency
Dependent variable
Covariates
The chosen covariate
The number of simulations
The total number of covariates available
Logical, if TRUE the F P-values of the Gaussian covariates are ordered and plotted
data(snspt) snspt<-matrix(snspt,nrow=3253,ncol=1) a<-flag(snspt,3253,1,12) simgpval(a[[1]],a[[2]],7,10,plt=FALSE)
Run the code above in your browser using DataLab