fn.grads: Computes the gradients in the linear regression MCMC

Description Usage Arguments

View source: R/fn_grads.R

Description

Computes the gradients in the linear regression MCMC

Usage

1
fn.grads(y, X, l1obs, s1obs, fn.psi = fn.psi.huber, fn.chi = fn.chi.prop2)

Arguments

y

numeric vector of responses

X

design Matrix

l1obs, s1obs

observed value of slope and scale statistics

fn.psi

psi function for M-estimation

fn.chi

chi function for M-estimation


jrlewi/brlm documentation built on March 17, 2021, 1:10 a.m.