powered by
Calculates the regression coefficients, the P-values and the standard P-values for the chosen subset ind.
fpval(y,x,ind,q,inr=T,xinr=F)
The dependent variable
The covariates
The subset of the covariates x for which the P-values are required
The total number of covariates from which ind was chosen
Logical If TRUE intercept to be included
If TRUE intercept already included, overrides inr
apv In order the subset ind, the regression coefficients, the P-values, the standard P-values.
res The residuals
# NOT RUN { data(boston) a<-fpval(boston[,14],boston[,1:13],c(1,2,4:6,8:13),13) # }
Run the code above in your browser using DataLab