Learn R Programming

LRQVB (version 1.0.0)

lr_qvb_local: Local Low Rank Correction Quantile VB

Description

A variational Bayesian algorithm is proposed for multi-source heterogeneous quantile models under the Spike-and-Slab prior, and focuses on variable selection exclusively for the homogeneous covariates.

Usage

lr_qvb_local(X, Z, y, tau, eps = 0.001)

Value

The mean of the homogeneous coefficient:mu; Low-rank correction of homogeneous coefficients:lr_mu; The variance of homogeneous coefficient:sigma; Selection coefficient:rho; The mean of the heterogeneous coefficient:beta; The variance of heterogeneous coefficient:sigma_beta.

Arguments

X

Homogeneous covariates

Z

Heterogeneous covariates

y

Response covariates

tau

Quantile Levels

eps

Algorithm convergence tolerance, Default:1e-3