walk.bwd {ess} | R Documentation |
Stepwise backward selection
Description
Stepwise backward selection in decomposable graphical models
Usage
## S3 method for class 'bwd'
walk(x, df, q = 0.5, thres = 5)
Arguments
x |
|
df |
data.frame |
q |
Penalty term in the stopping criterion ( |
thres |
A threshold mechanism for choosing between two different ways of calculating the entropy. Can Speed up the procedure with the "correct" value. |
Details
A bwd
object can be created using the gengraph
constructor with type = "bwd"
Value
A bwd
object; a subclass of gengraph
) used for backward selection.
See Also
Examples
d <- derma[, 10:25]
g <- gengraph(d, type = "bwd")
s <- walk(g, d)
print(s)
plot(s)
adj_lst(s)
adj_mat(s)
[Package ess version 1.1.2 Index]