Package: BEND 2.0.1

Corissa T. Rohloff

BEND: Bayesian Estimation of Nonlinear Data (BEND)

Provides a set of models to estimate nonlinear longitudinal data using Bayesian estimation methods. These models include the: 1) Bayesian Piecewise Random Effects Model (Bayes_PREM()) which estimates a piecewise random effects (mixture) model for a given number of latent classes and a latent number of possible changepoints in each class, and can incorporate class and outcome predictive covariates (see Lamm (2022) <https://hdl.handle.net/11299/252533> and Lock et al., (2018) <doi:10.1007/s11336-017-9594-5>), 2) Bayesian Crossed Random Effects Model (Bayes_CREM()) which estimates a linear, quadratic, exponential, or piecewise crossed random effects models where individuals are changing groups over time (e.g., students and schools; see Rohloff et al., (2024) <doi:10.1111/bmsp.12334>), and 3) Bayesian Bivariate Piecewise Random Effects Model (Bayes_BPREM()) which estimates a bivariate piecewise random effects model to jointly model two related outcomes (e.g., reading and math achievement; see Peralta et al., (2022) <doi:10.1037/met0000358>).

Authors:Corissa T. Rohloff [aut, cre], Rik Lamm [aut], Yadira Peralta [aut], Nidhi Kohli [aut], Eric F. Lock [aut]

BEND_2.0.1.tar.gz
BEND_2.0.1.tar.gz(r-4.7-any)BEND_2.0.1.tar.gz(r-4.6-any)
BEND_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BEND/json (API)
NEWS

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

Bug tracker:https://github.com/crohlo/bend/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

jagscpp

2.18 score 481 downloads 12 exports 6 dependencies

Last updated from:3189554fa9. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK105
source / vignettesOK152
linux-release-x86_64OK100
wasm-releaseOK105

Exports:Bayes_BPREMBayes_CREMBayes_PREMgetClassProbgetCoefgetFittedgetFixEfgetKProbgetModelFitgetRanEfgetVarCovplot_BEND

Dependencies:codacombinatlabel.switchinglatticelpSolverjags

Readme and manuals

Help Manual

Help pageTopics
Bayesian Bivariate Piecewise Random Effects Model (BPREM)Bayes_BPREM
Bayesian Crossed Random Effects Model (CREM)Bayes_CREM
Bayesian Piecewise Random Effects Model (PREM) + ExtensionsBayes_PREM
Extract class probabilitiesgetClassProb getClassProb.PREM print.getClassProb.PREM
Extract random coefficientsgetCoef getCoef.BPREM getCoef.CREM getCoef.PREM print.getCoef
Extract fitted valuesgetFitted getFitted.BPREM getFitted.CREM getFitted.PREM print.getFitted
Extract fixed effects parameter estimatesgetFixEf getFixEf.BPREM getFixEf.CREM getFixEf.PREM print.getFixEf
Extract changepoint probabilitiesgetKProb getKProb.PREM print.getKProb.PREM
Extract model fitgetModelFit getModelFit.BPREM getModelFit.CREM getModelFit.PREM print.getModelFit
Extract random effectsgetRanEf getRanEf.BPREM getRanEf.CREM print.getRanEf
Extract random effects variance-covariance matrixgetVarCov getVarCov.BPREM getVarCov.CREM getVarCov.PREM print.getVarCov.BPREM print.getVarCov.CREM print.getVarCov.PREM
Plot a BEND Model (PREM, CREM, BPREM)plot_BEND
Plot the results of a bivariate piecewise random effects model (BPREM)plot.BPREM
Plot the results of a crossed random effects model (CREM)plot.CREM
Plot the results of a piecewise random effects model (PREM)plot.PREM
Print the results of a bivariate piecewise random effects model (BPREM)print.BPREM
Print the results of a crossed random effects model (CREM)print.CREM
Print the results of a piecewise random effects model (PREM)print.PREM
Fitted results for a BPREMresults_bprem
Fitted results for a PCREMresults_pcrem
Fitted results for a PREMresults_prem
Simulated data for a BPREMSimData_BPREM
Simulated data for a PCREMSimData_PCREM
Simulated data for a PREM + ExtensionsSimData_PREM
Summarize the results of a bivariate piecewise random effects model (BPREM)print.summary.BPREM summary.BPREM
Summarize the results of a crossed random effects model (CREM)print.summary.CREM summary.CREM
Summarize the results of a piecewise random effects model (PREM)print.summary.PREM summary.PREM