Learn R Programming

gausscov (version 0.1.1)

fgr1st: Calculates an independence graph using stepwise selection

Description

Calculates an independence graph using stepwise selection

Usage

fgr1st(x,p0=0.01,km=0,nu=1,nedge=10^6,inr=T,dr=F)

Arguments

x

The variables

p0

Cut-off p-value

km

Maximum number selected variables for each node irrespective of cut-off P-value

nu

Order statistic

nedge

Maximum number of edges

inr

Logical, if TRUE include an intercept

dr

Logical, if TRUE (a,b) and (b,a), a not equal b, are different edges

Value

ned Number of edges

edg The edges for each node in the graph

Examples

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

Run the code above in your browser using DataLab