gausscov (version 0.0.4)

fpval: Calculates the regression coefficients, the P-values and the standard P-values for the chosen subset ind

Description

Calculates the regression coefficients, the P-values and the standard P-values for the chosen subset ind.

Usage

fpval(y,x,ind,q,xinr=F)

Arguments

y

The dependent variable

x

The covariates

ind

The subset of the covariates x for which the P-values are required

q

The total number of covariates from which ind was chosen

xinr

If TRUE intercept included

Value

apv In order the subset ind, the regression coefficients, the P-values, the standard P-values.

res The residuals

Examples

Run this code
# 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 DataCamp Workspace