Learn R Programming

⚠️There's a newer version (2.1.6) of this package.Take me there.

BGGM (version 2.1.1)

Bayesian Gaussian Graphical Models

Description

Fit Bayesian Gaussian graphical models. The methods are separated into two Bayesian approaches for inference: hypothesis testing and estimation. There are extensions for confirmatory hypothesis testing, comparing Gaussian graphical models, and node wise predictability. These methods were recently introduced in the Gaussian graphical model literature, including Williams (2019) , Williams and Mulder (2019) , Williams, Rast, Pericchi, and Mulder (2019) .

Copy Link

Version

Install

install.packages('BGGM')

Monthly Downloads

12,621

Version

2.1.1

License

GPL-2

Maintainer

Philippe Rast

Last Published

February 23rd, 2024

Functions in BGGM (2.1.1)

asd_ocd

Data: Autism and Obssesive Compulsive Disorder
bggm_missing

GGM: Missing Data
convergence

MCMC Convergence
BGGM-package

BGGM: Bayesian Gaussian Graphical Models
coef.estimate

Compute Regression Parameters for estimate Objects
constrained_posterior

Constrained Posterior Distribution
coef.explore

Compute Regression Parameters for explore Objects
confirm

GGM: Confirmatory Hypothesis Testing
Sachs

Data: Sachs Network
bfi

Data: 25 Personality items representing 5 factors
csws

Data: Contingencies of Self-Worth Scale (CSWS)
fisher_r_to_z

Fisher Z Transformation
ggm_compare_confirm

GGM Compare: Confirmatory Hypothesis Testing
gen_net

Simulate a Partial Correlation Matrix
depression_anxiety_t1

Data: Depression and Anxiety (Time 1)
fisher_z_to_r

Fisher Z Back Transformation
gen_ordinal

Generate Ordinal and Binary data
estimate

GGM: Estimation
explore

GGM: Exploratory Hypothesis Testing
depression_anxiety_t2

Data: Depression and Anxiety (Time 2)
ifit

Data: ifit Intensive Longitudinal Data
ggm_compare_estimate

GGM Compare: Estimate
pcor_sum

Partial Correlation Sum
impute_data

Obtain Imputed Datasets
ggm_compare_explore

GGM Compare: Exploratory Hypothesis Testing
gss

Data: 1994 General Social Survey
map

Maximum A Posteriori Precision Matrix
pcor_mat

Extract the Partial Correlation Matrix
ggm_compare_ppc

GGM Compare: Posterior Predictive Check
iri

Data: Interpersonal Reactivity Index (IRI)
pcor_to_cor

Compute Correlations from the Partial Correlations
plot.pcor_sum

Plot pcor_sum Object
plot.select

Network Plot for select Objects
plot.summary.ggm_compare_estimate

Plot summary.ggm_compare_estimate Objects
plot.summary.estimate

Plot summary.estimate Objects
plot.summary.explore

Plot summary.explore Objects
plot.confirm

Plot confirm objects
plot.ggm_compare_ppc

Plot ggm_compare_ppc Objects
plot.predictability

Plot predictability Objects
plot.roll_your_own

Plot roll_your_own Objects
plot.summary.var_estimate

Plot summary.var_estimate Objects
predict.explore

Model Predictions for explore Objects
posterior_samples

Extract Posterior Samples
plot_prior

Plot: Prior Distribution
predict.estimate

Model Predictions for estimate Objects
precision

Precision Matrix Posterior Distribution
posterior_predict

Posterior Predictive Distribution
predict.var_estimate

Model Predictions for var_estimate Objects
predictability

Predictability: Bayesian Variance Explained (R2)
predicted_probability

Predicted Probabilities
plot.summary.select.explore

Plot summary.select.explore Objects
plot.summary.ggm_compare_explore

Plot summary.ggm_compare_explore Objects
prior_belief_ggm

Prior Belief Gaussian Graphical Model
print.BGGM

Print method for BGGM objects
ptsd_cor4

Data: Post-Traumatic Stress Disorder (Sample # 4)
ptsd_cor2

Data: Post-Traumatic Stress Disorder (Sample # 2)
ptsd_cor1

Data: Post-Traumatic Stress Disorder (Sample # 1)
ptsd_cor3

Data: Post-Traumatic Stress Disorder (Sample # 3)
prior_belief_var

Prior Belief Graphical VAR
ptsd

Data: Post-Traumatic Stress Disorder
regression_summary

Summarary Method for Multivariate or Univarate Regression
roll_your_own

Compute Custom Network Statistics
summary.coef

Summarize coef Objects
select.var_estimate

Graph Selection for var.estimate Object
tas

Data: Toronto Alexithymia Scale (TAS)
select.ggm_compare_estimate

Graph Selection for ggm_compare_estimate Objects
var_estimate

VAR: Estimation
summary.predictability

Summary Method for predictability Objects
summary.var_estimate

Summary Method for var_estimate Objects
select.ggm_compare_explore

Graph selection for ggm_compare_explore Objects
select.explore

Graph selection for explore Objects
weighted_adj_mat

Extract the Weighted Adjacency Matrix
select.estimate

Graph Selection for estimate Objects
zero_order_cors

Zero-Order Correlations
women_math

Data: Women and Mathematics
summary.select.explore

Summary Method for select.explore Objects
summary.explore

Summary Method for explore.default Objects
summary.estimate

Summary method for estimate.default objects
summary.ggm_compare_explore

Summary Method for ggm_compare_explore Objects
rsa

Data: Resilience Scale of Adults (RSA)
select

S3 select method
summary.ggm_compare_estimate

Summary method for ggm_compare_estimate objects