Description Usage Arguments Value Author(s) References Examples
Calculates -2*log-likelihood, AIC, and BIC for a triangulated graph (decomposable model).
1 |
model |
|
edges |
matrix with 2 columns, each row representing one edge, and each column one of the vertices in the edge. |
dataset |
matrix or data frame ( |
homog |
only used in the mixed model case. |
Vector with: model dimension (no of free parameters), -2*log-likelihood, AIC, and BIC. Note that all parameters are assumed to be estimable in the dimension calculation.
Gabriel Coelho Goncalves de Abreu (abreu_ga@yahoo.com.br)
Lauritzen, S.L. (1996) Graphical Models, Oxford University Press.
1 2 3 |
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Attaching package: 'gRapHD'
The following object is masked from 'package:graph':
DFS
Number of parameters -2*Log-likelihood AIC
101.00 23924.77 24126.77
BIC
24445.83
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.