R/tempcode.R

Defines functions br.fit.GLM.gd

# ============================================================================================================================
# Simple gradient descent fitting of generalized linear models
#[b, b0, L, gradb, gradb0] = br_FitGLMGD(X, y, model, xi, tau2, maxiter)
br.fit.GLM.gd <- function(df, model, xi, tau2, max.iter = 5e2)
{
  px = ncol(df) - 1
  py = nrow(df)
  theta = matrix(nrow = px+1, ncol = 1)
}

Try the bayesreg package in your browser

Any scripts or data that you put into this service are public.

bayesreg documentation built on March 29, 2021, 9:11 a.m.