Learn R Programming

gausscov (version 0.1.3)

fgrall: Calculates a dependence graph using Gaussian all subset selection

Description

Calculates an independence graph using Gaussian stepwise selection

Usage

fgrall(x,p0=0.01,kmx=0,mx=21,inr=T,xinr=F)

Arguments

x

The matrix of covariates

p0

Cut-off P-value

kmx

Maximum number included covariates for each node irrespective of cut-off P-value

mx

The maximum number of covariates.

inr

Logical, if TRUE include an intercept

xinr

Logical, if TRUE intercept already included

Value

ned Number of edges

edg List of edges with Gaussian P-value and percentage of sum of squared residuals explained by edge

Examples

Run this code
# NOT RUN {
data(boston)
a<-fgrall(redwine[,1:8])
# }

Run the code above in your browser using DataLab