HydeNet: Hybrid Bayesian Networks Using R and JAGS
Version 0.10.5

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.

Browse man pages Browse package API and functions Browse package files

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
URL https://github.com/nutterb/HydeNet
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("HydeNet")

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

Functions

BJDealer Man page
BlackJack Man page
BlackJackTrain Man page
Hyde Man page
Hyde-package Man page
HydeNetSummaries Man page
HydeNet_defaultPolicyValues Source code
HydeNetwork Man page Source code
HydeNetwork.formula Man page Source code
HydeNetwork.list Man page Source code
HydeNetwork_fromData Source code
HydeNetwork_nodeFitter Source code
HydeNetwork_nodeFormula Source code
HydeNetwork_nodeParams Source code
HydeNetwork_nodeType Source code
HydeNetwork_parents Source code
HydePlotOptions Man page Source code
HydePosterior Man page Source code
HydeUtilities Man page
PE Man page
Resolution.cpt Man page
SE.cpt Man page
TranslateFormula Man page
\%$\% Man page
\%>\% Man page
bindPosterior Man page Source code
bind_chains_list Source code
bind_chains_mcmclist Source code
compileDecisionModel Man page Source code
compileJagsModel Man page Source code
convertLabelToValue Source code
cpt Man page Source code
cpt.formula Man page Source code
cpt.list Man page Source code
cpt_workhorse Source code
customNode Man page Source code
dataframeFactors Man page Source code
decisionOptions Man page Source code
decision_node_summary Source code
defaultPolicyMatrix Man page Source code
determ_parent Source code
expectedParameters Man page Source code
expectedVariables Man page Source code
extractFactors Source code
factorFormula Man page Source code
factorRegex Man page Source code
factor_reference Man page Source code
fromData Man page Source code
fromFormula Man page Source code
getNumericLevel Source code
inputCPT Man page Source code
inputCPT.formula Man page Source code
inputCPT.list Man page Source code
inputCPTExample Man page
inputCPT_workhorse Source code
isolateVariableFromLabel Source code
jagsDists Man page
jagsFunctions Man page
makeCptArrays Source code
makeFactorRef Man page Source code
makeJagsReady Man page Source code
makePolicyMatrix Source code
mapEdges Man page Source code
matchLevelNumber Man page Source code
matchVars Man page Source code
mergeCustomEdges Man page Source code
mergeCustomNodes Man page Source code
mergeDefaultPlotOpts Man page Source code
modelToNode Man page Source code
modelToNode.cpt Man page Source code
modelToNode.default Man page Source code
modelToNode.glm Man page Source code
modelToNode.lm Man page Source code
modelToNode.multinom Man page Source code
modelToNode.survreg Man page Source code
modelToNode.xtabs Man page Source code
nodeFitter_is_glm Source code
nodeFromFunction Man page Source code
non_determ_parents_form Source code
onLoad Source code
onUnload Source code
parent_type Source code
plot.HydeNetwork Man page Source code
plotHydeNetwork Man page
plot_nondeterm_only Source code
policyMatrix Man page Source code
policyMatrixValues Man page Source code
polyToPow Man page Source code
print.HydeNetwork Man page Source code
print.HydePosterior Man page Source code
print.cpt Man page Source code
rToJags Man page Source code
random_node_summary Source code
rewriteFormula Source code
rewriteHydeFormula Man page Source code
runJagsDecisionModel Source code
setDecisionNodes Man page Source code
setNode Man page Source code
setNodeModels Man page Source code
setPolicyValues Man page Source code
setUtilityNodes Man page Source code
summarise_node_name Source code
summarise_parents Source code
summarise_policy Source code
summarise_type Source code
summary.HydeNetwork Man page Source code
survreg_data Source code
survreg_tau Source code
termName Man page Source code
update.HydeNetwork Man page Source code
utility_node_summary Source code
validateParameters Man page Source code
vectorProbs Man page Source code
writeJagsFormula Man page Source code
writeJagsFormula.cpt Man page Source code
writeJagsFormula.glm Man page Source code
writeJagsFormula.lm Man page Source code
writeJagsFormula.multinom Man page Source code
writeJagsFormula.survreg Man page Source code
writeJagsFormula.xtabs Man page Source code
writeJagsModel Man page Source code
writeJagsModel_dbern Man page Source code
writeJagsModel_dcat Man page Source code
writeJagsModel_default Man page Source code
writeJagsModel_determ Man page Source code
writeJagsModel_dnorm Man page Source code
writeJagsModel_dnorm_default Man page Source code
writeJagsModel_dnorm_survreg Source code
writeJagsModel_dpois Man page Source code
writeNetworkModel Man page Source code

Files

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