| model.selection {yest} | R Documentation |
Fits all 629 independence models and calculate BIC. Selects the maximizer.
model.selection(data,tol = 1e-06,nb.trials=10,search.table=TRUE)
data |
data to select the model |
tol |
precision constant |
nb.trials |
how many trials should be given of every model in terms of number of starting points? |
search.table |
whether a table with AIC/BIC values should be a part of output or not |
Both independence model and graphical model maximizing BIC are found.
i<-ind.identification(type=12)$model v<-ind.rgauss(model=i) data<-generate.data(v,10000) # it take 10 minus to do this! # model.selection(data)