fisherscoring: Fisher scoring for RVB2

Description Usage Arguments Value

View source: R/fisherscoring.R

Description

Fisher scoring for RVB2

Usage

1
fisherscoring(etahati, Zyi, Zi, Zti, Xibeta, Omega, model, mi)

Arguments

etahati

Vector. MLE under the regularized model from RVB1

Zyi

Numeric or vector. Zi^T yi

Zi

Vector. Covariates for local variables

Zti

Vector. Output from transformZi

Xibeta

Vector. Xi^T beta

Omega

Matrix. Local variable prior precision matrix

model

Character. Either "poisson" or "binomial"

mi

Numeric. Number of trials if binomial

Value

A numeric or vector representing the mode of the conditional posterior density of the local variables bi given the global variables and data.


hrnasif/rvb documentation built on Dec. 20, 2021, 4:49 p.m.