Package: BEND 2.1.0

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.1.0.tar.gz
BEND_2.1.0.zip(r-4.7)BEND_2.1.0.zip(r-4.6)BEND_2.1.0.zip(r-4.5)
BEND_2.1.0.tgz(r-4.6-any)BEND_2.1.0.tgz(r-4.5-any)
BEND_2.1.0.tar.gz(r-4.7-any)BEND_2.1.0.tar.gz(r-4.6-any)
BEND_2.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
BEND/json (API)

# Install 'BEND' in R:
install.packages('BEND', repos = c('https://crohlo.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

3.48 score 474 downloads 12 exports 6 dependencies

Last updated from:5d09f5c80b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK119
source / vignettesOK151
linux-release-x86_64OK110
macos-release-arm64OK77
macos-oldrel-arm64OK81
windows-develOK64
windows-releaseOK75
windows-oldrelOK72
wasm-releaseOK90

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.BEND print.getCoef
Extract fitted valuesgetFitted getFitted.BEND print.getFitted
Extract fixed effects parameter estimatesgetFixEf getFixEf.BPREM getFixEf.CREM getFixEf.PREM print.getFixEf.BEND
Extract changepoint probabilitiesgetKProb getKProb.PREM print.getKProb.PREM
Extract model fitgetModelFit getModelFit.BEND print.getModelFit.BEND
Extract random effectsgetRanEf getRanEf.BPREM getRanEf.CREM print.getRanEf.BPREM print.getRanEf.CREM
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