HydeNet: Hybrid Bayesian Networks Using R and JAGS

Facilities for easy implementation of hybrid Bayesian networks using R. Bayesian networks are directed acyclic graphs representing joint probability distributions, where each node represents a random variable and each edge represents conditionality. The full joint distribution is therefore factorized as a product of conditional densities, where each node is assumed to be independent of its non-descendents given information on its parent nodes. Since exact, closed-form algorithms are computationally burdensome for inference within hybrid networks that contain a combination of continuous and discrete nodes, particle-based approximation techniques like Markov Chain Monte Carlo are popular. We provide a user-friendly interface to constructing these networks and running inference using the 'rjags' package. Econometric analyses (maximum expected utility under competing policies, value of information) involving decision and utility nodes are also supported.

AuthorJarrod E. Dalton <daltonj@ccf.org> and Benjamin Nutter <benjamin.nutter@gmail.com>
Date of publication2017-01-13 15:26:14
MaintainerBenjamin Nutter <benjamin.nutter@gmail.com>
LicenseMIT + file LICENSE
Version0.10.5
https://github.com/nutterb/HydeNet,

View on CRAN

Man pages

bindPosterior: Bind Posterior Distributions

BJDealer: Blackjack Dealer Outcome Probabilities

BlackJack: Black Jack Hybrid Decision Network

BlackJackTrain: Black Jack Network Training Dataset

chain: Chain together multiple operations.

compileDecisionModel: Compile JAGS Models to Evaluate the Effect of Decisions in a...

compileJagsModel: Compile Jags Model from a Hyde Network

cpt: Compute a conditional probability table for a factor given...

expectedVariables: List Expected Parameter Names and Expected Variables Names

factorFormula: Convert Factor Levels in Formula to Numeric Values

factorRegex: Produce Regular Expressions for Extracting Factor Names and...

HydeNetSummaries: HydeNet Summary Objects

HydeNetwork: Define a Probablistic Graphical Network

Hyde-package: Hydbrid Decision Networks

HydePosterior: Posterior Distributions of a Decision Network

HydeUtilities: Hyde Network Utility Functions

inputCPTExample: Example Conditional Probability Table Resulting from the...

jagsDists: JAGS Probability Distributions.

jagsFunctions: JAGS Functions Compatible with R.

mergeDefaultPlotOpts: rdname plot.HydeNetwork

modelToNode: Convert a Model Object to a Network Node

PE: Pulmonary Embolism Dataset

plot.HydeNetwork: Plotting Utilities Probabilistic Graphical Network

policyMatrix: Construct Policy and Decision Matrices

print.cpt: Print Method for CPT objects

print.HydeNetwork: Print a HydeNetwork

print.HydePosterior: Print a Hyde Posterior Distribution Object

Resolution.cpt: Conditional Probability Table for resolution of side effects...

rewriteHydeFormula: Rewrite HydeNetwork Graph Model Formula

SE.cpt: Conditional Probability Table for side effects as a function...

setDecisionNodes: Classify Multiple Nodes as Decision or Utility Nodes

setNode: Set Node Relationships

setNodeModels: Set Node Properties Using Model Objects

setPolicyValues: Assign Default Policy Values

TranslateFormula: Translate R Formula to JAGS

update.HydeNetwork: Update Probabilistic Graphical Network

vectorProbs: Convert a vector to JAGS Probabilities

writeJagsFormula: Write the JAGS Formula for a Hyde Node

writeJagsModel: Write a Node's JAGS Model

writeNetworkModel: Generate JAGS Code for a Network's Model

Files in this package

HydeNet
HydeNet/inst
HydeNet/inst/img
HydeNet/inst/img/HydeNet.png
HydeNet/inst/doc
HydeNet/inst/doc/WorkingWithHydeNetObjects.html
HydeNet/inst/doc/DecisionNetworks.html
HydeNet/inst/doc/WorkingWithHydeNetObjects.Rmd
HydeNet/inst/doc/GettingStartedWithHydeNet.Rmd
HydeNet/inst/doc/GettingStartedWithHydeNet.html
HydeNet/inst/doc/DecisionNetworks.R
HydeNet/inst/doc/WorkingWithHydeNetObjects.R
HydeNet/inst/doc/HydeNetPlots.Rmd
HydeNet/inst/doc/GettingStartedWithHydeNet.R
HydeNet/inst/doc/HydeNetPlots.html
HydeNet/inst/doc/HydeNetPlots.R
HydeNet/inst/doc/DecisionNetworks.Rmd
HydeNet/tests
HydeNet/tests/testthat.R
HydeNet/tests/testthat
HydeNet/tests/testthat/test-modelToNode.R
HydeNet/tests/testthat/test-setNodeModels.R
HydeNet/tests/testthat/test-print.HydePosterior.R
HydeNet/tests/testthat/test-compileJagsModel.R
HydeNet/tests/testthat/test-policyMatrix.R
HydeNet/tests/testthat/test-bindPosterior.R
HydeNet/tests/testthat/test-plot.HydeNetwork.R
HydeNet/tests/testthat/test-writeJagsModel.R
HydeNet/tests/testthat/test-print.HydeNetwork.R
HydeNet/tests/testthat/test_compileDecisionModel.R
HydeNet/tests/testthat/test-HydeUtilities.R
HydeNet/tests/testthat/test-HydePosterior.R
HydeNet/tests/testthat/test-HydeNetwork.R
HydeNet/tests/testthat/test-setUtilityNodes.R
HydeNet/tests/testthat/test-expectedVariables.R
HydeNet/tests/testthat/test-update.HydeNetwork.R
HydeNet/tests/testthat/test-setNode.R
HydeNet/tests/testthat/test-writeNetworkModel.R
HydeNet/tests/testthat/test-rToJags.R
HydeNet/tests/testthat/test-cpt.R
HydeNet/tests/testthat/test-factorFormula.R
HydeNet/tests/testthat/test-writeJagsFormula.R
HydeNet/NAMESPACE
HydeNet/NEWS
HydeNet/data
HydeNet/data/PE.RData
HydeNet/data/BJDealer.RData
HydeNet/data/BlackJack.RData
HydeNet/data/jagsDists.RData
HydeNet/data/jagsFunctions.RData
HydeNet/data/BlackJackTrain.RData
HydeNet/data/inputCPTExample.RData
HydeNet/data/SE.cpt.RData
HydeNet/data/Resolution.cpt.RData
HydeNet/R
HydeNet/R/print.HydeNetwork.R HydeNet/R/factorFormula.R HydeNet/R/plot.HydeNetwork.R HydeNet/R/HydeUtilities.R HydeNet/R/writeJagsModel.R HydeNet/R/setNodeModels.R HydeNet/R/expectedVariables.R HydeNet/R/setPolicyValues.R HydeNet/R/rewriteHydeFormula.R HydeNet/R/PolicyMatrix.R
HydeNet/R/sysdata.rda
HydeNet/R/setDecisionNodes.R HydeNet/R/summary.HydeNetwork.R HydeNet/R/print.HydePosterior.R HydeNet/R/cpt.R HydeNet/R/data.R HydeNet/R/inputCPT.R HydeNet/R/modelToNode.R HydeNet/R/bindPosterior.R HydeNet/R/rToJags.R HydeNet/R/factorRegex.R HydeNet/R/setNode.R HydeNet/R/writeNetworkModel.R HydeNet/R/Hyde-package.R HydeNet/R/chain.R HydeNet/R/vectorProbs.R HydeNet/R/plot_nondeterm_only.R HydeNet/R/update.HydeNetwork.R HydeNet/R/writeJagsFormula.R HydeNet/R/HydePosterior.R HydeNet/R/HydeNetwork.R HydeNet/R/zzz.R HydeNet/R/compileJagsModel.R HydeNet/R/print.cpt.R HydeNet/R/compileDecisionModel.R
HydeNet/vignettes
HydeNet/vignettes/vignette_images
HydeNet/vignettes/vignette_images/HydeNetPlots7.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots9.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots5.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots8.jpeg
HydeNet/vignettes/vignette_images/WorkingWithHydeNetObjects2.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots1.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots3.jpeg
HydeNet/vignettes/vignette_images/DecisionNetworks2.jpeg
HydeNet/vignettes/vignette_images/GettingStarted1.jpeg
HydeNet/vignettes/vignette_images/DecisionNetworks1.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots6.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots2.jpeg
HydeNet/vignettes/vignette_images/WorkingWithHydeNetObjects3.jpeg
HydeNet/vignettes/vignette_images/HydeNetPlots4.jpeg
HydeNet/vignettes/vignette_images/WorkingWithHydeNetObjects1.jpeg
HydeNet/vignettes/WorkingWithHydeNetObjects.Rmd
HydeNet/vignettes/GettingStartedWithHydeNet.Rmd
HydeNet/vignettes/HydeNetPlots.Rmd
HydeNet/vignettes/DecisionNetworks.Rmd
HydeNet/README.md
HydeNet/MD5
HydeNet/build
HydeNet/build/vignette.rds
HydeNet/DESCRIPTION
HydeNet/man
HydeNet/man/setPolicyValues.Rd HydeNet/man/SE.cpt.Rd HydeNet/man/TranslateFormula.Rd HydeNet/man/BlackJack.Rd HydeNet/man/compileJagsModel.Rd HydeNet/man/chain.Rd HydeNet/man/print.HydePosterior.Rd HydeNet/man/writeJagsFormula.Rd HydeNet/man/plot.HydeNetwork.Rd HydeNet/man/BlackJackTrain.Rd HydeNet/man/vectorProbs.Rd HydeNet/man/setDecisionNodes.Rd HydeNet/man/writeNetworkModel.Rd HydeNet/man/modelToNode.Rd HydeNet/man/Resolution.cpt.Rd HydeNet/man/Hyde-package.Rd HydeNet/man/writeJagsModel.Rd HydeNet/man/rewriteHydeFormula.Rd HydeNet/man/HydePosterior.Rd HydeNet/man/cpt.Rd HydeNet/man/factorRegex.Rd HydeNet/man/print.cpt.Rd HydeNet/man/print.HydeNetwork.Rd HydeNet/man/setNodeModels.Rd HydeNet/man/BJDealer.Rd HydeNet/man/PE.Rd HydeNet/man/policyMatrix.Rd HydeNet/man/HydeNetSummaries.Rd HydeNet/man/expectedVariables.Rd HydeNet/man/jagsDists.Rd HydeNet/man/factorFormula.Rd HydeNet/man/HydeUtilities.Rd HydeNet/man/inputCPTExample.Rd HydeNet/man/jagsFunctions.Rd HydeNet/man/update.HydeNetwork.Rd HydeNet/man/HydeNetwork.Rd HydeNet/man/setNode.Rd HydeNet/man/mergeDefaultPlotOpts.Rd HydeNet/man/bindPosterior.Rd HydeNet/man/compileDecisionModel.Rd
HydeNet/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.