
ScanBMA(x, y, prior.prob = NULL, control = ScanBMAcontrol(), verbose = FALSE)
NULL
, which implies that no prior information will be used.
ScanBMAcontrol
is provided to faciltate this
setting, and the default is ScanBMAcontrol()
.
FALSE
.
bicreg
(see the BMA
package). In addition, it adds nmodelschecked
, which gives the
number of models looked at in the ScanBMA model search, and g
,
which gives the final value of g used if Zellner's g-prior was used to
evaluate model likelihood.
networkBMA
,
ScanBMAcontrol
,
gControl
data(dream4)
# there are a total of 5 datasets (networks) in the dream4ts10 data
network <- 1
scanBMA.res <- ScanBMA( x = dream4ts10[[network]][,-(1:2)],
y = dream4ts10[[network]][,3],
prior.prob = 0.01)
summary(scanBMA.res)
Run the code above in your browser using DataLab