powered by
Calculates an independence graph using Gaussian stepwise selection
fgr1st(x,p0=0.01,ind=0,kmn=0,kmx=0,mx=21,nedge=10^5,inr=T,xinr=F,qq=-1)
ned Number of edges
edg List of edges together with P-values for each edge and proportional reduction of sum of squared residuals.
The matrix of covariates
Cut-off P-value
Restricts the dependent nodes to this subset
The minimum number selected variables for each node irrespective of cut-off P-value
The maximum number selected variables for each node irrespective of cut-off P-value
Maximum number of selected covariates for each node for all subset search
Maximum number of edges
Logical, if TRUE include an intercept
Logical, if TRUE intercept already included
The number of covariates to choose from. If qq=-1 the number of covariates of x is used
data(boston) a<-fgr1st(boston[,1:13],ind=3:6)
Run the code above in your browser using DataLab