simgpval {gausscov} | R Documentation |
Simulates Gaussian P-values
Description
Simulates Gaussian P-values
Usage
simgpval(y,x,i,nsim,qq=-1,plt=TRUE)
Arguments
y |
Dependent variable |
x |
Covariates |
i |
The chosen covariate |
nsim |
The number of simulations |
qq |
The total number of covariates available |
plt |
Logical, if TRUE the F P-values of the Gaussian covariates are ordered and plotted |
Value
pvg P-value of x_i and relative frequency
Examples
data(snspt)
snspt<-matrix(snspt,nrow=3253,ncol=1)
a<-flag(snspt,3253,1,12)
simgpval(a[[1]],a[[2]],7,10,plt=FALSE)
[Package gausscov version 1.1.3 Index]