Package: ceg 0.1.0

ceg: Chain Event Graph

Create and learn Chain Event Graph (CEG) models using a Bayesian framework. It provides us with a Hierarchical Agglomerative algorithm to search the CEG model space. The package also includes several facilities for visualisations of the objects associated with a CEG. The CEG class can represent a range of relational data types, and supports arbitrary vertex, edge and graph attributes. A Chain Event Graph is a tree-based graphical model that provides a powerful graphical interface through which domain experts can easily translate a process into sequences of observed events using plain language. CEGs have been a useful class of graphical model especially to capture context-specific conditional independences. References: Collazo R, Gorgen C, Smith J. Chain Event Graph. CRC Press, ISBN 9781498729604, 2018 (forthcoming); and Barday LM, Collazo RA, Smith JQ, Thwaites PA, Nicholson AE. The Dynamic Chain Event Graph. Electronic Journal of Statistics, 9 (2) 2130-2169 <doi:10.1214/15-EJS1068>.

Authors:Rodrigo Collazo [aut], Pier Taranti [aut, cre]

ceg_0.1.0.tar.gz
ceg_0.1.0.zip(r-4.5)ceg_0.1.0.zip(r-4.4)ceg_0.1.0.zip(r-4.3)
ceg_0.1.0.tgz(r-4.4-any)ceg_0.1.0.tgz(r-4.3-any)
ceg_0.1.0.tar.gz(r-4.5-noble)ceg_0.1.0.tar.gz(r-4.4-noble)
ceg_0.1.0.tgz(r-4.4-emscripten)ceg_0.1.0.tgz(r-4.3-emscripten)
ceg.pdf |ceg.html
ceg/json (API)

# Install 'ceg' in R:
install.packages('ceg', repos = c('https://ptaranti.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ptaranti/ceg/issues

Datasets:
  • artificial.chds - Test dataset - artificial.chds.
  • scm - Test stratified ceg model
  • set - Test stratified event tree
  • set.manual - Test stratified event tree
  • sst - Test stratified staged tree

On CRAN:

7 exports 2 stars 0.83 score 3 dependencies 1 scripts 174 downloads

Last updated 6 years agofrom:026c1a1141. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-winOKAug 28 2024
R-4.5-linuxOKAug 28 2024
R-4.4-winOKAug 28 2024
R-4.4-macOKAug 28 2024
R-4.3-winOKAug 28 2024
R-4.3-macOKAug 28 2024

Exports:CategoryCheckAndCleanDataplotStratified.ceg.modelStratified.event.treeStratified.staged.treeVariable

Dependencies:BiocGenericsgraphRgraphviz

Readme and manuals

Help Manual

Help pageTopics
Chain Event Graph (ceg)ceg-package ceg
AlphaEdgeInternalAlphaEdgeInternal
test dataset - artificial.chds.artificial.chds
Category(label)Category
Category S4 ClassCategory-class
Ceg.model S4 classCeg.model-class
CegGraphSimpleCegGraphSimple
CheckAndCleanDataCheckAndCleanData
ContingencyTableContingencyTable
ContingencyTableVariableContingencyTableVariable
Dinamic.programming S4 ClassDinamic.programming-class
Dirchlet.distributionDirchlet.distribution-class
Dirchlet.MPNL.distributionDirchlet.MPNL.distribution-class
Distribution.of.probability S4 ClassDistribution.of.probability-class
EdgeLabelEdgeLabel
EdgeListEdgeList
EdgeSituationEdgeSituation
Event.tree S4 objectEvent.tree-class
Exhaustive.model.search.algorithm S4 ClassExhaustive.model.search.algorithm-class
Heuristic.model.search.algorithmHeuristic.model.search.algorithm-class
KeepLexOrderKeepLexOrder
LabelStageLabelStage
ListToVectorListToVector
MergeLabelsMergeLabels
Model.search.algorithmModel.search.algorithm-class
Multinomial.distributionMultinomial.distribution-class
NodeColorNodeColor
NodeLabelNodeLabel
NodeSetNodeSet
OAHC ConstructorOAHC
OAHC S4 ClassOAHC-class
PairwisePositionPairwisePosition
Stratified.ceg.model Plottingplot,Stratified.ceg.model,ANY-method
Stratified.event.tree Plottingplot,Stratified.event.tree,ANY-method
Stratified.staged.tree Plottingplot,Stratified.staged.tree,ANY-method
PositionLevelPositionLevel
PositionStagePositionStage
'PositionVector' function rewrites a position structure associated with a particular variable: from a list to a vector.PositionVector
Posterior.distributionPosterior.distribution-class
Prior.distributionPrior.distribution-class
PriorDistributionPriorDistribution
PriorVariablePriorVariable
test stratified ceg modelscm
test stratified event treeset
test stratified event tree (manualy constructed)set.manual
test stratified staged treesst
Staged.treeStaged.tree-class
Stratified.ceg.model constructor.Stratified.ceg.model
Stratified.ceg.modelStratified.ceg.model-class
Stratified.event.treeStratified.event.tree Stratified.event.tree,ANY-method Stratified.event.tree,data.frame-method Stratified.event.tree,list-method Stratified.event.tree,missing-method
Stratified.event.tree S4 ClassStratified.event.tree-class
Stratified.staged.treeStratified.staged.tree Stratified.staged.tree,ANY,ANY,ANY-method Stratified.staged.tree,data.frame,missing,missing-method Stratified.staged.tree,data.frame,numeric,missing-method Stratified.staged.tree,data.frame,numeric,numeric-method Stratified.staged.tree,missing,ANY,ANY-method Stratified.staged.tree,Stratified.event.tree,list,ANY-method
Stratified.staged.treeStratified.staged.tree-class
StratifiedCegPositionStratifiedCegPosition
StratifiedEventTreeGraphStratifiedEventTreeGraph
TreeGraphTreeGraph
TruncatedPathTruncatedPath
Variable(name,categories)Variable
Variable S4 ClassVariable-class