fpval | R Documentation |
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)
y |
The dependent variable |
x |
The covariates |
ind |
The indices of the subset of the covariates whose P-values are required |
inr |
Logical If TRUE intercept to be included |
xinr |
If TRUE intercept already included |
qq |
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. |
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
data(boston)
a<-fpval(boston[,14],boston[,1:13],c(1,2,4:6,8:13))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.