All Projects → ecmerkle → Blavaan

ecmerkle / Blavaan

An R package for Bayesian structural equation modeling

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Blavaan

Scikit Stan
A high-level Bayesian analysis API written in Python
Stars: ✭ 22 (-56.86%)
Mutual labels:  bayesian-statistics
Rcppexamples
Examples of using Rcpp to interface R and C++
Stars: ✭ 33 (-35.29%)
Mutual labels:  cran
Fpp3 Package
All data sets required for the examples and exercises in the book "Forecasting: principles and practice" (3rd ed, 2020) by Rob J Hyndman and George Athanasopoulos <http://OTexts.org/fpp3/>. All packages required to run the examples are also loaded.
Stars: ✭ 43 (-15.69%)
Mutual labels:  cran
Stream
A framework for data stream modeling and associated data mining tasks such as clustering and classification. - R Package
Stars: ✭ 23 (-54.9%)
Mutual labels:  cran
Covid19model
Code for modelling estimated deaths and cases for COVID19.
Stars: ✭ 913 (+1690.2%)
Mutual labels:  bayesian-statistics
Paralleldist
R Package: Parallel Distance Matrix Computation using Multiple Threads
Stars: ✭ 37 (-27.45%)
Mutual labels:  cran
Rhat ess
Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC
Stars: ✭ 19 (-62.75%)
Mutual labels:  bayesian-statistics
Seurat
R toolkit for single cell genomics
Stars: ✭ 1,053 (+1964.71%)
Mutual labels:  cran
Onnx R
R Interface to Open Neural Network Exchange (ONNX)
Stars: ✭ 31 (-39.22%)
Mutual labels:  cran
Intrval
Relational Operators for Intervals
Stars: ✭ 41 (-19.61%)
Mutual labels:  cran
Resources
PyMC3 educational resources
Stars: ✭ 930 (+1723.53%)
Mutual labels:  bayesian-statistics
Ggrepel
📍 Repel overlapping text labels away from each other.
Stars: ✭ 853 (+1572.55%)
Mutual labels:  cran
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-25.49%)
Mutual labels:  cran
Thinkbayes2
Text and code for the forthcoming second edition of Think Bayes, by Allen Downey.
Stars: ✭ 918 (+1700%)
Mutual labels:  bayesian-statistics
Liger
Lightweight Iterative Gene set Enrichment in R
Stars: ✭ 44 (-13.73%)
Mutual labels:  cran
Bgdata
A Suite of Packages for Analysis of Big Genomic Data
Stars: ✭ 19 (-62.75%)
Mutual labels:  cran
Autoppl
C++ template library for probabilistic programming
Stars: ✭ 34 (-33.33%)
Mutual labels:  bayesian-statistics
Hoff Bayesian Statistics
R Markdown notes for Peter D. Hoff, "A First Course in Bayesian Statistical Methods"
Stars: ✭ 51 (+0%)
Mutual labels:  bayesian-statistics
Labelled
Manipulating labelled vectors in R
Stars: ✭ 45 (-11.76%)
Mutual labels:  cran
Nanotime
Nanosecond Resolution Time Functionality for R
Stars: ✭ 39 (-23.53%)
Mutual labels:  cran

blavaan

R build status

blavaan is a free, open source R package for Bayesian latent variable analysis. It relies on JAGS and Stan to estimate models via MCMC.

The blavaan functions and syntax are similar to lavaan. For example, consider the Political Democracy example from Bollen (1989):

library(blavaan)

model <- '
   # latent variable definitions
     ind60 =~ x1 + x2 + x3
     dem60 =~ y1 + y2 + y3 + y4
     dem65 =~ y5 + y6 + y7 + y8
   # regressions
     dem60 ~ ind60
     dem65 ~ ind60 + dem60
   # residual covariances
     y1 ~~ y5
     y2 ~~ y4 + y6
     y3 ~~ y7
     y4 ~~ y8
     y6 ~~ y8
'
fit <- bsem(model, data = PoliticalDemocracy)
summary(fit)

The development version of blavaan (containing updates not yet on CRAN) can be installed via the command below. Compilation is required; this may be a problem for users who currently rely on a binary version of blavaan from CRAN.

remotes::install_github("ecmerkle/blavaan", INSTALL_opts = "--no-multiarch")

For further information, see:

Merkle, E. C., Fitzsimmons, E., Uanhoro, J., & Goodrich, B. (in press). Efficient Bayesian structural equation modeling in Stan. Journal of Statistical Software.

Merkle, E. C., & Rosseel, Y. (2018). blavaan: Bayesian structural equation models via parameter expansion. Journal of Statistical Software, 85(4), 1–30.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].