update_tau_R: Tau update function

View source: R/update_tau_R.R

update_tau_RR Documentation

Tau update function

Description

update_tau_R updates the precision parameter tau

Usage

update_tau_R(r, tau, sd_y, max_iter = 100, tol = 1e-10)

Arguments

r

Residual vector

tau

Current estimate for tau

sd_y

Standard deviation of y

max_iter

Maximum number of iterations

tol

Relative tolerance

Value

Returns a list object containing the new estimate for tau (scalar) and the number of iterations (scalar) the update step utilized


jocelynchi/L2E-package-demo documentation built on Oct. 6, 2022, 6:05 a.m.