powered by
Calculates the regression coefficients, the P-values and the standard P-values for the chosen subset ind.
fpval(y,x,ind,q=-1,nu=1,inr=T,xinr=F)
apv In order the subset ind, the regression coefficients, the Gaussian P-values, the standard P-values and the proportion of sum of squares explained.
res The residuals
The dependent variable
The covariates
The indices of the subset of the covariates whose P-values are required
The total number of covariates from which ind was chosen. If q=-1 the number of covariates of x minus length ind plus 1 is taken.
The order statistic used to compute the P-values
Logical If TRUE intercept to be included
If TRUE intercept already included
data(boston) a<-fpval(boston[,14],boston[,1:13],c(1,2,4:6,8:13))
Run the code above in your browser using DataLab