MyNixOS website logo
Description

Robust Bayesian Longitudinal Regularized Semiparametric Mixed Models.

Our recently developed fully robust Bayesian semiparametric mixed-effect model for high-dimensional longitudinal studies with heterogeneous observations can be implemented through this package. This model can distinguish between time-varying interactions and constant-effect-only cases to avoid model misspecifications. Facilitated by spike-and-slab priors, this model leads to superior performance in estimation, identification and statistical inference. In particular, robust Bayesian inferences in terms of valid Bayesian credible intervals on both parametric and nonparametric effects can be validated on finite samples. The Markov chain Monte Carlo algorithms of the proposed and alternative models are efficiently implemented in 'C++'.

Blend

Robust Bayesian Longitudinal Regularized Semiparametric Mixed Models

CRAN CRAN RStudio mirrordownloads CRAN RStudio mirrordownloads

Our recently developed fully robust Bayesian semiparametric mixed-effect model for high-dimensional longitudinal studies with heterogeneous observations can be implemented through this package. This model can distinguish between time-varying interactions and constant-effect-only cases to avoid model misspecifications. Facilitated by spike-and-slab priors, this model leads to superior performance in estimation, identification and statistical inference. In particular, robust Bayesian inferences in terms of valid Bayesian credible intervals on both parametric and nonparametric effects can be validated on finite samples. The Markov chain Monte Carlo algorithms of the proposed and alternative models are efficiently implemented in 'C++'.

How to install

  • To install from github, run these two lines of code in R
install.packages("devtools")
devtools::install_github("kunfa/Blend")
  • Released versions of Blend are available on CRAN (link), and can be installed within R via
install.packages("Blend")

Examples

Example.1 (default method)

library(Blend)
data(dat)

fit = Blend(y,x,t,J,kn,degree) 
fit$coefficient 
Coverage(fit)
plot_Blend(fit,sparse=TRUE)

Example.2 (alternative: robust non-structural)

fit = Blend(y,x,t,J,kn,degree,structural=FALSE) 

Example.3 (alternative: non-robust structural)

fit = Blend(y,x,t,J,kn,degree, robust=FALSE)

Example.4 (alternative: non-robust non-structural)

fit = Blend(y,x,t,J,kn,degree, robust=FALSE, structural=FALSE) 

News

Blend 0.1.2 [2026-02-16]

  • Minor updates.

Blend 0.1.1.1 [2025-01-29]

  • Updated README file.

Blend 0.1.1 [2025-01-21]

  • Fixed minor bugs.

Methods

This package provides implementation for methods proposed in

-Fan, K., Ren, J., Ma, Shuangge and Wu, C. (2025+). Robust Bayesian variable selection and inference under misspecified nonparametric mixed models in longitudinal studies. (submitted)

Metadata

Version

0.1.2

License

Unknown

Platforms (79)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    wasip1
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasip1
  • wasm64-wasip1
  • x86_64-cygwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows