fpval: Calculates the regression coefficients, the P-values and the...

View source: R/fpval.R

fpvalR Documentation

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=-1,inr=T,xinr=F)

Arguments

y

The dependent variable

x

The covariates

ind

The indices of the subset of the covariates whose P-values are required

q

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.

inr

Logical If TRUE intercept to be included

xinr

If TRUE intercept already included

Value

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

Examples

data(boston)
a<-fpval(boston[,14],boston[,1:13],c(1,2,4:6,8:13))

gausscov documentation built on Oct. 12, 2023, 1:06 a.m.

Related to fpval in gausscov...