powered by
Calculates the regression coefficients, the P-values and the standard P-values for the chosen subset ind.
fpval(y,x,ind,inr=T,xinr=F,qq=-1)
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
Logical If TRUE intercept to be included
If TRUE intercept already included
The total number of covariates from which ind was chosen. If qq=-1 the number of covariates of x minus length ind plus 1 is taken.
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